mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 17:36:29 +03:00
Remove unnecessary mut qualifier
This commit is contained in:
@@ -395,7 +395,7 @@ pub async fn from_field_to_contact_id(
|
|||||||
#[allow(clippy::too_many_arguments, clippy::cognitive_complexity)]
|
#[allow(clippy::too_many_arguments, clippy::cognitive_complexity)]
|
||||||
async fn add_parts(
|
async fn add_parts(
|
||||||
context: &Context,
|
context: &Context,
|
||||||
mut mime_parser: &mut MimeMessage,
|
mime_parser: &mut MimeMessage,
|
||||||
imf_raw: &[u8],
|
imf_raw: &[u8],
|
||||||
incoming: bool,
|
incoming: bool,
|
||||||
incoming_origin: Origin,
|
incoming_origin: Origin,
|
||||||
@@ -525,7 +525,7 @@ async fn add_parts(
|
|||||||
|
|
||||||
if let Some((new_chat_id, new_chat_id_blocked)) = create_or_lookup_group(
|
if let Some((new_chat_id, new_chat_id_blocked)) = create_or_lookup_group(
|
||||||
context,
|
context,
|
||||||
&mut mime_parser,
|
mime_parser,
|
||||||
sent_timestamp,
|
sent_timestamp,
|
||||||
if test_normal_chat.is_none() {
|
if test_normal_chat.is_none() {
|
||||||
allow_creation
|
allow_creation
|
||||||
@@ -755,7 +755,7 @@ async fn add_parts(
|
|||||||
if chat_id.is_none() {
|
if chat_id.is_none() {
|
||||||
if let Some((new_chat_id, new_chat_id_blocked)) = create_or_lookup_group(
|
if let Some((new_chat_id, new_chat_id_blocked)) = create_or_lookup_group(
|
||||||
context,
|
context,
|
||||||
&mut mime_parser,
|
mime_parser,
|
||||||
sent_timestamp,
|
sent_timestamp,
|
||||||
allow_creation,
|
allow_creation,
|
||||||
Blocked::Not,
|
Blocked::Not,
|
||||||
|
|||||||
Reference in New Issue
Block a user