Fix updating room avatar correctly

This commit is contained in:
Philipp Hörist 2018-06-30 20:02:16 +02:00
parent 3b147a8c7f
commit 9c6a8df658
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ class VCardAvatars:
# Check if presence is from a MUC service
contact = app.contacts.get_groupchat_contact(self._account, str(jid))
if contact is not None:
self._update_received(jid, avatar_sha)
self._update_received(jid, avatar_sha, room=True)
elif stanza.getTag('x', namespace=nbxmpp.NS_MUC_USER):
show = stanza.getShow()
type_ = stanza.getType()