@crazycells A forum opened in multiple tabs will use the same session.
An incognito tab would be a new, separate, session.
Separate browsers are separate sessions.
Hopefully someone can point me in the right direction to debug an issue with some users not getting notified of new chat messages via email. Where would I be able to see the logic used to determine the notifications? Is this managed in src/notifications.js
?
Just to be clear, the users in question do have their settings set to "Notifications & Email" for receiving chat messages. Do the "Do not Disturb/Invisible" statuses impact email notifications?
Thanks!
It's here https://github.com/NodeBB/NodeBB/blob/master/src/messaging/notifications.js#L60-L64. If the user is considered online(aka performed an action in the past x minutes) then the notification isn't sent.
Maybe it might make sense to change this to be a more real time check using socket.io online status.
@baris said in Email notification for new chat message not working for some users:
aka performed an action in the past x minutes
what is the default value for this time?