feat: verify signatures for incoming requests
This commit is contained in:
parent
f89e3668fd
commit
1f84013b2a
2 changed files with 149 additions and 9 deletions
|
@ -2106,7 +2106,10 @@ pub fn get_room_information_route<'a>(
|
|||
let room_id = db
|
||||
.rooms
|
||||
.id_from_alias(&body.room_alias)?
|
||||
.ok_or(Error::BadRequest(ErrorKind::NotFound, "Room alias not found."))?;
|
||||
.ok_or(Error::BadRequest(
|
||||
ErrorKind::NotFound,
|
||||
"Room alias not found.",
|
||||
))?;
|
||||
|
||||
Ok(get_room_information::v1::Response {
|
||||
room_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue