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

Remove call to non-existing method

JC Brand 7 жил өмнө
parent
commit
ee5e77e851

+ 2 - 2
src/converse-muc.js

@@ -992,9 +992,9 @@
                     const hash = this.get('image_hash');
                     const hash = this.get('image_hash');
                     const vcards = [];
                     const vcards = [];
                     if (this.get('jid')) {
                     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) => {
                     _.forEach(_.filter(vcards, undefined), (vcard) => {
                         if (hash && vcard.get('image_hash') !== hash) {
                         if (hash && vcard.get('image_hash') !== hash) {