summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2022-02-15 23:38:37 +0100
committermathieui <mathieui@mathieui.net>2022-02-15 23:38:37 +0100
commita1af1355a99c370a056337a826d5a29a90a13447 (patch)
tree6dd60502120114a0e351a8df92e1b4e91feb9930
parent1f95f25a87fbbc696bf528e1c00a8aa734ced035 (diff)
downloadpoezio-a1af1355a99c370a056337a826d5a29a90a13447.tar.gz
poezio-a1af1355a99c370a056337a826d5a29a90a13447.tar.bz2
poezio-a1af1355a99c370a056337a826d5a29a90a13447.tar.xz
poezio-a1af1355a99c370a056337a826d5a29a90a13447.zip
fix #3553: muclisttab not joining
-rw-r--r--poezio/tabs/muclisttab.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/poezio/tabs/muclisttab.py b/poezio/tabs/muclisttab.py
index f6b3fc35..53fce727 100644
--- a/poezio/tabs/muclisttab.py
+++ b/poezio/tabs/muclisttab.py
@@ -4,6 +4,7 @@ A MucListTab is a tab listing the rooms on a conference server.
It has no functionality except scrolling the list, and allowing the
user to join the rooms.
"""
+import asyncio
import logging
from typing import Dict, Callable
@@ -74,4 +75,4 @@ class MucListTab(ListTab):
row = self.listview.get_selected_row()
if not row:
return
- self.core.command.join(row[1])
+ asyncio.ensure_future(self.core.command.join(row[1]))