take into account our nick changement in MUC only on success. Fixes #1341
This commit is contained in:
parent
f02791b044
commit
7024ada55c
|
@ -1001,7 +1001,6 @@ class GroupchatControl(ChatControlBase):
|
||||||
response = instance.get_response()
|
response = instance.get_response()
|
||||||
if response == gtk.RESPONSE_OK:
|
if response == gtk.RESPONSE_OK:
|
||||||
nick = instance.input_entry.get_text().decode('utf-8')
|
nick = instance.input_entry.get_text().decode('utf-8')
|
||||||
self.nick = nick
|
|
||||||
gajim.connections[self.account].change_gc_nick(self.room_jid, nick)
|
gajim.connections[self.account].change_gc_nick(self.room_jid, nick)
|
||||||
|
|
||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
|
|
Loading…
Reference in New Issue