Criação de Instância do Intercom

Having difficulty with Intercom component. It doesn’t create separate instances for each user. Every user on the site can see the history of anyone else’s previous messages. I am using boot and logout to no effect. Would appreciate help

function loginUserIntercom(user_id, email) {
    Intercom('shutdown');
    Intercom('boot', {
      app_id: "####",
      user_id: "{{user.id}}",  
      email: '{{user.email}}'
    });
  }

  function logoutUserIntercom() {
    Intercom('shutdown');
    Intercom('logout');
  }
1 curtida

Is this related to Discourse software? It seems to me you’re a bit lost. :slight_smile:

Yes, this about the intercom component on my discourse site

1 curtida

My bad then. I didn’t use search (Discourse Intercom (Advanced) for reference), sorry about that :slight_smile:

1 curtida

So, it’s about the intercom-widget theme component (not the intercom plugin)? I just want to make sure so I can add the right tag.

1 curtida

Yes, this is about the widget

2 curtidas