about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2018-06-10T13·50+0200
committerVincent Ambo <mail@tazj.in>2018-06-10T13·50+0200
commitcd9499407311020c9d3fce59247f00edb1165d3e (patch)
tree49c4d392ec7d7557f2684c834ae18b11aae7d502
parent761e3794ed4024a9b86142341f38902194734207 (diff)
fix(mail): Always mark drafts as read
-rw-r--r--mail.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail.nix b/mail.nix
index 296f63fb9149..b54cadebe49f 100644
--- a/mail.nix
+++ b/mail.nix
@@ -28,6 +28,9 @@ tagConfig = pkgs.writeText "notmuch-tags" ''
   # Tag my own mail (from other devices) as sent:
   -inbox +sent -- folder:"aprila/Sende element" OR from:vincent@aprila.no OR from:mail@tazj.in
 
+  # Drafts are always read, duh.
+  -unread -- tag:draft
+
   # Tag development list
   -inbox +aprila-dev -- to:dev@aprila.no OR cc:dev@aprila.no
 '';