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

email notifications on DM even when disabled #9112

Closed
sinteur opened this issue Dec 13, 2017 · 18 comments
Closed

email notifications on DM even when disabled #9112

sinteur opened this issue Dec 13, 2017 · 18 comments
Assignees

Comments

@sinteur
Copy link

sinteur commented Dec 13, 2017

I had a complaint from a user who told me email notifications for direct mentions were being sent despite it being disabled in profile. I checked mongo, and here's what's in the database:

{ "_id" : "...",
"emails" : [ { "address" : "REDACTED", "verified" : true } ],
"settings" : { "preferences" : { "emailNotificationMode" : "disabled", },
}

Looks like something is ignoring that preference.

@TwizzyDizzy
Copy link

TwizzyDizzy commented Dec 15, 2017

Hi @sinteur,

This might a duplicate of #8568

Also: please be kind and adhere to the issue template (the text you removed when opening this bug) in order to help friendly community members to help you more effectively. :)

Cheers
Thomas

@karlprieb
Copy link
Contributor

Hey @sinteur witch Rocket.Chat version are you using? I can't reproduce this error on develop branch.

@sinteur
Copy link
Author

sinteur commented Dec 27, 2017

It's been happening since early .56 versions, and still happens on 0.59.6. Note that it's not happening with ALL users. I'm not ruling out a database corruption of some sort, so if there's specific queries you'd like to see the results of let me know

@mddvul22
Copy link

mddvul22 commented Jan 2, 2018

We are seeing this in 0.59.6. I assume from reading #8568 that this issue is resolved in 0.60?

@gabrielloberg
Copy link

Still an issue on 0.62.1

@dadada3000
Copy link

Still an issue on 0.62.2

@karlprieb karlprieb added this to the 0.64.0 milestone Apr 4, 2018
@gdelavald gdelavald assigned gdelavald and unassigned karlprieb Apr 18, 2018
@gdelavald
Copy link
Contributor

This one seems very tricky to reproduce.
@DmitryApollonov @gabrielloberg @mddvul22 @sinteur any other details that could help us tracking down the issue?
User preference and room settings in which they were mentioned that triggered the email would help a lot, please report here if you have that information. Thanks!

@sinteur
Copy link
Author

sinteur commented Apr 19, 2018

user preferences, see above example. Channel preferences are the defaul for our server : notifications turned on, desktop and mobile settings "Use account preference"

@theorenck theorenck modified the milestones: 0.64.0, 0.65.0 Apr 20, 2018
@karlprieb karlprieb removed this from the 0.65.0 milestone May 7, 2018
@karlprieb karlprieb added this to the 0.66.0 milestone May 7, 2018
@ggazzo
Copy link
Member

ggazzo commented May 22, 2018

@sinteur could you test if the problem persist in any version above 0.64.2? we had a lot of changes how we push the notifications/emails.

@sinteur
Copy link
Author

sinteur commented May 23, 2018

I'm on 0.64.1 at the moment, I'll upgrade soon. I'll keep an eye out for you

@ggazzo
Copy link
Member

ggazzo commented May 23, 2018

thanks :)

@sinteur
Copy link
Author

sinteur commented May 29, 2018

Got no complaints so far, after running updated version a few days. I'm closing this for now

@sinteur sinteur closed this as completed May 29, 2018
@ggazzo
Copy link
Member

ggazzo commented May 29, 2018

thanks @sinteur any problem please open again...

@sinteur
Copy link
Author

sinteur commented Jun 8, 2018

Got a complaint from a user he didn't get any notifications. Site-wide prefs are "on DM/mention", his account in mongo says "emailNotificationMode" : "default" and yet chat never even tries to connect to the smtp server. Testing outbound mail in the settings screen for smtp works fine.

@sinteur sinteur reopened this Jun 8, 2018
@sinteur
Copy link
Author

sinteur commented Jun 8, 2018

(runningn 0.65.1 now)

@ggazzo
Copy link
Member

ggazzo commented Jun 10, 2018

we are facing some problems with notifications in general (fixed here #11024), but just for emails ... we will test again... :)

@mddvul22
Copy link

We are currently running version 0.65.1. I have users who have disabled offline notifications. (Looking in the mongo database, I see the following for their account:

"emailNotificationMode" : "nothing"

Yet, they are getting email notifications. But this doesn't happen for every user. If I disable email notifications for my own account, the setting works. So, it is only happening to some of our users.

@theorenck theorenck modified the milestones: 0.66.0, Short-term Jul 31, 2018
@gabriellsh
Copy link
Member

Tested 3.0.0-develop, seems fixed. In any case please reopen this issue.

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

10 participants