Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

"offline chat notification" setting is not taken into account

Open yfoelling opened this issue 9 years ago • 6 comments

Description:

Chat setting for offline notifications was not taken into account.

Server Setup Information:

  • Version of Rocket.Chat Server: 0.59.1
  • Operating System: Chat App for OSX
  • Deployment Method(snap/docker/tar/etc): docker
  • Number of Running Instances: 4
  • DB Replicaset Oplog: active
  • Node Version: v4.8.4

Steps to Reproduce:

  1. go to "my account" page
  2. deactivate offline notification and press apply
  3. go offline and let someone mention you

Expected behavior:

I will not get any Email for the mention, but i will get notifications on my iPhone app.

Actual behavior:

I get emails and notifications of the IPhone app

yfoelling avatar Oct 24 '17 08:10 yfoelling

We are also having this issue with a Docker deployment on version 0.59.3. However, it is only with direct messages.

maximecharron avatar Nov 02 '17 02:11 maximecharron

@MartinSchoeler @rodrigok I took a bit of time to check and it seems that the logic change introduced in PR #7639 is the source of this problem. If it is a direct message, user settings are not checked and the email is sent every time. I'll try to take some time tomorrow to submit a PR, unless you beat me to it.

maximecharron avatar Nov 02 '17 03:11 maximecharron

Awesome. Also discussed in #8568

JonathanSidego avatar Nov 03 '17 00:11 JonathanSidego

any news on this? 20 days in on "ill try to take some time tomorrow"

bug still reproducable in 0.59.3, getting DM notification emails even when notification turned off

cy4n avatar Nov 22 '17 07:11 cy4n

oh looks like PR https://github.com/RocketChat/Rocket.Chat/pull/8810 fixes the Problem, has been merged 14d ago, we're still waiting for a release.

cy4n avatar Nov 22 '17 07:11 cy4n

+1

dmoldovan123 avatar Dec 05 '17 08:12 dmoldovan123