Rename MessageHandler.handle_event. Add a few comments.

This commit is contained in:
Erik Johnston 2014-12-15 17:01:12 +00:00
parent 670dcdfc14
commit cf6e5f1dbf
7 changed files with 32 additions and 14 deletions

View file

@ -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,