Commit 1b6e67ae authored by JC Brand's avatar JC Brand

Don't call updateVCard if use_vcards is false.

parent 324e3fee
......@@ -1507,6 +1507,7 @@
},
updateVCard: function () {
if (!this.use_vcards) { return; }
var jid = this.model.get('jid'),
contact = converse.roster.get(jid);
if ((contact) && (!contact.get('vcard_updated'))) {
......
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