Ignore presence errors
This commit is contained in:
parent
8ff28d636e
commit
06599440e3
1 changed files with 1 additions and 4 deletions
|
@ -848,10 +848,7 @@ PresenceHelperEvent):
|
||||||
gajim.nec.push_incoming_event(UnsubscribedPresenceReceivedEvent(
|
gajim.nec.push_incoming_event(UnsubscribedPresenceReceivedEvent(
|
||||||
None, conn=self.conn, stanza=self.stanza, presence_obj=self))
|
None, conn=self.conn, stanza=self.stanza, presence_obj=self))
|
||||||
elif self.ptype == 'error':
|
elif self.ptype == 'error':
|
||||||
if self.errcode != '409': # conflict # See #5120
|
return
|
||||||
self.show = 'error'
|
|
||||||
self.status = self.errmsg
|
|
||||||
return True
|
|
||||||
|
|
||||||
if not self.ptype or self.ptype == 'unavailable':
|
if not self.ptype or self.ptype == 'unavailable':
|
||||||
our_jid = gajim.get_jid_from_account(self.conn.name)
|
our_jid = gajim.get_jid_from_account(self.conn.name)
|
||||||
|
|
Loading…
Add table
Reference in a new issue