From 554c63ca604f3b8e9a3e8cde143eb319bf750c00 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Tue, 26 May 2015 15:03:49 +0100 Subject: Iterate over the user_streams not the user_ids --- synapse/notifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synapse') 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 -- cgit 1.4.1