Ignore presence errors

This commit is contained in:
tmolitor 2016-03-25 00:29:20 +01:00
parent 8ff28d636e
commit 06599440e3
1 changed files with 1 additions and 4 deletions

View File

@ -848,10 +848,7 @@ PresenceHelperEvent):
gajim.nec.push_incoming_event(UnsubscribedPresenceReceivedEvent(
None, conn=self.conn, stanza=self.stanza, presence_obj=self))
elif self.ptype == 'error':
if self.errcode != '409': # conflict # See #5120
self.show = 'error'
self.status = self.errmsg
return True
return
if not self.ptype or self.ptype == 'unavailable':
our_jid = gajim.get_jid_from_account(self.conn.name)