Explorar o código

Force avatar refetch if new hash received

Fixes #1334
Lynesth %!s(int64=6) %!d(string=hai) anos
pai
achega
df7d663b1d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/headless/converse-muc.js

+ 1 - 1
src/headless/converse-muc.js

@@ -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);
                     }
                 });
             },