diff options
author | Mark Haines <mjark@negativecurvature.net> | 2015-12-23 14:10:06 +0000 |
---|---|---|
committer | review.rocks <nobody@review.rocks> | 2015-12-23 14:10:06 +0000 |
commit | f3948e001f789fae953412bc59597bcd2af7727d (patch) | |
tree | 9ebec84158dbec50f72ce7219de60617d3499645 /synapse | |
parent | Merge pull request #455 from matrix-org/markjh/guest_access (diff) | |
download | synapse-f3948e001f789fae953412bc59597bcd2af7727d.tar.xz |
Missing yield on guest access auth check
Needs matrix-org/sytest#125 to land first
Diffstat (limited to '')
-rw-r--r-- | synapse/notifier.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/notifier.py b/synapse/notifier.py index e3b42e2331..fd52578325 100644 --- a/synapse/notifier.py +++ b/synapse/notifier.py @@ -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: |