diff --git a/src/headless/converse-chatboxes.js b/src/headless/converse-chatboxes.js index c28bd4795..238402a8a 100644 --- a/src/headless/converse-chatboxes.js +++ b/src/headless/converse-chatboxes.js @@ -87,7 +87,9 @@ converse.plugins.add('converse-chatboxes', { }, initialize () { - this.setVCard(); + if (['chat', 'groupchat'].includes(this.get('type'))) { + this.setVCard(); + } if (this.get('type') === 'chat') { this.setRosterContact(Strophe.getBareJidFromJid(this.get('from'))); }