fix: Add backfill ACL check
This commit is contained in:
parent
3620268577
commit
3518ee048d
1 changed files with 5 additions and 0 deletions
|
@ -982,6 +982,11 @@ pub async fn get_backfill_route(
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
services()
|
||||||
|
.rooms
|
||||||
|
.event_handler
|
||||||
|
.acl_check(sender_servername, &body.room_id)?;
|
||||||
|
|
||||||
let origin = services().globals.server_name().to_owned();
|
let origin = services().globals.server_name().to_owned();
|
||||||
let earliest_events = &[];
|
let earliest_events = &[];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue