diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-05-13 17:20:28 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-05-13 17:20:28 +0100 |
commit | 5e0c533672f63990f7fdcf0b2c3cce15c3682d78 (patch) | |
tree | dd6bf586146686e0038dd4e15d062d0af5068345 /synapse | |
parent | Discard unused NotifierUserStreams (diff) | |
download | synapse-5e0c533672f63990f7fdcf0b2c3cce15c3682d78.tar.xz |
Fix metric counter
Diffstat (limited to '')
-rw-r--r-- | synapse/notifier.py | 4 |
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 |