don't traceback when using metacontact over several accounts. Fixes #5616
This commit is contained in:
parent
455b1df248
commit
16607e0909
|
@ -509,6 +509,8 @@ class Interface:
|
||||||
jid_ = info['jid']
|
jid_ = info['jid']
|
||||||
c_ = gajim.contacts.get_contact_with_highest_priority(
|
c_ = gajim.contacts.get_contact_with_highest_priority(
|
||||||
acct_, jid_)
|
acct_, jid_)
|
||||||
|
if not c_:
|
||||||
|
continue
|
||||||
if c_.show not in ('offline', 'error'):
|
if c_.show not in ('offline', 'error'):
|
||||||
show_notif = False
|
show_notif = False
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue