about summary refs log tree commit diff stats
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/msg/read.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/msg/read.go b/commands/msg/read.go
index 8999627..3497ef1 100644
--- a/commands/msg/read.go
+++ b/commands/msg/read.go
@@ -63,6 +63,8 @@ func (_ Read) Execute(aerc *widgets.Aerc, args []string) error {
 		}
 	} else if args[0] == "read" {
 		newReadState = true
+	} else if args[0] == "unread" {
+		newReadState = false
 	}
 	store.Read([]uint32{msg.Uid}, newReadState, func(
 		msg types.WorkerMessage) {