summaryrefslogtreecommitdiff
path: root/poezio/tabs/muclisttab.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/tabs/muclisttab.py')
-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]))