RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.56k stars 10.58k forks source link

Omnichannel - Livechat - Agent name and email only appear after a page reload #21171

Open rcaldeiradev opened 3 years ago

rcaldeiradev commented 3 years ago

Description:

When a user starts a conversation from the Rocket.Chat Livechat widget, the agent information (name and email address) is not shown. After reloading the page or opening the same page in another tab/window, the agent information is displayed correctly.

Steps to reproduce:

  1. Go to the page where you have set the Livechat widget on.
  2. Click the chat icon
  3. Type a message and send it to start a conversation.
  4. You will see the chat title in the header and no agent information.
  5. Then, refresh the page or open the same page in a new tab/window.
  6. You will see the agent information in the header.

Expected behavior:

The widget should display the agent information immediately after a conversation starts.

Actual behavior:

Server Setup Information:

Client Setup Information

Additional context

Before page refresh screenshot: https://i.ibb.co/9wkQrxn/before-page-reload.jpg After page refresh screenshot: https://i.ibb.co/bmTPqxF/after-page-reload.jpg

Relevant logs:

The only log in console: index.js:1 ui-kit version: 0.14.1

No error or app logs.

micksharma commented 3 years ago

I am working on this.

dt123 commented 3 years ago

Any ETA on a fix here?

rcaldeiradev commented 3 years ago

Hey. Anyone else having this issue? Please, leave a thumbs up in the issue if so.