Don't call updateVCard if use_vcards is false.
This commit is contained in:
parent
324e3fee2a
commit
1b6e67ae73
@ -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'))) {
|
||||
|
Loading…
Reference in New Issue
Block a user