Skip to content

Commit

Permalink
Allow to set options.language_override (segment-integrations#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
koistya authored Nov 4, 2017
1 parent bac8a65 commit 730c1d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ Intercom.prototype.bootOrUpdate = function(options, integrationSettings) {
var method = this.booted === true ? 'update' : 'boot';
var activator = this.options.activator;
options.app_id = this.options.appId;
options.language_override = integrationSettings.language_override;

// Intercom, will force the widget to appear if the selector is
// #IntercomDefaultWidget so no need to check inbox, just need to check that
Expand Down

0 comments on commit 730c1d0

Please sign in to comment.