fix: threads get updated properly

Workaround for element web while waiting for https://github.com/matrix-org/matrix-js-sdk/pull/3635
This commit is contained in:
Timo Kösters 2023-07-31 16:18:23 +02:00
parent afd8112e25
commit acfe381dd3
No known key found for this signature in database
GPG key ID: 0B25E636FBA7E4CB
9 changed files with 50 additions and 29 deletions

View file

@ -445,6 +445,9 @@ pub async fn get_room_event_route(
));
}
let mut event = (*event).clone();
event.add_age()?;
Ok(get_room_event::v3::Response {
event: event.to_room_event(),
})