Skip to content

Comments

Fix: Isolate webchat sessions per agent#1

Open
jnyecode wants to merge 3 commits intomainfrom
fix/webchat-isolation
Open

Fix: Isolate webchat sessions per agent#1
jnyecode wants to merge 3 commits intomainfrom
fix/webchat-isolation

Conversation

@jnyecode
Copy link
Owner

Fixes a bug where webchat messages for one agent appeared in another agent's chat window. Dynamically scopes session IDs to the agent ID in the frontend and explicitly routes webchat payloads to their designated agent in the backend.

- Use agentId in sessionId for webchat (portal:chat:agentId)
- Add explicit webchat handling in Binding::matches() to route
  webchat messages to the correct agent based on agent_id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant