diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-09-02 11:15:46 +0100 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-09-02 11:15:46 +0100 |
commit | 7b56a7a3cb65bb80a96ac4d9507ff0c1881f034a (patch) | |
tree | 07e5bfb97eb15b272b52b0759fe040678ac96bc8 | |
parent | By default, only room ops can change the name and topic. (diff) | |
download | synapse-7b56a7a3cb65bb80a96ac4d9507ff0c1881f034a.tar.xz |
'continue' to go to the next item in a for loop, not 'break'
-rw-r--r-- | synapse/handlers/presence.py | 2 |
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"] |