Skip to content

Messages from encrypted groups notify regardless of settings unless individually muted #1955

Description

@Septicity

Describe the bug

The title describes it: Even if all potential sources of notifications are disabled in settings, all notifications from encrypted rooms go through.

This started when my homeserver introduced support for MSC4028, which makes the homeserver itself push all notifications from encrypted rooms, such that the client is responsible for parsing whether it should provide a notification for it.

Reproduction

  1. Have an account on a homeserver that supports MSC4028.
  2. Be in an encrypted room that is not a DM.
  3. Set all sources of notifications to "Disable".
  4. Receive messages from the encrypted room.
  5. See that notifications from the room are delivered regardless, unless the room itself is muted.

Expected behavior

Since MSC4028 puts the work on the client to parse messages that should be notified for, the client should be parsing these messages and determining whether they should be delivered. (I wonder if this would also help any issues regarding seeing "Encrypted message" even when encrypted content in notifications is enabled?)

Platform and versions

1. OS: Occurs on any.
2. Browser: Occurs on any.
3. Sable version: v1.21.1-nightly.260825094209.cdb034fbedb2-dev (cdb034f)
4. Homeserver: 4d2.org

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbug/behaviourbehaviour bugbug/confirmedThis bug is confirmed to happen & reproducible

    Type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions