Skip to content

Commit 7acd920

Browse files
committed
cleanup
1 parent c6d139a commit 7acd920

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

src/mimeparser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use format_flowed::unformat_flowed;
1313
use mailparse::{addrparse_header, DispositionType, MailHeader, MailHeaderMap, SingleInfo};
1414
use mime::Mime;
1515

16-
use crate::aheader::{Aheader, EncryptPreference};
16+
use crate::aheader::Aheader;
1717
use crate::authres::handle_authres;
1818
use crate::blob::BlobObject;
1919
use crate::chat::ChatId;

src/receive_imf/receive_imf_tests.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ use std::time::Duration;
44
use tokio::fs;
55

66
use super::*;
7-
use crate::aheader::EncryptPreference;
87
use crate::chat::{
98
add_contact_to_chat, add_to_chat_contacts_table, create_group_chat, get_chat_contacts,
109
get_chat_msgs, is_contact_in_chat, remove_contact_from_chat, send_text_msg, ChatItem,

src/securejoin.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ use anyhow::{ensure, Context as _, Error, Result};
44
use deltachat_contact_tools::ContactAddress;
55
use percent_encoding::{utf8_percent_encode, NON_ALPHANUMERIC};
66

7-
use crate::aheader::EncryptPreference;
87
use crate::chat::{self, get_chat_id_by_grpid, Chat, ChatId, ChatIdBlocked, ProtectionStatus};
98
use crate::chatlist_events;
109
use crate::config::Config;

src/securejoin/securejoin_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ async fn test_setup_contact_bob_knows_alice() -> Result<()> {
350350
let bob = tcm.bob().await;
351351

352352
// Ensure Bob knows Alice_FP
353-
let alice_contact_id = bob.add_or_lookup_contact_id(alice).await;
353+
let alice_contact_id = bob.add_or_lookup_contact_id(&alice).await;
354354

355355
// Step 1: Generate QR-code, ChatId(0) indicates setup-contact
356356
let qr = get_securejoin_qr(&alice.ctx, None).await?;

0 commit comments

Comments
 (0)