mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-11 12:54:19 -05: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)
|
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
Block a user