mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 01:16:31 +03:00
make clippy happy
This commit is contained in:
@@ -405,15 +405,13 @@ async fn add_parts(
|
|||||||
.await
|
.await
|
||||||
.unwrap_or_default();
|
.unwrap_or_default();
|
||||||
|
|
||||||
if chat_id.is_unset() {
|
if chat_id.is_unset() && mime_parser.failure_report.is_some() {
|
||||||
if mime_parser.failure_report.is_some() {
|
|
||||||
*chat_id = ChatId::new(DC_CHAT_ID_TRASH);
|
*chat_id = ChatId::new(DC_CHAT_ID_TRASH);
|
||||||
info!(
|
info!(
|
||||||
context,
|
context,
|
||||||
"Message belongs to an NDN and is not shown in a chat.",
|
"Message belongs to an NDN and is not shown in a chat.",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// get the chat_id - a chat_id here is no indicator that the chat is displayed in the normal list,
|
// get the chat_id - a chat_id here is no indicator that the chat is displayed in the normal list,
|
||||||
// it might also be blocked and displayed in the deaddrop as a result
|
// it might also be blocked and displayed in the deaddrop as a result
|
||||||
|
|||||||
Reference in New Issue
Block a user