Skip to content
Snippets Groups Projects
Commit f3948e00 authored by Mark Haines's avatar Mark Haines Committed by review.rocks
Browse files

Missing yield on guest access auth check

Needs matrix-org/sytest#125 to land first
parent 7df276d2
No related branches found
No related tags found
No related merge requests found
......@@ -349,7 +349,7 @@ class Notifier(object):
room_ids = []
if is_guest:
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")
room_ids = [guest_room_id]
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment