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

[Bug] No DM Notifications when both Desktop and Mobile Preferences is set to Mentions #17844

Open
ankar84 opened this issue Jun 8, 2020 · 12 comments
Assignees

Comments

@ankar84
Copy link

ankar84 commented Jun 8, 2020

Description:

I already found some issue with Notification set to Mentions in #17689
But now we did all tests and can tell for sure, that there is a bug - No DM Notifications when both Desktop and Mobile Preferences is set to Mentions

Steps to reproduce:

  1. User1 set Show Desktop Notifications For to Mentions
  2. User1 set Push Mobile Notifications For to Mentions
  3. User2 write DM to User1
  4. User1 gets no notifications neither desktop or mobile

Expected behavior:

There should be notifications (both desktop and mobile, if desktop not online) on DM messages

Actual behavior:

Here is a problematic settings:
image

Here is a table (matrix) of all available and tested variants of types of chats and as a result - notifications.
image
If YES - there was notification
If NO - there wasn't notification
Filled in red - problem notifications. There should be notifications according to settings and other tests, but in fact - no notifications.

Server Setup Information:

  • Version of Rocket.Chat Server: 3.1.1
  • Operating System: CentOS7
  • Deployment Method: docker
  • Number of Running Instances: 25
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: 12.16.1
  • MongoDB Version: 4.0.17

Client Setup Information

  • Desktop App or Browser Version: 2.17.9 and Chrome 83
  • Operating System: Windows 10
@github-actions
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stat: stale Stale issues will be automatically closed if no activity label Aug 10, 2020
@ankar84
Copy link
Author

ankar84 commented Aug 10, 2020

Issue is still exist

@github-actions github-actions bot removed the stat: stale Stale issues will be automatically closed if no activity label Oct 7, 2020
@gabrieleiro
Copy link
Contributor

Hi, @ankar84
Does it still happens to you using the latest release? We've tested the scenario described in the description but we ended up with the expected result.

@ankar84
Copy link
Author

ankar84 commented Nov 5, 2020

Hi, @ankar84
Does it still happens to you using the latest release? We've tested the scenario described in the description but we ended up with the expected result.

Hi, @g-thome
Yeap, just checked that issue on most recent 3.7.1 server version, and yes - no desktop notification on DM and no push notification on DM when desktop is offline.
BUT!
If DM has mention me with @ - push and desktop notification works fine.
But it's insane in DM mention user that only one in that conversation with @
DM itself should be like mention.

@g-thome just follow steps to reproduce:

  1. User1 set Show Desktop Notifications For to Mentions
  2. User1 set Push Mobile Notifications For to Mentions
  3. User2 write DM to User1
  4. User1 gets no notifications neither desktop or mobile
  5. If User2 write DM with @User1 - notification appears!

@ankar84
Copy link
Author

ankar84 commented Nov 5, 2020

On Windows 10 computer same behavior is on Web client (user Chrome 86 for that) as a desktop client version 3.0.5

Here is a desktop screens
image
And next gif illustrate that issue.
Screencast start showing other private group chat.
First I sent just test message - no any notification, but you can see that RC app icon start flashing (blinking) in taskbar.
Then I sent @karlanaa test and there is a notification immediately.
You can see, that test and @karlanaa test was sent is same moment.
So, it's 100% proof
dm

@ankar84
Copy link
Author

ankar84 commented Nov 5, 2020

And again - once I changes Notifications settings - there is a lot of updates in my sidebar appears. Looks like my subscriptions are recalculate or something.

@GOID1989
Copy link

GOID1989 commented Apr 2, 2021

For notification "subsystem" nodejs instances exchange direct messages on 3000 port.
Try to check your 15 instances communication between each-other

'Maybe' same problem solved here

@ankar84
Copy link
Author

ankar84 commented Apr 3, 2021

For notification "subsystem" nodejs instances exchange direct messages on 3000 port.
Try to check your 15 instances communication between each-other

Usually errors in instances communications leads to much serious and critical issue

All instances show connected status in Admin UI - Info panel:
image

@ankar84
Copy link
Author

ankar84 commented Apr 3, 2021

And again - once I changes Notifications settings - there is a lot of updates in my sidebar appears. Looks like my subscriptions are recalculate or something.

@g-thome hey, Gabriel! I sent demo of that case to you and Diego at open server.

@ankar84
Copy link
Author

ankar84 commented May 17, 2021

Just tested on most recent 3.14 - issue still here
notifications-on-dm

@ankar84
Copy link
Author

ankar84 commented Sep 8, 2022

Hey, @sampaiodiego @g-thome
Just checked at 4.8.2 server version and 4.29 mobile version.
I set both Desktop and Mobile notification to Mentions
image
And push stop working on regular messages in DM (mention with @ still works in DM and lead to push).
But then I set Desktop notification to Default (All Messages) and Mobile is still on Mentions then I get push on regular message!

So, issue is still the same. Please diagnose that and fix if possible.
Thank you!

@ankar84
Copy link
Author

ankar84 commented Jan 13, 2023

I'm on a 5.3.5 now and issue is still here.
But for some reason open.rocket.chat server works good in that case. I got a push notifications from opens server.
image

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

4 participants