This repository was archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
type
property missing for m.reference
relations #7941
Copy link
Copy link
Closed
Labels
S-TolerableMinor significance, cosmetic issues, low or no impact to users.Minor significance, cosmetic issues, low or no impact to users.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.Bugs, crashes, hangs, security vulnerabilities, or other reported issues.Z-Help-WantedWe know exactly how to fix this issue, and would be grateful for any contributionWe know exactly how to fix this issue, and would be grateful for any contributiongood first issueGood for newcomersGood for newcomersz-p3(Deprecated Label)(Deprecated Label)
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.)
Metadata
Metadata
Assignees
Labels
S-TolerableMinor significance, cosmetic issues, low or no impact to users.Minor significance, cosmetic issues, low or no impact to users.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.Bugs, crashes, hangs, security vulnerabilities, or other reported issues.Z-Help-WantedWe know exactly how to fix this issue, and would be grateful for any contributionWe know exactly how to fix this issue, and would be grateful for any contributiongood first issueGood for newcomersGood for newcomersz-p3(Deprecated Label)(Deprecated Label)