This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Fetching an event's content by its ID gives the latest edit content rather than the original #10310
Labels
A-Event-Endpoint
Fetch a single event, /_matrix/client/r0/rooms/{roomId}/event/{eventId} (`RoomEventServlet`)
P3
(OBSOLETE: use S- labels.) Approved backlog: not yet scheduled, will accept patches
S-Minor
Blocks non-critical functionality, workarounds exist.
T-Defect
Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Description
Fetching an event's content by its ID with the
GET /_matrix/client/r0/rooms/{roomId}/event/{eventId}
endpoint yields the content of the latest edit event rather than the content consistent with the ID.Steps to reproduce
I asked whether there's a way to get an event's original content in the #matrix-spec room without doing a full
/sync
and many concluded [ref] that the behavior outlined above is a bug (or at least ambiguously specified).Version information
If not matrix.org:
Version: 1.37.1
Install method: official Docker image: https://hub.docker.com/r/matrixdotorg/synapse
Platform: docker-compose
The text was updated successfully, but these errors were encountered: