Fixed a bug in the nick command
This commit is contained in:
parent
10a0867e59
commit
6630d88c08
|
@ -134,6 +134,7 @@ class GroupChatCommands(CommonCommands):
|
||||||
except Exception:
|
except Exception:
|
||||||
raise CommandError(_("Invalid nickname"))
|
raise CommandError(_("Invalid nickname"))
|
||||||
self.connection.join_gc(new_nick, self.room_jid, None, change_nick=True)
|
self.connection.join_gc(new_nick, self.room_jid, None, change_nick=True)
|
||||||
|
self.new_nick = new_nick
|
||||||
|
|
||||||
@command('query', raw=True)
|
@command('query', raw=True)
|
||||||
def chat(self, nick):
|
def chat(self, nick):
|
||||||
|
|
Loading…
Reference in New Issue