diff --git a/poezio/core/commands.py b/poezio/core/commands.py index ee53fab5..fada50c1 100644 --- a/poezio/core/commands.py +++ b/poezio/core/commands.py @@ -526,7 +526,7 @@ class CommandCore: # Validate / Normalize try: - if nick is None: + if not nick: jid = JID(room) else: jid = JID('{}/{}'.format(room, nick))