summary refs log tree commit diff
path: root/synapse/handlers/directory.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-12-15 17:01:12 +0000
committerErik Johnston <erik@matrix.org>2014-12-15 17:01:12 +0000
commitcf6e5f1dbf3cecf693e45f293535e71ee31801ed (patch)
treeea0f29cfd9168f1d1a7030ca66372cd42df64eb8 /synapse/handlers/directory.py
parentRemove unused functions (diff)
downloadsynapse-cf6e5f1dbf3cecf693e45f293535e71ee31801ed.tar.xz
Rename MessageHandler.handle_event. Add a few comments.
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 76fb897f20..4b0869cd9f 100644
--- a/synapse/handlers/directory.py
+++ b/synapse/handlers/directory.py
@@ -149,7 +149,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.handle_event({
+        yield msg_handler.create_and_send_event({
             "type": RoomAliasesEvent.TYPE,
             "state_key": self.hs.hostname,
             "room_id": room_id,