fix: add missing fetch_required_signing_keys for remote send_leave

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-05-22 18:24:42 -04:00 committed by June 🍓🦴
parent 9a7ba94ccf
commit 06bec40591

View file

@ -1409,6 +1409,12 @@ async fn create_leave_event(sender_servername: &ServerName, room_id: &RoomId, pd
)
.map_err(|_| Error::BadRequest(ErrorKind::InvalidParam, "Origin field is invalid."))?;
services()
.rooms
.event_handler
.fetch_required_signing_keys([&value], &pub_key_map)
.await?;
let mutex = Arc::clone(
services()
.globals