mirror of
https://github.com/chatmail/core.git
synced 2026-05-13 11:56:30 +03:00
typos
This commit is contained in:
@@ -1657,7 +1657,7 @@ async fn apply_group_changes(
|
|||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
match mime_parser.get_header(HeaderDef::InReplyTo) {
|
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(reply_to) if rfc724_mid_exists(context, reply_to).await?.is_none() => true,
|
||||||
Some(_) => self_added,
|
Some(_) => self_added,
|
||||||
None => false,
|
None => false,
|
||||||
|
|||||||
@@ -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?;
|
remove_contact_from_chat(&bob, bob_chat_id, bob_contact_fiona).await?;
|
||||||
bob.pop_sent_msg().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?;
|
let bob_blue = Contact::create(&bob, "blue", "blue@example.net").await?;
|
||||||
add_contact_to_chat(&bob, bob_chat_id, bob_blue).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?;
|
let single_chat = Chat::load_from_db(&alice, msg.chat_id).await?;
|
||||||
assert_eq!(single_chat.typ, Chattype::Group);
|
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(
|
let msg3 = receive_imf(
|
||||||
&alice,
|
&alice,
|
||||||
b"Subject: Re: Message from alice\r\n\
|
b"Subject: Re: Message from alice\r\n\
|
||||||
|
|||||||
Reference in New Issue
Block a user