library · inferred from evidence
stream-chat-js
A JavaScript library for Stream Chat, mentioned in the context of the issue.
- stream-chat: tokens can only be created server-side using the API Secret (Next.js API route)
StreamChat.getInstance is a singleton: it creates the client only on the first call in the runtime, and later calls with different parameters are ignored. If the client was first initialized anywhere without the secret value, for example in
- Deactivated Stream Chat user still receiving messages
This was a backend bug on Stream's side: deactivation stopped the user from sending but did not cut off their websocket event stream. The Stream team fixed it server-side; no SDK upgrade is required. If you still observe deactivated users r