mirror of
https://github.com/chatmail/core.git
synced 2026-05-06 16:36:59 +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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user