-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
type
property missing for m.reference
relations
#7941
Comments
Is this a bug with the Telegram bridge? |
As I understand it, the (Though even if it were a buggy appservice, that would just make this an input validation issue!) Anyway, seeing something similar for {
content: {
body: 'redacted',
msgtype: 'm.text'
},
origin_server_ts: 1595367512866,
room_id: '!redacted:matrix.org',
sender: '@redacted:example.com',
type: 'm.room.message',
unsigned: {
age: 171403042,
'm.relations': {
'm.annotation': { chunk: [ { type: 'm.reaction', key: '💥', count: 1 } ] }
}
},
event_id: '$redacted',
user_id: '@redacted:example.com',
age: 171403042
}, The MSC is slightly less explicit about the requiredness of that one, though. |
Can anyone help me, I was trying to find where percisely |
Looks like the code around this is at synapse/synapse/events/utils.py Lines 382 to 393 in 9dde9c9
|
As statet by @joepie91, the MSC specifying that an @clokep Since MSC3267 is still ongoing work (more specifically, it has no proposal lifetime state label), I would suggest to make clear that this issue should only be resolved after MSC3267 is accepted. |
Yeah, the state of those MSCs is quite confusing; MSC3267 specifically says it doesn't declare a bundled aggregation format, but MSC2675 also doesn't declare one. (Note that MSC1849 is obsolete as you mention.) I'll make a note on MSC3267 about this inconsistency, but for now I'm going to close this issue since it isn't clear it is a Synapse issue. |
I received the following event from Synapse for a bridged Telegram message:
However, MSC 1849 says:
... which implies that the server is required to provide the
type
property for them.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.)
The text was updated successfully, but these errors were encountered: