Files
element-web/src/components/views/elements
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-06-29 13:11:58 +01:00
2021-08-25 09:05:07 +01:00
2021-07-20 12:42:21 +02:00
2021-07-21 20:48:50 +02:00
2021-07-23 10:35:10 +01:00
2021-08-19 06:43:12 +02:00
2021-06-29 13:11:58 +01:00
2021-06-29 13:11:58 +01:00
2021-06-29 13:11:58 +01:00
2021-06-29 13:11:58 +01:00
2021-08-23 13:17:40 +02:00
2021-06-29 13:11:58 +01:00
2021-09-01 16:50:13 +02:00
2021-06-29 13:11:58 +01:00
2021-06-29 13:11:58 +01:00
2021-06-29 13:11:58 +01:00
2021-07-29 16:30:07 +02:00
2021-07-23 10:35:10 +01:00
2021-06-29 13:11:58 +01:00
2021-06-29 13:11:58 +01:00
2021-08-24 13:05:46 +02:00
2021-06-18 16:13:55 +01:00
2021-06-29 13:11:58 +01:00
2021-07-13 00:02:44 -06:00
2021-06-29 13:11:58 +01:00
2021-06-29 13:11:58 +01:00
2021-07-16 23:51:44 -06:00
2021-07-03 10:44:03 +02:00
2021-07-23 10:35:10 +01:00
2021-07-03 10:59:57 +02:00
2021-06-29 13:11:58 +01:00
2021-06-29 13:11:58 +01:00