Compare commits

..

No commits in common. "4244fa0d829880d36cc624881c73e9628c3189c6" and "1bbebad01bb2686a7ae42e087da8b9bd3685f2b4" have entirely different histories.

5 changed files with 17 additions and 17 deletions

16
Cargo.lock generated
View File

@ -3034,7 +3034,7 @@ dependencies = [
[[package]]
name = "letterbox-notmuch"
version = "0.17.11"
version = "0.17.10"
dependencies = [
"itertools",
"log",
@ -3049,7 +3049,7 @@ dependencies = [
[[package]]
name = "letterbox-procmail2notmuch"
version = "0.17.11"
version = "0.17.10"
dependencies = [
"anyhow",
"clap",
@ -3062,7 +3062,7 @@ dependencies = [
[[package]]
name = "letterbox-server"
version = "0.17.11"
version = "0.17.10"
dependencies = [
"ammonia",
"anyhow",
@ -3080,8 +3080,8 @@ dependencies = [
"futures 0.3.31",
"headers",
"html-escape",
"letterbox-notmuch 0.17.11",
"letterbox-shared 0.17.11",
"letterbox-notmuch 0.17.10",
"letterbox-shared 0.17.10",
"linkify",
"log",
"lol_html",
@ -3121,10 +3121,10 @@ dependencies = [
[[package]]
name = "letterbox-shared"
version = "0.17.11"
version = "0.17.10"
dependencies = [
"build-info",
"letterbox-notmuch 0.17.11",
"letterbox-notmuch 0.17.10",
"regex",
"serde",
"sqlx",
@ -3134,7 +3134,7 @@ dependencies = [
[[package]]
name = "letterbox-web"
version = "0.17.11"
version = "0.17.10"
dependencies = [
"build-info",
"build-info-build",

View File

@ -8,7 +8,7 @@ authors = ["Bill Thiede <git@xinu.tv>"]
edition = "2021"
license = "UNLICENSED"
publish = ["xinu"]
version = "0.17.11"
version = "0.17.10"
repository = "https://git.z.xinu.tv/wathiede/letterbox"
[profile.dev]

View File

@ -27,8 +27,8 @@ css-inline = "0.14.4"
futures = "0.3.31"
headers = "0.4.0"
html-escape = "0.2.13"
letterbox-notmuch = { path = "../notmuch", version = "0.17.11", registry = "xinu" }
letterbox-shared = { path = "../shared", version = "0.17.11", registry = "xinu" }
letterbox-notmuch = { path = "../notmuch", version = "0.17.10", registry = "xinu" }
letterbox-shared = { path = "../shared", version = "0.17.10", registry = "xinu" }
linkify = "0.10.0"
log = "0.4.27"
lol_html = "2.3.0"

View File

@ -1028,6 +1028,11 @@ pub async fn label_unprocessed(
.push(id.clone());
}
//nm.tag_remove("unprocessed", &id)?;
let t = "unprocessed".to_string();
rm_mutations
.entry(t)
.or_insert_with(|| Vec::new())
.push(id.clone());
} else {
if add_tags.is_empty() {
let t = "Grey".to_string();
@ -1036,11 +1041,6 @@ pub async fn label_unprocessed(
.or_insert_with(|| Vec::new())
.push(id.clone());
}
let t = "unprocessed".to_string();
rm_mutations
.entry(t)
.or_insert_with(|| Vec::new())
.push(id.clone());
}
}
println!("Adding {} distinct labels", add_mutations.len());

View File

@ -12,7 +12,7 @@ version.workspace = true
[dependencies]
build-info = "0.0.40"
letterbox-notmuch = { path = "../notmuch", version = "0.17.11", registry = "xinu" }
letterbox-notmuch = { path = "../notmuch", version = "0.17.10", registry = "xinu" }
regex = "1.11.1"
serde = { version = "1.0.219", features = ["derive"] }
sqlx = "0.8.5"