list command: default to domain jid if no argument specified
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
b5e8933ea0
commit
e61b7742bb
1 changed files with 1 additions and 0 deletions
|
@ -280,6 +280,7 @@ class CommandCore:
|
|||
jid = self.core.tabs.current_tab.jid
|
||||
if jid is None or not jid.domain:
|
||||
return None
|
||||
jid = JID(jid.domain)
|
||||
list_tab = tabs.MucListTab(self.core, jid)
|
||||
self.core.add_tab(list_tab, True)
|
||||
cb = list_tab.on_muc_list_item_received
|
||||
|
|
Loading…
Reference in a new issue