summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-06-22 14:42:39 +0100
committerErik Johnston <erik@matrix.org>2017-06-22 14:42:39 +0100
commit2d520a9826c4a49a1e09861f69e3e4dfdc34342e (patch)
tree6398e29b33cd49ff06104d9a3096ce4741df44a0 /synapse
parentFix thinko in unhandled user spam (diff)
downloadsynapse-2d520a9826c4a49a1e09861f69e3e4dfdc34342e.tar.xz
Typo. ARGH.
Diffstat (limited to 'synapse')
-rw-r--r--synapse/handlers/user_directory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/user_directory.py b/synapse/handlers/user_directory.py
index 9f0d3499e8..8daa09e82e 100644
--- a/synapse/handlers/user_directory.py
+++ b/synapse/handlers/user_directory.py
@@ -189,7 +189,7 @@ class UserDirectoyHandler(object):
                 room_id,
                 user_ids=user_ids - self.initially_handled_users_in_public
             )
-            self.initially_handled_users_in_public != user_ids
+            self.initially_handled_users_in_public |= user_ids
 
         # We now go and figure out the new users who share rooms with user entries
         # We sleep aggressively here as otherwise it can starve resources.