Fix typo
This commit is contained in:
parent
07a3a6fa9a
commit
090d0fe684
1 changed files with 4 additions and 3 deletions
|
@ -1947,9 +1947,10 @@ impl Rooms {
|
|||
Ok(_) => {}
|
||||
Err(e) => {
|
||||
return match e {
|
||||
ruma::signatures::Error::PduSize => {
|
||||
Err(Error::BadRequest(ErrorKind::TooLarge, "Message is to long"))
|
||||
}
|
||||
ruma::signatures::Error::PduSize => Err(Error::BadRequest(
|
||||
ErrorKind::TooLarge,
|
||||
"Message is too long",
|
||||
)),
|
||||
_ => Err(Error::BadRequest(
|
||||
ErrorKind::Unknown,
|
||||
"Signing event failed",
|
||||
|
|
Loading…
Reference in a new issue