Files
element-web/src
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-09-02 14:27:55 +02:00
2021-07-02 17:08:27 +02:00
2021-09-07 18:49:31 +01:00
2021-06-29 13:11:58 +01:00
2021-09-14 14:41:55 +01:00
2021-06-29 13:11:58 +01:00
2021-07-10 15:43:46 +01:00
2021-08-24 18:22:06 +02:00
2021-08-25 18:25:20 -06:00
2021-08-06 08:19:49 +02:00
2021-07-14 19:16:34 +01:00
2021-09-03 10:38:39 +01:00
2021-08-27 16:19:59 +02:00
2021-08-05 17:56:16 -04:00
2021-06-29 13:11:58 +01:00
2021-08-04 10:34:48 +02:00
2021-05-14 14:22:31 -06:00
2021-07-31 11:50:25 -06:00
2021-06-29 13:11:58 +01:00
2021-06-29 13:11:58 +01:00
2021-08-24 09:09:28 +01:00
2021-09-11 08:19:41 +02:00
2021-07-20 10:33:52 +01:00
2021-08-19 10:43:48 +02:00
2021-09-15 14:17:52 +01:00
2021-06-29 13:11:58 +01:00
2021-07-23 10:35:10 +01:00
2021-06-29 13:11:58 +01:00
2021-07-02 12:12:41 +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-10 16:00:04 +01:00
2021-06-29 13:11:58 +01:00
2021-06-29 13:11:58 +01:00
2021-08-31 16:11:22 +01:00
2021-06-29 13:11:58 +01:00
2021-07-20 12:30:41 +02:00
2021-07-10 15:43:46 +01:00
2021-06-29 13:11:58 +01:00