Add missing pub key in send_join handling

This commit is contained in:
Val Lorentz 2023-12-12 18:41:06 +00:00 committed by June
parent 33cae7eaab
commit 89c3679e9a

View file

@ -1671,6 +1671,12 @@ async fn create_join_event(
)
.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