From 6ab49c188a6e5bb95773165f0bdbd672b41c8c81 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 11:38:29 +0100 Subject: Fix tab.name not being a string by calling the right property 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'poezio/core/commands.py') diff --git a/poezio/core/commands.py b/poezio/core/commands.py index 242b60a3..5b990091 100644 --- a/poezio/core/commands.py +++ b/poezio/core/commands.py @@ -335,7 +335,7 @@ class CommandCore: if room.find('@') == -1 and not server_root: tab = self.core.tabs.current_tab if isinstance(tab, tabs.MucTab): - if tab.name.find('@') != -1: + if tab.name.full.find('@') != -1: domain = safeJID(tab.name).domain room += '@%s' % domain return (room, set_nick) -- cgit v1.2.3