Skip to content

Receipt for a redaction within a thread is sent to the main thread #26363

Closed
@andybalaam

Description

Part of #24392 (Stuck Notifications)

(Found while debugging "Reading an unread thread after a redaction of the latest message makes it read" inside cypress/e2e/read-receipts/redactions.spec.ts.)

When I open an unread thread where the last message was a redaction of a message within that thread, I see this request in the Network tab in my browser:

http://example.com/_matrix/client/v3/rooms/!roomid/receipt/m.read/%24eventtoredactid

{
  "thread_id": "main"
}

which is incorrect, because the redaction event happened within the thread, so we should be sending a body of:

{
    "thread_id": "$mythreadid"
}

Metadata

Assignees

Labels

A-NotificationsO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existT-Defect

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions