Force avatar refetch if new hash received

Fixes #1334
This commit is contained in:
Lynesth 2019-01-05 23:41:34 +11:00 committed by JC Brand
parent 7e370c1b81
commit df7d663b1d

View File

@ -1153,7 +1153,7 @@ converse.plugins.add('converse-muc', {
_.forEach(_.filter(vcards, undefined), (vcard) => {
if (hash && vcard.get('image_hash') !== hash) {
_converse.api.vcard.update(vcard);
_converse.api.vcard.update(vcard, true);
}
});
},