'continue' to go to the next item in a for loop, not 'break'
This commit is contained in:
parent
10e7821461
commit
7b56a7a3cb
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue