Groupchat: Dont update avatar on offline presence
This commit is contained in:
parent
3a6e1ac9fc
commit
2c7861bc1d
|
@ -313,6 +313,9 @@ class ConnectionVcard:
|
||||||
if server.startswith('irc') or obj.avatar_sha is None:
|
if server.startswith('irc') or obj.avatar_sha is None:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if obj.show == 'offline':
|
||||||
|
return
|
||||||
|
|
||||||
gc_contact = app.contacts.get_gc_contact(
|
gc_contact = app.contacts.get_gc_contact(
|
||||||
self.name, obj.room_jid, obj.nick)
|
self.name, obj.room_jid, obj.nick)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue