mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Remove user from process_presence when stops syncing
This commit is contained in:
parent
31e0fe9031
commit
63fcc42990
@ -546,6 +546,7 @@ class PresenceHandler(object):
|
|||||||
updates.append(prev_state.copy_and_replace(
|
updates.append(prev_state.copy_and_replace(
|
||||||
last_user_sync_ts=time_now_ms,
|
last_user_sync_ts=time_now_ms,
|
||||||
))
|
))
|
||||||
|
process_presence.discard(user_id)
|
||||||
|
|
||||||
if updates:
|
if updates:
|
||||||
yield self._update_states(updates)
|
yield self._update_states(updates)
|
||||||
|
Loading…
Reference in New Issue
Block a user