summaryrefslogtreecommitdiff
path: root/poezio/core/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/core/core.py')
-rw-r--r--poezio/core/core.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/poezio/core/core.py b/poezio/core/core.py
index bc57024c..0c71b566 100644
--- a/poezio/core/core.py
+++ b/poezio/core/core.py
@@ -906,7 +906,9 @@ class Core:
"""
if not isinstance(self.tabs.current_tab, ChatTab):
return False
- self.tabs.current_tab.command_say(msg)
+ asyncio.ensure_future(
+ self.tabs.current_tab.command_say(msg)
+ )
return True
async def invite(self, jid: JID, room: JID, reason: Optional[str] = None, force_mediated: bool = False) -> bool: