element-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 Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
autocomplete Auto-fix lint errors 2021-06-29 13:11:58 +01:00
components Show updated relation reply from edited message - v2 (#6817) 2021-09-17 15:18:52 -05:00
editor Fix tests 2021-07-15 10:59:52 +01:00
end-to-end-tests delint 2021-09-10 11:01:01 +01:00
i18n
i18n-test Attempt to fix tests some more 2020-09-15 13:19:47 +01:00
img
notifications Update eslint plugin & fix silly indenting 2021-08-03 17:07:37 +01:00
stores Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18088 2021-09-08 15:28:58 +01:00
utils Add tests for formatSeconds() 2021-08-27 16:20:29 +02:00
.eslintrc.js Migrate to `eslint-plugin-matrix-org` 2021-06-29 12:51:13 +01:00
CallHandler-test.ts Start a call immediately after creating a room via the dial pad (#6529) 2021-08-04 09:46:39 +01:00
DecryptionFailureTracker-test.js fix more private field accesses in tests 2021-06-17 15:23:29 +01:00
KeyBindingsManager-test.ts Comply with new member-delimiter-style rule 2021-07-01 23:23:03 +01:00
PosthogAnalytics-test.ts fix tests 2021-09-15 13:55:34 +01:00
ScalarAuthClient-test.js Auto-fix lint errors 2021-06-29 13:11:58 +01:00
Terms-test.js Auto-fix lint errors 2021-06-29 13:11:58 +01:00
TextForEvent-test.ts Handle case where one message is pinned, and another unpinned 2021-08-11 14:56:59 +01:00
UserActivity-test.js lolex renamed to @sinonjs/fake-timers 2021-01-27 12:31:37 +00:00
createRoom-test.js Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
setupTests.js Add TextEncoder polyfill for test run 2021-06-11 12:33:02 +01:00
skinned-sdk.js Auto-fix lint errors 2021-06-29 13:11:58 +01:00
test-utils.js Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18089 2021-08-12 11:41:03 +01:00