don't traceback when using metacontact over several accounts. Fixes #5616
This commit is contained in:
parent
e552333b85
commit
7387d779c0
10
AUTHORS
10
AUTHORS
|
@ -1,13 +1,8 @@
|
||||||
CURRENT DEVELOPERS:
|
CURRENT DEVELOPERS:
|
||||||
|
|
||||||
Alexander Cherniuk (ts33kr AT gmail.com)
|
Alexander Cherniuk (ts33kr AT gmail.com)
|
||||||
Nikos Kouremenos (kourem AT gmail.com)
|
|
||||||
Yann Leboulanger (asterix AT lagaule.org)
|
Yann Leboulanger (asterix AT lagaule.org)
|
||||||
Julien Pivotto (roidelapluie AT gmail.com)
|
|
||||||
Jonathan Schleifer (js-gajim AT webkeks.org)
|
Jonathan Schleifer (js-gajim AT webkeks.org)
|
||||||
Travis Shirk (travis AT pobox.com)
|
|
||||||
Brendan Taylor (whateley AT gmail.com)
|
|
||||||
Jean-Marie Traissard (jim AT lapin.org)
|
|
||||||
|
|
||||||
PAST DEVELOPERS:
|
PAST DEVELOPERS:
|
||||||
|
|
||||||
|
@ -15,3 +10,8 @@ Stefan Bethge (stefan AT lanpartei.de)
|
||||||
Stephan Erb (steve-e AT h3c.de)
|
Stephan Erb (steve-e AT h3c.de)
|
||||||
Vincent Hanquez (tab AT snarc.org)
|
Vincent Hanquez (tab AT snarc.org)
|
||||||
Dimitur Kirov (dkirov AT gmail.com)
|
Dimitur Kirov (dkirov AT gmail.com)
|
||||||
|
Nikos Kouremenos (kourem AT gmail.com)
|
||||||
|
Julien Pivotto (roidelapluie AT gmail.com)
|
||||||
|
Travis Shirk (travis AT pobox.com)
|
||||||
|
Brendan Taylor (whateley AT gmail.com)
|
||||||
|
Jean-Marie Traissard (jim AT lapin.org)
|
||||||
|
|
|
@ -480,6 +480,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