diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-05-26 15:03:49 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-05-26 15:03:49 +0100 |
commit | 554c63ca604f3b8e9a3e8cde143eb319bf750c00 (patch) | |
tree | 8617064c1fa14bc6bc927bd2b9285586c64d0750 /synapse | |
parent | Merge branch 'bugs/SYN-390' into release-v0.9.1 (diff) | |
download | synapse-554c63ca604f3b8e9a3e8cde143eb319bf750c00.tar.xz |
Iterate over the user_streams not the user_ids
Diffstat (limited to '')
-rw-r--r-- | synapse/notifier.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/notifier.py b/synapse/notifier.py index 4f47f88df8..078abfc56d 100644 --- a/synapse/notifier.py +++ b/synapse/notifier.py @@ -153,7 +153,7 @@ class Notifier(object): for x in self.room_to_user_streams.values(): all_user_streams |= x - for x in self.user_to_user_stream: + for x in self.user_to_user_stream.values(): all_user_streams.add(x) for x in self.appservice_to_user_streams.values(): all_user_streams |= x |