don't traceback when using metacontact over several accounts. Fixes #5616

This commit is contained in:
Yann Leboulanger 2010-02-26 17:09:29 +01:00
parent 455b1df248
commit 16607e0909
1 changed files with 2 additions and 0 deletions

View File

@ -509,6 +509,8 @@ class Interface:
jid_ = info['jid']
c_ = gajim.contacts.get_contact_with_highest_priority(
acct_, jid_)
if not c_:
continue
if c_.show not in ('offline', 'error'):
show_notif = False
break