Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion addon/services/intercom.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,17 @@ export default Service.extend(Evented, {

/**
* Boot intercom window
* Set isBooted to true if Intercom is booted, and false if intercom is prevented to boot from third party tracking blockers, e.g. "Disconnect"
*
* @param {Object} [config={}] [description]
* @public
*/
boot(config = {}) {
this._callIntercomMethod('boot', normalizeIntercomMetadata(config));
this._addEventHandlers();
this.set('isBooted', true);
if (window.Intercom) {
this.set('isBooted', window.Intercom.booted)
}
},

/**
Expand Down