fix: make redactions permanent
This commit is contained in:
parent
b519bc6962
commit
5a47c75427
3 changed files with 28 additions and 7 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue