mirror of
https://github.com/chatmail/core.git
synced 2026-05-14 20:36:30 +03:00
streamline dc_add_device_msg_once|unlabelled() to one function
This commit is contained in:
@@ -247,7 +247,7 @@ fn maybe_add_bcc_self_device_msg(context: &Context) -> Result<()> {
|
||||
go to the settings and enable \"Send copy to self\"."
|
||||
.to_string(),
|
||||
);
|
||||
chat::add_device_msg_once(context, "bcc-self-hint", &mut msg)?;
|
||||
chat::add_device_msg(context, Some("bcc-self-hint"), &mut msg)?;
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user