enable match_same_arms lint

This commit is contained in:
Charles Hall 2024-05-14 17:54:03 -07:00
parent 4e6c8451ca
commit 2b8b5ccb1a
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
6 changed files with 5 additions and 7 deletions

View file

@ -770,7 +770,6 @@ pub(crate) async fn send_transaction_message_route(
.filter_map(|edu| serde_json::from_str::<Edu>(edu.json().get()).ok())
{
match edu {
Edu::Presence(_) => {}
Edu::Receipt(receipt) => {
for (room_id, room_updates) in receipt.receipts {
for (user_id, user_updates) in room_updates.read {
@ -922,7 +921,7 @@ pub(crate) async fn send_transaction_message_route(
)?;
}
}
Edu::_Custom(_) => {}
Edu::_Custom(_) | Edu::Presence(_) => {}
}
}