summary refs log tree commit diff
path: root/synapse/handlers/directory.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-10-15 16:06:59 +0100
committerErik Johnston <erik@matrix.org>2014-10-15 16:06:59 +0100
commite7bc1291a079224315cea5c756061ad711241be1 (patch)
treeb9f303a57a6700df30e1b985a991ca1b7d09f63c /synapse/handlers/directory.py
parentAdd missing package storate.state (diff)
downloadsynapse-e7bc1291a079224315cea5c756061ad711241be1.tar.xz
Begin making auth use event.old_state_events
Diffstat (limited to 'synapse/handlers/directory.py')
-rw-r--r--synapse/handlers/directory.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/synapse/handlers/directory.py b/synapse/handlers/directory.py
index a56830d520..6e897e915d 100644
--- a/synapse/handlers/directory.py
+++ b/synapse/handlers/directory.py
@@ -152,5 +152,6 @@ class DirectoryHandler(BaseHandler):
             user_id=user_id,
         )
 
-        yield self.state_handler.handle_new_event(event, snapshot)
-        yield self._on_new_room_event(event, snapshot, extra_users=[user_id])
+        yield self._on_new_room_event(
+            event, snapshot, extra_users=[user_id], suppress_auth=True
+        )