fix #3553: muclisttab not joining

This commit is contained in:
mathieui 2022-02-15 23:38:37 +01:00 committed by Maxime “pep” Buquet
parent b7b221c988
commit c4112346d4

View file

@ -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 It has no functionality except scrolling the list, and allowing the
user to join the rooms. user to join the rooms.
""" """
import asyncio
import logging import logging
from typing import Dict, Callable from typing import Dict, Callable
@ -74,4 +75,4 @@ class MucListTab(ListTab):
row = self.listview.get_selected_row() row = self.listview.get_selected_row()
if not row: if not row:
return return
self.core.command.join(row[1]) asyncio.ensure_future(self.core.command.join(row[1]))