Groupchat: Dont update avatar on offline presence

This commit is contained in:
Philipp Hörist 2017-10-19 15:54:49 +02:00
parent 3a6e1ac9fc
commit 2c7861bc1d
1 changed files with 3 additions and 0 deletions

View File

@ -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)