don't remove occupant from room roster when we try to change our nick to the occupant's nick. Fixes #5120
This commit is contained in:
parent
cc154c2bf2
commit
50cf012b75
|
@ -2383,8 +2383,9 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco,
|
|||
# print in the window the error
|
||||
self.dispatch('ERROR_ANSWER', ('', jid_stripped,
|
||||
errmsg, errcode))
|
||||
self.dispatch('NOTIFY', (jid_stripped, 'error', errmsg, resource, prio,
|
||||
keyID, timestamp, None))
|
||||
if errcode != '409': # conflict # See #5120
|
||||
self.dispatch('NOTIFY', (jid_stripped, 'error', errmsg, resource,
|
||||
prio, keyID, timestamp, None))
|
||||
|
||||
if ptype == 'unavailable' and jid_stripped in self.sessions:
|
||||
# automatically terminate sessions that they haven't sent a thread ID
|
||||
|
|
Loading…
Reference in New Issue