diff options
Diffstat (limited to 'poezio/tabs/muclisttab.py')
-rw-r--r-- | poezio/tabs/muclisttab.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/poezio/tabs/muclisttab.py b/poezio/tabs/muclisttab.py index 6ba7816d..aac25787 100644 --- a/poezio/tabs/muclisttab.py +++ b/poezio/tabs/muclisttab.py @@ -5,20 +5,23 @@ It has no functionality except scrolling the list, and allowing the user to join the rooms. """ import logging -log = logging.getLogger(__name__) +from typing import Dict, Callable from poezio.tabs import ListTab +from poezio.core.structs import Command from slixmpp.plugins.xep_0030.stanza.items import DiscoItem +log = logging.getLogger(__name__) + class MucListTab(ListTab): """ A tab listing rooms from a specific server, displaying various information, scrollable, and letting the user join them, etc """ - plugin_commands = {} - plugin_keys = {} + plugin_commands = {} # type: Dict[str, Command] + plugin_keys = {} # type: Dict[str, Callable] def __init__(self, core, server): ListTab.__init__(self, core, server.full, "ājā: join room.", |