Malformed reply can cause stuck notification #26787
Labels
A-Notifications
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Major
Severely degrades major functionality or product features, with no satisfactory workaround
T-Defect
Steps to reproduce
If a (buggy) client sends (in a room with 'all messages' mode enabled) a reply to a threaded event but does not include the thread relation in the reply, this appears to cause element web to get stuck with a notification on the main room (but clear the unread status on the thread).
My guess at a cause: synapse does not class the message as being in the thread but Element does?
This was causing playwright tests to fail because the buggy client in question was our playwright message faking bot, which is how I discovered this (see matrix-org/matrix-react-sdk#12070).
Outcome
What did you expect?
Reading the thread should mark the room + thread as read
What happened instead?
Stuck notif badge on room
Operating system
No response
Browser information
No response
URL for webapp
No response
Application version
No response
Homeserver
No response
Will you send logs?
No
The text was updated successfully, but these errors were encountered: