Upgrade Ruma

This commit is contained in:
Jonas Platte 2022-01-13 11:44:23 +01:00
parent 8e12b47df4
commit 349865d3cc
No known key found for this signature in database
GPG key ID: CC154DE0E30B7C67
3 changed files with 21 additions and 21 deletions

View file

@ -160,7 +160,7 @@ pub async fn get_message_events_route(
.collect();
let mut resp = get_message_events::Response::new();
resp.start = Some(body.from.to_owned());
resp.start = body.from.to_owned();
resp.end = end_token;
resp.chunk = events_after;
resp.state = Vec::new();
@ -190,7 +190,7 @@ pub async fn get_message_events_route(
.collect();
let mut resp = get_message_events::Response::new();
resp.start = Some(body.from.to_owned());
resp.start = body.from.to_owned();
resp.end = start_token;
resp.chunk = events_before;
resp.state = Vec::new();