Browse Source

Remove call to non-existing method

JC Brand 7 years ago
parent
commit
ee5e77e851
1 changed files with 2 additions and 2 deletions
  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) {