1
0
Fork 0
mirror of https://forgejo.ellis.link/continuwuation/continuwuity.git synced 2025-09-30 18:42:05 +00:00

chore: Fix nightly-only clippy lints

This commit is contained in:
Jade Ellis 2025-09-10 17:32:28 +01:00
parent baa89586e2
commit 72b78ed6d4
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2
6 changed files with 24 additions and 33 deletions

View file

@ -439,13 +439,7 @@ impl Service {
notifi.counts = NotificationCounts::default();
}
if event_id_only {
self.send_request(
&http.url,
send_event_notification::v1::Request::new(notifi),
)
.await?;
} else {
if !event_id_only {
if *event.kind() == TimelineEventType::RoomEncrypted
|| tweaks
.iter()
@ -480,14 +474,11 @@ impl Service {
.get_canonical_alias(event.room_id())
.await
.ok();
self.send_request(
&http.url,
send_event_notification::v1::Request::new(notifi),
)
.await?;
}
self.send_request(&http.url, send_event_notification::v1::Request::new(notifi))
.await?;
Ok(())
},
// TODO: Handle email