mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
'continue' to go to the next item in a for loop, not 'break'
This commit is contained in:
parent
10e7821461
commit
7b56a7a3cb
@ -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 New Issue
Block a user