summary refs log tree commit diff
path: root/synapse/notifier.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-01-04 13:39:51 +0000
committerDavid Baker <dave@matrix.org>2016-01-04 13:39:51 +0000
commit928c575c6f0920810751957dcf0a7bfdd5d855f2 (patch)
tree05addd9237604902e9450f5e3583fd9cbe268276 /synapse/notifier.py
parentAddress minor PR issues (diff)
parentUpdate CHANGES (diff)
downloadsynapse-928c575c6f0920810751957dcf0a7bfdd5d855f2.tar.xz
Merge remote-tracking branch 'origin/develop' into store_event_actions
Diffstat (limited to 'synapse/notifier.py')
-rw-r--r--synapse/notifier.py2
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: