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 |
|
Travis Ralston
|
a103a2ceaa
|
Revert "Show updated relation reply from edited message (#6809)"
This reverts commit eaab8e1570 .
|
2021-09-15 14:34:28 -06:00 |
|
Eric Eastwood
|
eaab8e1570
|
Show updated relation reply from edited message (#6809)
Part of https://github.com/vector-im/element-web/issues/10391#issuecomment-906131724
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-15 11:49:04 -05:00 |
|
Germain Souquet
|
2ce8647120
|
Prevent unstable property to be sent with all events
|
2021-09-02 08:36:20 +01:00 |
|
Germain Souquet
|
95d1b06abb
|
Make composer able to reply in thread or in room timeline
|
2021-09-01 12:12:40 +01:00 |
|
Šimon Brandner
|
e439d2e911
|
Delint
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
|
2021-07-17 15:29:18 +02:00 |
|
Šimon Brandner
|
03ce480066
|
Convert ReplyThread to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
|
2021-07-17 15:06:21 +02:00 |
|