Add RoomMessageEmote to message callback
This commit is contained in:
parent
f758cfc538
commit
058eaa94d1
1 changed files with 2 additions and 1 deletions
3
main.py
3
main.py
|
@ -50,7 +50,8 @@ class MatrixClient(nio.AsyncClient):
|
|||
callbacks = Callbacks(self, self.process_message)
|
||||
self.add_event_callback(
|
||||
callbacks.message_callback,
|
||||
(nio.RoomMessageText, nio.RoomMessageMedia))
|
||||
(nio.RoomMessageText, nio.RoomMessageMedia,
|
||||
nio.RoomMessageEmote))
|
||||
|
||||
self.add_event_callback(
|
||||
callbacks.redaction_callback, nio.RedactionEvent)
|
||||
|
|
Loading…
Reference in a new issue