From 7b56a7a3cb65bb80a96ac4d9507ff0c1881f034a Mon Sep 17 00:00:00 2001 From: "Paul \"LeoNerd\" Evans" Date: Tue, 2 Sep 2014 11:15:46 +0100 Subject: 'continue' to go to the next item in a for loop, not 'break' --- synapse/handlers/presence.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synapse/handlers/presence.py') 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"] -- cgit 1.4.1