Commit 5a7bc16f authored by Maxime Buquet's avatar Maxime Buquet

CommandCore: remove None check on MucTab.jid

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <>
parent 9358d541
......@@ -334,8 +334,7 @@ class CommandCore:
if not isinstance(tab, tabs.MucTab):
room, set_nick = (None, None)
if tab.jid is not None:
room = tab.jid.bare
room = tab.jid.bare
if not set_nick:
set_nick = tab.own_nick
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment