diff options
author | Philipp Hörist <forenjunkie@chello.at> | 2017-10-19 16:54:49 +0300 |
---|---|---|
committer | Philipp Hörist <forenjunkie@chello.at> | 2017-10-19 16:54:49 +0300 |
commit | 2c7861bc1de8f8b0547e02b4ca8fd167c1018f41 (patch) | |
tree | 665bce3c1f7b2bef321cacbabaa0cb9a75dcc343 | |
parent | 3a6e1ac9fc7d0f1f1a5f690c4bb3e0ee3aea9422 (diff) |
Groupchat: Dont update avatar on offline presence
-rw-r--r-- | gajim/common/connection_handlers.py | 3 |
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) |