feat: federated room directory
This commit is contained in:
parent
120b6f4b95
commit
720cc0cffc
5 changed files with 43 additions and 66 deletions
|
@ -458,7 +458,8 @@ impl Data {
|
|||
.expect("ruma's reference hashes are correct");
|
||||
|
||||
let mut pdu_json = serde_json::to_value(&pdu).unwrap();
|
||||
ruma_signatures::hash_and_sign_event(self.hostname(), self.keypair(), &mut pdu_json);
|
||||
ruma_signatures::hash_and_sign_event(self.hostname(), self.keypair(), &mut pdu_json)
|
||||
.unwrap();
|
||||
|
||||
self.pdu_leaves_replace(&room_id, &pdu.event_id);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue