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:
link2xt
2023-07-23 11:44:46 +00:00
parent 60bacbec47
commit 8ed6d4d709
4 changed files with 7 additions and 7 deletions

View File

@@ -1964,7 +1964,7 @@ mod tests {
let incoming_msg = get_chat_msg(&t, new_msg.chat_id, 0, 2).await;
if delete_original_msg {
incoming_msg.id.delete_from_db(&t).await.unwrap();
incoming_msg.id.trash(&t).await.unwrap();
}
if message_arrives_inbetween {