mirror of
https://github.com/chatmail/core.git
synced 2026-05-03 21:36:29 +03:00
api!: make MsgId.delete_from_db() private
Use `delete_msgs()` if you are using the Delta Chat core as a library and want to delete a message.
This commit is contained in:
@@ -1274,7 +1274,7 @@ RETURNING id
|
||||
|
||||
if let Some(replace_msg_id) = replace_msg_id {
|
||||
// "Replace" placeholder with a message that has no parts.
|
||||
replace_msg_id.delete_from_db(context).await?;
|
||||
replace_msg_id.trash(context).await?;
|
||||
}
|
||||
|
||||
chat_id.unarchive_if_not_muted(context, state).await?;
|
||||
|
||||
Reference in New Issue
Block a user