Chat History when Joining Private Group Channel

Hi, we noticed an issue where in the below workflow:

  1. Private, persistent, group channel created, “John” added to channel at creation
  2. “Beverly” joins channel (via API invite)
  3. chatting happens
  4. “Beverly” leaves channel (via JS SDK)
  5. “Beverly” joins channel (via API invite)

6. “Beverly” does not see any chat history when viewing the channel via JS SDK

Any thoughts here? We were thinking maybe a paramter was missed in the “group_channels/invite” call, but I don’t see anything about show/hide chat history in the docs. We want to preserve the history as the channel for “John” needs to be long-lived.

Hey @nicholascm,

In the Dashboard under Settings > Channels, is Chat History enabled?

Nope! It was off! I was hoping it was something like this. I think it is worth mentioning in the docs because I was not able to find any notes about that expectation in the platform API or JS SDk … or perhaps I have missed it.

Anyways, thanks for your reply!

Hey @nicholascm,

Glad that was the solution. For future references, this is mentioned in the note in this section:

1 Like

Ah - I was mainly looking at the platform API docs as we are using the platform API to add the user to the private channel.