riot-web/test
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
..
accessibility
autocomplete
components Show updated relation reply from edited message - v2 (#6817) 2021-09-17 15:18:52 -05:00
editor
end-to-end-tests
i18n
i18n-test
img
notifications
stores
utils
.eslintrc.js
CallHandler-test.ts
DecryptionFailureTracker-test.js
KeyBindingsManager-test.ts
PosthogAnalytics-test.ts
ScalarAuthClient-test.js
Terms-test.js
TextForEvent-test.ts
UserActivity-test.js
createRoom-test.js
setupTests.js
skinned-sdk.js
test-utils.js