matrix-org/dendrite

The transaction_id within events is not serialised in many endpoints

Aperta

#3000 aperta il 6 mar 2023

 (3 commenti) (0 reazioni) (0 assegnatari)Go (658 fork)auto 404
O-FrequentT-Defectgood first issuespec-compliance

Metriche repository

Star
 (5632 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor