diff --git a/src/receive_imf.rs b/src/receive_imf.rs index e6e62c1a2..3ed010eb3 100644 --- a/src/receive_imf.rs +++ b/src/receive_imf.rs @@ -1657,7 +1657,7 @@ async fn apply_group_changes( .await?; match mime_parser.get_header(HeaderDef::InReplyTo) { - // If we don't know the referenced message we, we missed some messages which could be add/delete + // If we don't know the referenced message, we missed some messages which could be add/delete Some(reply_to) if rfc724_mid_exists(context, reply_to).await?.is_none() => true, Some(_) => self_added, None => false, diff --git a/src/receive_imf/tests.rs b/src/receive_imf/tests.rs index a4e8c8793..8f86e7c64 100644 --- a/src/receive_imf/tests.rs +++ b/src/receive_imf/tests.rs @@ -3330,7 +3330,7 @@ async fn test_rebuild_contact_list_on_missing_message() -> Result<()> { remove_contact_from_chat(&bob, bob_chat_id, bob_contact_fiona).await?; bob.pop_sent_msg().await; - // bob ads a new member + // bob adds a new member let bob_blue = Contact::create(&bob, "blue", "blue@example.net").await?; add_contact_to_chat(&bob, bob_chat_id, bob_blue).await?; @@ -3403,7 +3403,7 @@ async fn test_mua_cant_remove() -> Result<()> { let single_chat = Chat::load_from_db(&alice, msg.chat_id).await?; assert_eq!(single_chat.typ, Chattype::Group); - // Bob uses a classical MUA to answer again, removing a receipient. + // Bob uses a classical MUA to answer again, removing a recipient. let msg3 = receive_imf( &alice, b"Subject: Re: Message from alice\r\n\