diff options
author | mathieui <mathieui@mathieui.net> | 2019-08-20 01:16:00 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2019-08-20 01:16:00 +0200 |
commit | de953c9d55e2c5ffbe8870d95510abf9b8614896 (patch) | |
tree | 7c571e526b37ff74bf74ac5dde9d6f2c66113de9 | |
parent | 036f79a66205b1b2b5b0bf57765995202432719a (diff) | |
download | poezio-de953c9d55e2c5ffbe8870d95510abf9b8614896.tar.gz poezio-de953c9d55e2c5ffbe8870d95510abf9b8614896.tar.bz2 poezio-de953c9d55e2c5ffbe8870d95510abf9b8614896.tar.xz poezio-de953c9d55e2c5ffbe8870d95510abf9b8614896.zip |
Fix /join <muc name without domain> from an existing muc
-rw-r--r-- | poezio/core/commands.py | 4 |
1 files 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) |