run nightly cargo fmt again

Signed-off-by: June Clementine Strawberry <june@3.dog>
This commit is contained in:
June Clementine Strawberry 2025-03-02 23:15:05 -05:00
parent 17e0384eeb
commit de53ad83b2
No known key found for this signature in database
11 changed files with 45 additions and 28 deletions

View file

@ -58,10 +58,11 @@ pub(super) async fn fetch_state(
| hash_map::Entry::Vacant(v) => {
v.insert(pdu.event_id.clone());
},
| hash_map::Entry::Occupied(_) =>
| hash_map::Entry::Occupied(_) => {
return Err!(Database(
"State event's type and state_key combination exists multiple times.",
)),
));
},
}
}

View file

@ -56,10 +56,11 @@ pub(super) async fn handle_outlier_pdu<'a>(
obj
},
| Err(e) =>
| Err(e) => {
return Err!(Request(InvalidParam(debug_error!(
"Signature verification failed for {event_id}: {e}"
)))),
))));
},
};
// Now that we have checked the signature and hashes we can add the eventID and