From e61b7742bb576533ee295c4df939a035d3a73a7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Mon, 8 Apr 2019 23:16:46 +0100 Subject: list command: default to domain jid if no argument specified MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- poezio/core/commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/poezio/core/commands.py b/poezio/core/commands.py index 792474a6..e3c3998f 100644 --- a/poezio/core/commands.py +++ b/poezio/core/commands.py @@ -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 -- cgit v1.2.3