Fix `unread` command
This fixes ~sircmpwn/aerc2#195. While `read -t` works fine. The `unread` command is not wired. This patch fixes it. https://todo.sr.ht/~sircmpwn/aerc2/195
This commit is contained in:
parent
0016775278
commit
d4416e74ac
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue