summary refs log tree commit diff
path: root/synapse/handlers/directory.py
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <daniel@matrix.org>2016-02-15 18:21:30 +0000
committerDaniel Wagner-Hall <daniel@matrix.org>2016-02-15 18:21:30 +0000
commit4bfb32f685cff919141a3fc0cd9179447febc765 (patch)
tree87fe1d58620f0554e030a28e281db169bb7f4bf7 /synapse/handlers/directory.py
parentSimplify room creation code (diff)
downloadsynapse-4bfb32f685cff919141a3fc0cd9179447febc765.tar.xz
Branch off member and non member sends
Unclean, needs tidy-up, but works
Diffstat (limited to 'synapse/handlers/directory.py')
-rw-r--r--synapse/handlers/directory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/directory.py b/synapse/handlers/directory.py
index 4efecb1ffd..e0a778e7ff 100644
--- a/synapse/handlers/directory.py
+++ b/synapse/handlers/directory.py
@@ -216,7 +216,7 @@ class DirectoryHandler(BaseHandler):
         aliases = yield self.store.get_aliases_for_room(room_id)
 
         msg_handler = self.hs.get_handlers().message_handler
-        yield msg_handler.create_and_send_event({
+        yield msg_handler.create_and_send_nonmember_event({
             "type": EventTypes.Aliases,
             "state_key": self.hs.hostname,
             "room_id": room_id,