summaryrefslogtreecommitdiff
path: root/poezio/core/handlers.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2022-02-10 18:27:05 +0100
committerMaxime “pep” Buquet <pep@bouah.net>2022-02-25 22:35:30 +0100
commit456c4c46a6a740063e25ffcdd6cbdfeb70e4d621 (patch)
tree270d053c32d90f68d433c2ba1559b1ab187df002 /poezio/core/handlers.py
parent101bab502f6076049ea229d887d75d90b4a48356 (diff)
downloadpoezio-456c4c46a6a740063e25ffcdd6cbdfeb70e4d621.tar.gz
poezio-456c4c46a6a740063e25ffcdd6cbdfeb70e4d621.tar.bz2
poezio-456c4c46a6a740063e25ffcdd6cbdfeb70e4d621.tar.xz
poezio-456c4c46a6a740063e25ffcdd6cbdfeb70e4d621.zip
internal: make the other message handlers async
Diffstat (limited to 'poezio/core/handlers.py')
-rw-r--r--poezio/core/handlers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py
index ed21a581..5b80585f 100644
--- a/poezio/core/handlers.py
+++ b/poezio/core/handlers.py
@@ -363,7 +363,7 @@ class HandlerCore:
)
self.core.tabs.append(conversation)
else:
- conversation.handle_message(message)
+ await conversation.handle_message(message)
if not own and 'private' in config.getstr('beep_on').split():
if not config.get_by_tabname('disable_beep', conv_jid.bare):
@@ -547,7 +547,7 @@ class HandlerCore:
self.core.tabs.append(tab)
tab.parent_muc.privates.append(tab)
else:
- tab.handle_message(message)
+ await tab.handle_message(message)
if not sent and 'private' in config.getstr('beep_on').split():
if not config.get_by_tabname('disable_beep', jid.full):