summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-05-26 15:03:49 +0100
committerMark Haines <mark.haines@matrix.org>2015-05-26 15:03:49 +0100
commit554c63ca604f3b8e9a3e8cde143eb319bf750c00 (patch)
tree8617064c1fa14bc6bc927bd2b9285586c64d0750
parentMerge branch 'bugs/SYN-390' into release-v0.9.1 (diff)
downloadsynapse-554c63ca604f3b8e9a3e8cde143eb319bf750c00.tar.xz
Iterate over the user_streams not the user_ids
Diffstat (limited to '')
-rw-r--r--synapse/notifier.py2
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