1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-02-18 12:42:35 +03:00

fix: Add backfill ACL check

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

View file

@ -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 earliest_events = &[];