Commit ee5e77e8 authored by JC Brand's avatar JC Brand

Remove call to non-existing method

parent d32e9322
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment