Description
Steps to reproduce
- Create an encrypted room between two clients you control.
- Ensure the receiver has
Messages sent by bot
turned to theoff
position in the Notification settings. - Ensure the reciever does NOT have the room focused.
- On the sending client, manually send a message with a
msgtype
ofm.notice
. - On the receiving client, notice that the room notification count increases.
Outcome
What did you expect?
As with unencrypted rooms, the room notification count should not increase.
What happened instead?
The counter increases.
Operating system
No response
Browser information
No response
URL for webapp
No response
Application version
Element version: 1.11.20 Olm version: 3.2.12
Homeserver
Synapse / half-shot.uk
Will you send logs?
No
Activity
Half-Shot commentedon Feb 6, 2023
Debugging notes
So far in my investigation, I can see that
matrix-js-sdk
correctly matches a PushRule against the encrypted event sogetPushActionsForEvent
will return a object with{"notify": false}
However, the subsequent logic block assumes that if the event does not
highlight
and thehighlight
count hasn't changed, no more adjustments need to be made on the client.m.notice
in e2ee room matrix-org/matrix-hookshot#638Merge tag 'v23.4.0' into sc