This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
type
property missing for m.reference
relations #7941
Closed
Description
I received the following event from Synapse for a bridged Telegram message:
{
type: 'm.room.message',
room_id: '!redacted:pixie.town',
sender: '@telegram_redacted:pixie.town',
content: {
msgtype: 'm.text',
body: 'redacted',
external_url: 'https://t.me/c/redacted'
},
origin_server_ts: 1595536311000,
unsigned: {
age: 710692,
'm.relations': {
'm.reference': {
chunk: [
{
event_id: '$redacted1'
}
]
}
}
},
event_id: '$redacted2',
user_id: '@telegram_redacted:pixie.town',
age: 710692
},
However, MSC 1849 says:
m.reference list the event_id and event type of the events which reference that event.
... which implies that the server is required to provide the type
property for the m.reference
relation, but it is currently missing.
(I realize that the MSC hasn't been finalized and merged yet, but I'm filing an issue anyway to make sure it doesn't get overlooked later.)