1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-08-01 17:38:36 +00:00

Add missing pub key in send_join handling

This commit is contained in:
Val Lorentz 2023-12-12 18:41:06 +00:00
parent 28db5ada33
commit e7f4dd470e

View file

@ -1595,6 +1595,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