Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Livechat agent joining: No refresh of Livechat-Client-Header #12849

Closed
mrsimpson opened this issue Dec 4, 2018 · 1 comment · Fixed by #12851
Closed

[BUG] Livechat agent joining: No refresh of Livechat-Client-Header #12849

mrsimpson opened this issue Dec 4, 2018 · 1 comment · Fixed by #12851

Comments

@mrsimpson
Copy link
Collaborator

mrsimpson commented Dec 4, 2018

Description:

The livechat agent in a conversation shall be pictured (literally) in the livechat-header of the client. This is not the case with guest-pool configured.
bildschirmaufnahme 2018-12-04 um 23 19 28 mov

Steps to reproduce:

  1. Configure livechat with guest pool
  2. Open a client session
  3. Send a message from the client
  4. Pick the inquiry from the queue

Expected behavior:

The agent joined shall be shown in the client header

Actual behavior:

Only, once the client refreshed the browser, the agent's data is shown

Server Setup Information:

  • Version of Rocket.Chat Server: 0.70.4 && develop

Additional context

I have done quite some intense research on this issue.
I debugged / traced, that

  • the event agentData is properly emitted
  • the autorun in the client (_livechat.js) runs once on initialization, but no more once the agent joins
  • the streamer event handler function (this.stream.on) is never executed
  • the room ID which is used as the key for the streamer is the same for the emitted and listened-on-event

I added a patch with all logs and some other helpless tries I added, for convenience if it may help

I have seen that the streamer has undergone quite some changes on Oct. 24, so I at least can imagine that it may be an issue in the lib.

@mrsimpson
Copy link
Collaborator Author

/cc @ruKurz @vickyokrm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants