Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <forenjunkie@chello.at>2017-10-19 16:54:49 +0300
committerPhilipp Hörist <forenjunkie@chello.at>2017-10-19 16:54:49 +0300
commit2c7861bc1de8f8b0547e02b4ca8fd167c1018f41 (patch)
tree665bce3c1f7b2bef321cacbabaa0cb9a75dcc343
parent3a6e1ac9fc7d0f1f1a5f690c4bb3e0ee3aea9422 (diff)
Groupchat: Dont update avatar on offline presence
-rw-r--r--gajim/common/connection_handlers.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gajim/common/connection_handlers.py b/gajim/common/connection_handlers.py
index b17d7af09..d948f0b4a 100644
--- 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)