mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
fix(hydra): Incorrect "auth event for incorrect room"
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user