fix #3553: muclisttab not joining
This commit is contained in:
parent
b7b221c988
commit
c4112346d4
1 changed files with 2 additions and 1 deletions
|
@ -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]))
|
||||||
|
|
Loading…
Reference in a new issue