'continue' to go to the next item in a for loop, not 'break'

This commit is contained in:
Paul "LeoNerd" Evans 2014-09-02 11:15:46 +01:00
parent 10e7821461
commit 7b56a7a3cb

View File

@ -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"]