From 5e0c533672f63990f7fdcf0b2c3cce15c3682d78 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Wed, 13 May 2015 17:20:28 +0100 Subject: [PATCH] Fix metric counter --- synapse/notifier.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synapse/notifier.py b/synapse/notifier.py index 344dd0317..1f7f0a143 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