chore: Beta Clippy suggestions (#6422)

This commit is contained in:
Hocuri
2025-01-11 17:58:38 +01:00
committed by GitHub
parent de63527d94
commit 5dc8788eab
4 changed files with 4 additions and 8 deletions

View File

@@ -1851,7 +1851,6 @@ impl Chat {
profile_image: self
.get_profile_image(context)
.await?
.map(Into::into)
.unwrap_or_else(std::path::PathBuf::new),
draft,
is_muted: self.is_muted(),
@@ -2565,7 +2564,6 @@ impl ChatIdBlocked {
},
)
.await
.map_err(Into::into)
}
/// Returns the chat for the 1:1 chat with this contact.