Skip to content

Commit

Permalink
adapt to new deletion API
Browse files Browse the repository at this point in the history
  • Loading branch information
r10s committed Nov 7, 2024
1 parent 658dac6 commit c4f89bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6971,7 +6971,7 @@ mod tests {
assert_ne!(saved_msg.rfc724_mid(), rcvd_msg.rfc724_mid());

// delete original message
rcvd_msg.id.delete_from_db(&bob).await?;
delete_msgs(&bob, &[rcvd_msg.id]).await?;
let saved_msg = Message::load_from_db(&bob, saved_msg.id).await?;
assert!(saved_msg.get_original_msg_id(&bob).await?.is_none());
assert_eq!(
Expand Down

0 comments on commit c4f89bb

Please sign in to comment.