chore: clippy
This commit is contained in:
parent
03c02133a2
commit
aa725b0ecb
1 changed files with 2 additions and 2 deletions
|
@ -595,7 +595,7 @@ async fn join_room_by_id_helper(
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
if &signed_event_id != event_id {
|
if signed_event_id != event_id {
|
||||||
return Err(Error::BadRequest(
|
return Err(Error::BadRequest(
|
||||||
ErrorKind::InvalidParam,
|
ErrorKind::InvalidParam,
|
||||||
"Server sent event with wrong event id",
|
"Server sent event with wrong event id",
|
||||||
|
@ -916,7 +916,7 @@ async fn join_room_by_id_helper(
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
if &signed_event_id != event_id {
|
if signed_event_id != event_id {
|
||||||
return Err(Error::BadRequest(
|
return Err(Error::BadRequest(
|
||||||
ErrorKind::InvalidParam,
|
ErrorKind::InvalidParam,
|
||||||
"Server sent event with wrong event id",
|
"Server sent event with wrong event id",
|
||||||
|
|
Loading…
Add table
Reference in a new issue