mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-09-06 23:02:07 +00:00
Missing yield on guest access auth check
Needs matrix-org/sytest#125 to land first
This commit is contained in:
parent
7df276d219
commit
f3948e001f
@ -349,7 +349,7 @@ class Notifier(object):
|
|||||||
room_ids = []
|
room_ids = []
|
||||||
if is_guest:
|
if is_guest:
|
||||||
if guest_room_id:
|
if guest_room_id:
|
||||||
if not self._is_world_readable(guest_room_id):
|
if not (yield self._is_world_readable(guest_room_id)):
|
||||||
raise AuthError(403, "Guest access not allowed")
|
raise AuthError(403, "Guest access not allowed")
|
||||||
room_ids = [guest_room_id]
|
room_ids = [guest_room_id]
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user