Don't allow to change nick to actual nick, it breaks presence
This commit is contained in:
parent
6dcb8f7f20
commit
eba425d73a
|
@ -990,7 +990,7 @@ class GroupchatControl(ChatControlBase):
|
|||
|
||||
if command == 'nick':
|
||||
# example: /nick foo
|
||||
if len(message_array):
|
||||
if len(message_array) and message_array[0] != self.nick:
|
||||
nick = message_array[0]
|
||||
gajim.connections[self.account].change_gc_nick(self.room_jid, nick)
|
||||
self.clear(self.msg_textview)
|
||||
|
|
Loading…
Reference in New Issue