瀏覽代碼

Remove call to non-existing method

JC Brand 7 年之前
父節點
當前提交
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) {