Yann Leboulanger pushed to branch xep-0319 at gajim / gajim
Commits:
ae434700 by Yann Leboulanger at 2017-07-31T17:18:56+02:00
a presence that is the same as previously but with a different idle time
is not the same as previously
- - - - -
1 changed file:
- gajim/common/connection_handlers.py
Changes:
=====================================
gajim/common/connection_handlers.py
=====================================
--- a/gajim/common/connection_handlers.py
+++ b/gajim/common/connection_handlers.py
@@ -966,7 +966,8 @@ class ConnectionHandlersBase:
obj.need_redraw = True
if obj.old_show == obj.new_show and obj.contact.status == \
- obj.status and obj.contact.priority == obj.prio: # no change
+ obj.status and obj.contact.priority == obj.prio and \
+ obj.contact.idle_time = obj.idle_time: # no change
return True
else:
obj.contact = gajim.contacts.get_first_contact_from_jid(account,
@@ -1170,8 +1171,7 @@ class ConnectionHandlersBase:
def get_sessions(self, jid):
"""
- Get all sessions for the given full jie
-
+ Get all sessions for the given full jid
"""
if not gajim.interface.is_pm_contact(jid, self.name):
jid = gajim.get_jid_without_resource(jid)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/ae43470046e5efc300196d20a22796dcff7633d9
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits