'continue' to go to the next item in a for loop, not 'break'
parent
10e7821461
commit
7b56a7a3cb
|
@ -650,7 +650,7 @@ class PresenceHandler(BaseHandler):
|
||||||
room_ids = yield rm_handler.get_rooms_for_user(user)
|
room_ids = yield rm_handler.get_rooms_for_user(user)
|
||||||
|
|
||||||
if not observers and not room_ids:
|
if not observers and not room_ids:
|
||||||
break
|
continue
|
||||||
|
|
||||||
state = dict(push)
|
state = dict(push)
|
||||||
del state["user_id"]
|
del state["user_id"]
|
||||||
|
|
Loading…
Reference in New Issue