-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
Push notification settings not working as expected / privacy issue #17135
Comments
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. |
duplicated of #17135 |
Working correctly in 3.1.1. |
It is still affecting us in 3.5.0 |
vplb: I can confirm this. It's still sending user and room names on version 3.5.2. This case should be re-opened. |
Description:
We analyzed at server side the push notification content which is sent when options:
"Show Channel/Group/Username in Notification" and "Show Message in Notification" are disabled.
We noticed that even if those are disabled, sender, receiver and channel name is sent. Documentation (https://rocket.chat/docs/administrator-guides/notifications/push-notifications/) says that "Show Channel/Group/Username in Notification: Default is “TRUE”, disabling this setting prevents the Channel, Group, Discussion and Username being sent to the push notification gateway"
Steps to reproduce:
Expected behavior:
Push notification should not contain channel/group/usernames in notification content with these settings.
Actual behavior:
Push notification message contained all of these information:
{
from: 'push',
badge: 3,
sound: 'default',
priority: 10,
title: '',
text: ' ',
payload: {
host: 'https://rocketchatservername',
rid: 'xxxxxxxxxxxxxx',
sender: {
_id: 'xxxxxxxxxxxxxx',
username: 'myuser',
name: 'My User'
},
type: 'p',
name: 'Myprivatechannel',
messageType: undefined,
messageId: 'xxxxxxxxxxxxxx'
},
query: { userId: 'xxxxxxxxxxxxxx' },
notId: -1111111111111,
gcm: {
style: 'inbox',
summaryText: '%n% new messages',
image: 'https://rocketchatservername/images/logo/android-chrome-192x192.png'
},
apn: { category: 'MESSAGE' }
}
Server Setup Information:
The text was updated successfully, but these errors were encountered: