From 3d39c36c18630896c0b2f71ac84771b8d46975cf Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 26 Sep 2012 16:03:18 +0200 Subject: [PATCH] ignore presences when nothing changed (status, status message, prio). Fixes #7210 --- src/common/connection_handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py index 805c5a468..fc9006ba2 100644 --- a/src/common/connection_handlers.py +++ b/src/common/connection_handlers.py @@ -851,7 +851,7 @@ class ConnectionHandlersBase: if obj.old_show == obj.new_show and obj.contact.status == \ obj.status and obj.contact.priority == obj.prio: # no change - return + return True else: obj.contact = gajim.contacts.get_first_contact_from_jid(account, jid)