1
0
Fork 0
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:
nexy7574 2025-09-11 21:36:36 +01:00
parent 344e1e7d76
commit 540cd28d44
No known key found for this signature in database

View file

@ -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,