1 parent
ecc201ef50
commit
698e3c4a1b
124 files changed
+4593
-2721
No files matched your search
+3
-3
@@ -411,7 +411,7 @@ async fn cleanup_draft(data_dir: &str, user_hash: &str, draft_id: &str) {
|
||||
}
|
||||
|
||||
fn resolve_recipient_public_keys(
|
||||
conn: &rusqlite::Connection,
|
||||
conn: &crate::db::pool::Connection,
|
||||
to: &[String],
|
||||
cc: &[String],
|
||||
) -> Result<Vec<(String, String, String)>, AppError> {
|
||||
@@ -437,7 +437,7 @@ fn resolve_recipient_public_keys(
|
||||
}
|
||||
|
||||
fn resolve_sender_public_key(
|
||||
conn: &rusqlite::Connection,
|
||||
conn: &crate::db::pool::Connection,
|
||||
identity: Option<&crate::db::identities::Identity>,
|
||||
sender_email: &str,
|
||||
) -> Result<(String, String), AppError> {
|
||||
@@ -486,7 +486,7 @@ fn resolve_pgp_mode(
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn build_pgp_send_config(
|
||||
conn: &rusqlite::Connection,
|
||||
conn: &crate::db::pool::Connection,
|
||||
data_dir: &str,
|
||||
user_hash: &str,
|
||||
mode: PgpMode,
|
||||
|
||||
Reference in new issue
Block a user