From 66b149ac50f6ee1ae5229a5e14145d297e9a1fe2 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Fri, 24 Feb 2006 18:57:10 +0000
Subject: [PATCH] take into account when a contact change his priority

---
 src/gajim.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gajim.py b/src/gajim.py
index 989a63043d..aed7e80496 100755
--- a/src/gajim.py
+++ b/src/gajim.py
@@ -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)
-- 
GitLab