From 456c4c46a6a740063e25ffcdd6cbdfeb70e4d621 Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 10 Feb 2022 18:27:05 +0100 Subject: internal: make the other message handlers async --- poezio/core/handlers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'poezio/core/handlers.py') 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): -- cgit v1.2.3