matrix-org/dendrite

The transaction_id within events is not serialised in many endpoints

Ouverte

#3 000 ouverte le 6 mars 2023

 (3 commentaires) (0 réaction) (0 personne assignée)Go (658 forks)auto 404
O-FrequentT-Defectgood first issuespec-compliance

Métriques du dépôt

Stars
 (5 632 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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

Guide contributeur