mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-30 18:42:05 +00:00
fix(hydra): Incorrect "auth event for incorrect room"
This commit is contained in:
parent
344e1e7d76
commit
540cd28d44
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ async fn get_auth_chain_inner(
|
|||
debug_error!(?event_id, ?e, "Could not find pdu mentioned in auth events");
|
||||
},
|
||||
| Ok(pdu) => {
|
||||
if pdu.room_id.as_ref().is_some_and(|r| r == room_id) {
|
||||
if pdu.room_id.as_ref().is_some_and(|r| *r == *room_id) {
|
||||
return Err!(Request(Forbidden(error!(
|
||||
?event_id,
|
||||
?room_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue