summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-05-13 17:20:28 +0100
committerMark Haines <mark.haines@matrix.org>2015-05-13 17:20:28 +0100
commit5e0c533672f63990f7fdcf0b2c3cce15c3682d78 (patch)
treedd6bf586146686e0038dd4e15d062d0af5068345 /synapse
parentDiscard unused NotifierUserStreams (diff)
downloadsynapse-5e0c533672f63990f7fdcf0b2c3cce15c3682d78.tar.xz
Fix metric counter
Diffstat (limited to '')
-rw-r--r--synapse/notifier.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/notifier.py b/synapse/notifier.py
index 344dd03172..1f7f0a143f 100644
--- a/synapse/notifier.py
+++ b/synapse/notifier.py
@@ -145,8 +145,8 @@ class Notifier(object):
 
             for x in self.room_to_user_streams.values():
                 all_user_streams |= x
-            for x in self.user_to_user_streams.values():
-                all_user_streams |= x
+            for x in self.user_to_user_stream:
+                all_user_streams.add(x)
             for x in self.appservice_to_user_streams.values():
                 all_user_streams |= x