mirror of
https://mau.dev/maunium/synapse.git
synced 2024-09-27 20:19:03 +02:00
1bf143699c
Simplify some of the presence code by reducing duplicated code between worker & non-worker modes. The main change is to push some of the logic from `user_syncing` into `set_state`. This is done by passing whether the user is setting the presence via a `/sync` with a new `is_sync` flag to `set_state`. If this is `true` some additional logic is performed: * Don't override `busy` presence. * Update the `last_user_sync_ts`. * Never update the status message. |
||
---|---|---|
.. | ||
.gitignore | ||
15816.feature | ||
16008.doc | ||
16099.misc | ||
16113.feature | ||
16121.misc | ||
16136.feature | ||
16168.doc | ||
16170.misc | ||
16178.doc | ||
16179.misc | ||
16180.misc | ||
16183.misc | ||
16184.misc | ||
16185.bugfix | ||
16186.misc | ||
16201.misc |