mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 17:54:48 -04:00
Rename MessageHandler.handle_event. Add a few comments.
This commit is contained in:
parent
670dcdfc14
commit
cf6e5f1dbf
7 changed files with 32 additions and 14 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue