From de953c9d55e2c5ffbe8870d95510abf9b8614896 Mon Sep 17 00:00:00 2001 From: mathieui Date: Tue, 20 Aug 2019 01:16:00 +0200 Subject: Fix /join from an existing muc --- poezio/core/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/poezio/core/commands.py b/poezio/core/commands.py index 05e7421b..7112cfda 100644 --- a/poezio/core/commands.py +++ b/poezio/core/commands.py @@ -344,8 +344,8 @@ class CommandCore: # check if the current room's name has a server if room.find('@') == -1 and not server_root: tab = self.core.tabs.current_tab - if isinstance(tab, tabs.MucTab) and tab.domain: - room += '@%s' % tab.domain + if isinstance(tab, tabs.MucTab) and tab.jid.domain: + room += '@%s' % tab.jid.domain return (room, set_nick) @command_args_parser.quoted(0, 2) -- cgit v1.2.3