This commit is contained in:
Sebastian Klähn
2023-01-30 18:47:07 +01:00
parent d850813ef0
commit bf52a77f98
2 changed files with 3 additions and 3 deletions

View File

@@ -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,

View File

@@ -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\