diff options
author | David Baker <dave@matrix.org> | 2016-01-04 13:39:51 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-01-04 13:39:51 +0000 |
commit | 928c575c6f0920810751957dcf0a7bfdd5d855f2 (patch) | |
tree | 05addd9237604902e9450f5e3583fd9cbe268276 /synapse/notifier.py | |
parent | Address minor PR issues (diff) | |
parent | Update CHANGES (diff) | |
download | synapse-928c575c6f0920810751957dcf0a7bfdd5d855f2.tar.xz |
Merge remote-tracking branch 'origin/develop' into store_event_actions
Diffstat (limited to 'synapse/notifier.py')
-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: |