Eric Eastwood
9c3439a1aa
Show updated relation reply from edited message - v2 (#6817)
Part of https://github.com/vector-im/element-web/issues/10391
When `m.relates_to` -> `m.in_reply_to` is provided in `m.new_content`
for an edited message, use the updated reply.
ex.
```json
{
"type": "m.room.message",
"content": {
"body": " * foo bar",
"msgtype": "m.text",
"m.new_content": {
"body": "foo bar",
"msgtype": "m.text",
"m.relates_to": {
"m.in_reply_to": {
"event_id": "$qkjmFBTEc0VvfVyzq1CJuh1QZi_xDIgNEFjZ4Pq34og"
}
}
},
"m.relates_to": {
"rel_type": "m.replace",
"event_id": "$lX9MRe9ZTFOOvnU8PRVbvr1wqGtYvNQ1rSot-iUTN5k"
}
}
}
```
2021-09-17 15:18:52 -05:00
..
2021-07-19 22:43:11 +01:00
2021-06-29 13:11:58 +01:00
2021-09-17 15:18:52 -05:00
2021-07-15 10:59:52 +01:00
2021-09-10 11:01:01 +01:00
2017-06-01 21:10:32 +02:00
2020-09-15 13:19:47 +01:00
2016-10-11 14:20:40 +01:00
2021-08-03 17:07:37 +01:00
2021-09-08 15:28:58 +01:00
2021-08-27 16:20:29 +02:00
2021-06-29 12:51:13 +01:00
2021-08-04 09:46:39 +01:00
2021-07-19 22:43:11 +01:00
2021-06-17 15:23:29 +01:00
2021-07-01 23:23:03 +01:00
2021-09-15 13:55:34 +01:00
2021-06-29 13:11:58 +01:00
2021-06-11 12:33:02 +01:00
2021-06-29 13:11:58 +01:00
2021-06-29 13:11:58 +01:00
2021-08-12 11:41:03 +01:00
2021-08-11 14:56:59 +01:00
2021-01-27 12:31:37 +00:00