2
0
Эх сурвалжийг харах

Remove call to non-existing method

JC Brand 7 жил өмнө
parent
commit
ee5e77e851
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      src/converse-muc.js

+ 2 - 2
src/converse-muc.js

@@ -992,9 +992,9 @@
                     const hash = this.get('image_hash');
                     const vcards = [];
                     if (this.get('jid')) {
-                        vcards.push(this.updateVCard(_converse.vcards.findWhere({'jid': this.get('jid')})));
+                        vcards.push(_converse.vcards.findWhere({'jid': this.get('jid')}));
                     }
-                    vcards.push(this.updateVCard(_converse.vcards.findWhere({'jid': this.get('from')})));
+                    vcards.push(_converse.vcards.findWhere({'jid': this.get('from')}));
 
                     _.forEach(_.filter(vcards, undefined), (vcard) => {
                         if (hash && vcard.get('image_hash') !== hash) {