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

LiveChat with Guest Pool Routing no popup notification at end user. Only a sound based Ding #11137

Closed
earlgrei opened this issue Jun 13, 2018 · 7 comments

Comments

@earlgrei
Copy link

Description:

We deployed LiveChat to our site, as part of the testing when an incoming chat request is made the Agents desktop application 'Dings' but does not create a Toast style notification (all windows agents). The audible ding is there so the desktop client knows that something is occurring but not what it is. I have modified notification settings for the user as well and that has not caused the popup to work.

Steps to reproduce:

  1. Create LiveChat with GuestPool enabled.
  2. Login to desktop client as agent.
  3. Create Web Chat request from chat applet on webpage.
  4. Chat shows up in list, but not popup notification occurs.

Expected behavior:

Expect a visual alert to popup as a Toast style notification so if agent is on the phone they notice that the chat has started.

Actual behavior:

Incoming Livechat with no toast notification.
image

Server Setup Information:

  • Version of Rocket.Chat Server: 0.65.1
  • Operating System: Docker
  • Deployment Method: Docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: v8.9.3
  • MongoDB Version: what comes with the docker container
@mrsimpson
Copy link
Collaborator

We also noted this issue. I fixed it recently in our fork, but I did this directly in the core-files. Following a decoupled architecture, it should actually be implemented inside the rocketchat-livechat-package.
However, this would mean a lot of redundant code.

@renatobecker once you tackle this, you could however take this as "inspiration"
https://github.com/assistify/Rocket.Chat/blob/36ccd576257bbf03f5858fdd1317e86a1c3be6ec/packages/rocketchat-lib/server/lib/sendNotificationsOnMessage.js#L286-L316

All related changes are within the above file and this one liner, at least as far as I remember.

@renatobecker @sampaiodiego Just in case you think this fix is a good one, let me know - I'll package a PR then.

@sampaiodiego
Copy link
Member

@mrsimpson I've found this PR #10588 which should fix this issue, right? @renatobecker do you mind taking a look on that PR? thx

@mrsimpson
Copy link
Collaborator

@sampaiodiego oops, I seem to have forgotten what I was doing then. I’ll have to update the PR then.

@renatobecker please let me know if the above referenced state is a good target 🎯

@renatobecker-zz
Copy link

Hi @sampaiodiego and @mrsimpson!
I'm going to take a look at that PR mentioned above and I'll notify you guys as soon as I finish this process.

Thanks!

@earlgrei
Copy link
Author

Thank you to all of you that are addressing this. I am about to throttle my end users. I built a monitor script that pings a raspberry pi (speakers make a noise) to notify them of incoming chats just to keep them happy while the issue gets resolved. Still they complain LOL.

@mrsimpson
Copy link
Collaborator

@earlgrei if you run a custom installation, you might want to fork for a short-term work-around and pull the two files from #10588

@sampaiodiego
Copy link
Member

fixed by #10588

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

No branches or pull requests

5 participants