diff options
author | H. Shay <hillerys@element.io> | 2023-03-06 12:48:59 -0800 |
---|---|---|
committer | H. Shay <hillerys@element.io> | 2023-03-06 12:48:59 -0800 |
commit | 7fc487421f19d8841c36481701655bc31bfcd79f (patch) | |
tree | e5c4e634fa957a561675156c868c561c36a71d66 /synapse/handlers/presence.py | |
parent | add clearer return values (diff) | |
parent | Pass the requester during event serialization. (#15174) (diff) | |
download | synapse-7fc487421f19d8841c36481701655bc31bfcd79f.tar.xz |
Merge branch 'develop' into shay/rework_module
Diffstat (limited to 'synapse/handlers/presence.py')
-rw-r--r-- | synapse/handlers/presence.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py index 87af31aa27..4ad2233573 100644 --- a/synapse/handlers/presence.py +++ b/synapse/handlers/presence.py @@ -777,7 +777,6 @@ class PresenceHandler(BasePresenceHandler): ) if self.unpersisted_users_changes: - await self.store.update_presence( [ self.user_to_current_state[user_id] @@ -823,7 +822,6 @@ class PresenceHandler(BasePresenceHandler): now = self.clock.time_msec() with Measure(self.clock, "presence_update_states"): - # NOTE: We purposefully don't await between now and when we've # calculated what we want to do with the new states, to avoid races. |