take into account when a contact change his priority

This commit is contained in:
Yann Leboulanger 2006-02-24 18:57:10 +00:00
parent 170e0d71d0
commit 66b149ac50
1 changed files with 2 additions and 1 deletions

View File

@ -338,7 +338,8 @@ class Interface:
if contact1:
if contact1.show in statuss:
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
else:
contact1 = gajim.contacts.get_first_contact_from_jid(account, ji)