element-hq / element-hq/element-android
Default Room notifications level mismatch the real one defined in notification settings
- Dominant language
- Kotlin
- Stars
- 3.7k
- Forks
- 917
- PR merge metrics
- No merged PRs in 30d
Description
#### Describe the bug
It seems the notification level for a new Room (created or joined) is always displayed as "All Messages" although all the notifications are off in the advanced settings.
Changing those advanced settings does not affect anymore the notification level in the room details (according we have not already changed the level manually).
The actual push notifications for the room follow correctly the application settings (the global one define advanced settings). -> the bug is the notif mode displayed in the room settings
#### To Reproduce
Steps to reproduce the behavior:
1. Put all notifications off in Element -> settings -> Notifications -> advanced notification settings
2. Create or join a room (encrypted or not)
3. Check the notification level by a long press on the room or from the room details.
4. **"All messages" is checked** -> not as expected
5. Send a message from another account in this room
6. No notification received -> as expected
7. Enable room notifications in Element -> settings -> Notifications -> advanced notification settings
8. "All messages" still checked in room notifications details
8. Send a message from another account in this room
9. A notification has been received as expected
#### Expected behavior
For a new room (joined or created), the notifications level in the room notifications details should be checked according to the room level defined in Element settings.
It should also be updated by changing those settings.
It should not be updating if it has been already changed manually by the user.
#### Screenshots


#### Smartphone:
- Samsung Galaxy A10s (Android 10)
- Android Studio Emulator (Android 11)
#### Additional context
- App version: 1.1.12-debug - GPlay
- Homeserver: matrix.org
Contributor guide
Assessment
This issue has not been assessed yet.