diff --git a/src/commands/implementation.py b/src/commands/implementation.py index c8f7a38c4..372bd9ff4 100644 --- a/src/commands/implementation.py +++ b/src/commands/implementation.py @@ -134,6 +134,7 @@ class GroupChatCommands(CommonCommands): except Exception: raise CommandError(_("Invalid nickname")) self.connection.join_gc(new_nick, self.room_jid, None, change_nick=True) + self.new_nick = new_nick @command('query', raw=True) def chat(self, nick):