mirror of
https://github.com/element-hq/synapse
synced 2024-08-19 23:10:20 +00:00
'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)
|
||||
|
||||
if not observers and not room_ids:
|
||||
break
|
||||
continue
|
||||
|
||||
state = dict(push)
|
||||
del state["user_id"]
|
||||
|
|
Loading…
Reference in a new issue