fix: Add backfill ACL check

This commit is contained in:
Nyaaori 2022-09-03 14:16:32 +02:00
parent 711e03b799
commit c4bd0a9f2c
No known key found for this signature in database
GPG key ID: E7819C3ED4D1F82E

View file

@ -980,6 +980,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 earliest_events = &[];