summary refs log tree commit diff
path: root/synapse/handlers/directory.py
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <dawagner@gmail.com>2016-02-18 11:48:28 +0000
committerDaniel Wagner-Hall <dawagner@gmail.com>2016-02-18 11:48:28 +0000
commit35cda2e6927dabb0d9782c3181d1dbbea231c9e5 (patch)
treefee32bfdc6f723fd465c20e4842a19bdaca6e0af /synapse/handlers/directory.py
parentMerge pull request #580 from Rugvip/develop (diff)
parentReview comments (diff)
downloadsynapse-35cda2e6927dabb0d9782c3181d1dbbea231c9e5.tar.xz
Merge pull request #583 from matrix-org/daniel/roomcleanupincremental
Merge all of the room membership codepaths into one
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,