소스 검색

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) {