summary refs log tree commit diff
path: root/synapse/handlers/presence.py
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2014-09-02 11:15:46 +0100
committerPaul "LeoNerd" Evans <paul@matrix.org>2014-09-02 11:15:46 +0100
commit7b56a7a3cb65bb80a96ac4d9507ff0c1881f034a (patch)
tree07e5bfb97eb15b272b52b0759fe040678ac96bc8 /synapse/handlers/presence.py
parentBy default, only room ops can change the name and topic. (diff)
downloadsynapse-7b56a7a3cb65bb80a96ac4d9507ff0c1881f034a.tar.xz
'continue' to go to the next item in a for loop, not 'break'
Diffstat (limited to '')
-rw-r--r--synapse/handlers/presence.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py
index 7372a10f9b..b220970268 100644
--- a/synapse/handlers/presence.py
+++ b/synapse/handlers/presence.py
@@ -650,7 +650,7 @@ class PresenceHandler(BaseHandler):
             room_ids = yield rm_handler.get_rooms_for_user(user)
 
             if not observers and not room_ids:
-                break
+                continue
 
             state = dict(push)
             del state["user_id"]