From 06bec405916e4477052e6e8f386998bc2778d6c3 Mon Sep 17 00:00:00 2001 From: strawberry Date: Wed, 22 May 2024 18:24:42 -0400 Subject: [PATCH] fix: add missing fetch_required_signing_keys for remote send_leave Signed-off-by: strawberry --- src/api/server_server.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/api/server_server.rs b/src/api/server_server.rs index f9592e3b..22e65dae 100644 --- a/src/api/server_server.rs +++ b/src/api/server_server.rs @@ -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