Philipp Hörist pushed to branch master at gajim / gajim
Commits:
2c7861bc by Philipp Hörist at 2017-10-19T15:54:49+02:00
Groupchat: Dont update avatar on offline presence
- - - - -
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
@@ -313,6 +313,9 @@ class ConnectionVcard:
if server.startswith('irc') or obj.avatar_sha is None:
return
+ if obj.show == 'offline':
+ return
+
gc_contact = app.contacts.get_gc_contact(
self.name, obj.room_jid, obj.nick)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/2c7861bc1de8f8b0547e02b4ca8fd167c1018f41
---
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/2c7861bc1de8f8b0547e02b4ca8fd167c1018f41
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits