diff options
author | Erik Johnston <erik@matrix.org> | 2017-02-02 13:07:18 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-02-02 13:07:18 +0000 |
commit | 54a79c1d374f09049d3eb8ac531bca45d68b5f2b (patch) | |
tree | aea0e62e9e7f061b8ecc149e123c3f92881cd7c9 /synapse/notifier.py | |
parent | Merge pull request #1872 from matrix-org/erikj/key_changes (diff) | |
download | synapse-54a79c1d374f09049d3eb8ac531bca45d68b5f2b.tar.xz |
Make presence.get_new_events a bit faster
We do this by caching the set of users a user shares rooms with.
Diffstat (limited to 'synapse/notifier.py')
-rw-r--r-- | synapse/notifier.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/notifier.py b/synapse/notifier.py index acbd4bb5ae..8051a7a842 100644 --- a/synapse/notifier.py +++ b/synapse/notifier.py @@ -378,6 +378,7 @@ class Notifier(object): limit=limit, is_guest=is_peeking, room_ids=room_ids, + explicit_room_id=explicit_room_id, ) if name == "room": |