fix: make redactions permanent

This commit is contained in:
timokoesters 2020-06-01 20:58:49 +02:00
parent b519bc6962
commit 5a47c75427
No known key found for this signature in database
GPG key ID: 24DA7517711A2BA4
3 changed files with 28 additions and 7 deletions

View file

@ -2260,12 +2260,12 @@ pub fn get_message_events_route(
.map(|pdu| pdu.to_room_event())
.collect::<Vec<_>>();
MatrixResult(Ok(dbg!(get_message_events::Response {
MatrixResult(Ok(get_message_events::Response {
start: Some(body.from.clone()),
end: prev_batch,
chunk: room_events,
state: Vec::new(),
})))
}))
} else {
MatrixResult(Err(Error {
kind: ErrorKind::Unknown,