Add mark read/unread support for news

This commit is contained in:
2024-07-22 14:43:05 -07:00
parent 4ee34444ae
commit 831466ddda
5 changed files with 47 additions and 6 deletions

View File

@@ -755,7 +755,7 @@ fn render_content_type_tree(m: &ParsedMail) -> String {
pub async fn set_read_status<'ctx>(
nm: &Notmuch,
query: String,
query: &str,
unread: bool,
) -> Result<bool, ServerError> {
if unread {