RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.05k stars 10.34k forks source link

Push notifications are being sent to deactivated users #10244

Open joshuaspence opened 6 years ago

joshuaspence commented 6 years ago

Description:

We had an employee notify us that they were still receiving push notifications on their mobile device from our RocketChat installation. This was surprising to us because their RocketChat account had been deactivated. I tested this in our staging environment and was able to reproduce the issue.

Server Setup Information:

Steps to Reproduce:

  1. Create a secondary RocketChat account.
  2. Login using the secondary account on the RocketChat mobile app. I tested this on Android.
  3. Mention the secondary user in a room (using the @user syntax).
  4. Deactivate the secondary account from the administrative panel.
  5. Mention the secondary user in a room again.

Expected behavior:

Mobile device does not receive a push notification.

Actual behavior:

Mobile device does receive a push notification. Upon clicking on the notification, a login screen is shown (which is expected) and no further push notifications are received.

ShellyXueHan commented 4 years ago

Hi @theorenck , any update on this? Thanks!