take into account when a contact change his priority
This commit is contained in:
parent
170e0d71d0
commit
66b149ac50
|
@ -338,7 +338,8 @@ class Interface:
|
||||||
if contact1:
|
if contact1:
|
||||||
if contact1.show in statuss:
|
if contact1.show in statuss:
|
||||||
old_show = statuss.index(contact1.show)
|
old_show = statuss.index(contact1.show)
|
||||||
if old_show == new_show and contact1.status == array[2]: #no change
|
if old_show == new_show and contact1.status == array[2] and \
|
||||||
|
contact1.priority == priority: # no change
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
contact1 = gajim.contacts.get_first_contact_from_jid(account, ji)
|
contact1 = gajim.contacts.get_first_contact_from_jid(account, ji)
|
||||||
|
|
Loading…
Reference in New Issue