diff --git a/server/src/nm.rs b/server/src/nm.rs index 5c1c2c0..5df24a5 100644 --- a/server/src/nm.rs +++ b/server/src/nm.rs @@ -1041,6 +1041,12 @@ pub async fn label_unprocessed( .entry(t) .or_insert_with(|| Vec::new()) .push(id.clone()); + //nm.tag_remove("inbox", &id)?; + let t = "inbox".to_string(); + rm_mutations + .entry(t) + .or_insert_with(|| Vec::new()) + .push(id.clone()); } } println!("Adding {} distinct labels", add_mutations.len());