matrix-org/dendrite

The transaction_id within events is not serialised in many endpoints

Offen

#3.000 geöffnet am 06.03.2023

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (658 Forks)auto 404
O-FrequentT-Defectgood first issuespec-compliance

Repository-Metriken

Stars
 (5.632 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Similar to https://github.com/matrix-org/synapse/issues/15173 in Synapse

There are many endpoints that return events, and in those representations they should include the transaction_id in the unsigned part of the event.

I wrote a Complement test to highlight that Synapse had this issue by testing using the /rooms/{roomId}/event/{eventId} endpoint, and Dendrite also fails on this test. I haven't tested the other endpoints, nor covered them in the Complement test. https://github.com/matrix-org/complement/pull/621

Contributor Guide