Rocket.chat: "offline chat notification" setting is not taken into account

Created on 24 Oct 2017  路  6Comments  路  Source: RocketChat/Rocket.Chat

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

notification bug

Most helpful comment

@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.

All 6 comments

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

@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.

Awesome. Also discussed in #8568

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

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.

+1

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mattlin picture mattlin  路  3Comments

Kiran-Rao picture Kiran-Rao  路  3Comments

ghost picture ghost  路  3Comments

sta-szek picture sta-szek  路  3Comments

engelgabriel picture engelgabriel  路  3Comments