Skip to content

[Story] EX: Notifications count in the room list and on the app badge #3338

Description

@mxandreas

Description

This is not a new feature but resolves historical technical discrepancies and inconsistencies.

  1. Instead of the green dot, the room list will now show the number of the notifications/messages for each room. This is expected to be a better UX as well as also be consistent with Web.

  2. The app badge count (iOS only) will have a more accurate count of notifications/messages (see some limitations below).

For both, the counting will now be done on the app/client side, including the necessary back pagination in the rooms. The server-provided info is not reliable (primarily due to end-to-end encryption) and will not be used in the future. The primary limitation is that the user needs to open the app for the badge count to be accurate. E.g. if a message was read on another device, then the app badge count won't decrease until the app is opened on this device.

Also, it is worth reiterating that everywhere, the number of notifications/messages is shown and not the number of rooms (in which there is at least one such notification/message). A message is considered a notification in case one of the following is true:

  • It is a reply to user's message
  • It mentions the user
  • The room where the message is sent, has been configured to notify for all messages.

Acceptance criteria

  • In case of a UTD because the sender device is not trusted, the incoming message is displayed as a notification and counts in the notification count only if the notification setting is "All messages". If not, the message does not count as a notification: no notification from NSE, no badge count increase.

Leads

Time sheeting

?

Documentation

Dependencies

  • None

Out of scope

  • Nothing

Open questions

  • None

Subtasks

Android

iOS

Rust

Other

Sign-offs

  • Android
  • iOS

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions