Add missing pub key in send_join handling
This commit is contained in:
parent
33cae7eaab
commit
89c3679e9a
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue