diff options
-rw-r--r-- | poezio/core/commands.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/poezio/core/commands.py b/poezio/core/commands.py index cc2869a0..1c02828f 100644 --- a/poezio/core/commands.py +++ b/poezio/core/commands.py @@ -334,8 +334,7 @@ class CommandCore: if not isinstance(tab, tabs.MucTab): room, set_nick = (None, None) else: - if tab.jid is not None: - room = tab.jid.bare + room = tab.jid.bare if not set_nick: set_nick = tab.own_nick else: |