matrix-org/dendrite

The transaction_id within events is not serialised in many endpoints

Aberta

#3.000 aberto em 6 de mar. de 2023

 (3 comentários) (0 reação) (0 responsável)Go (658 forks)auto 404
O-FrequentT-Defectgood first issuespec-compliance

Métricas do repositório

Stars
 (5.632 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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

Guia do colaborador