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
1 changed files with 2 additions and 0 deletions
|
@ -63,6 +63,8 @@ func (_ Read) Execute(aerc *widgets.Aerc, args []string) error {
|
||||||
}
|
}
|
||||||
} else if args[0] == "read" {
|
} else if args[0] == "read" {
|
||||||
newReadState = true
|
newReadState = true
|
||||||
|
} else if args[0] == "unread" {
|
||||||
|
newReadState = false
|
||||||
}
|
}
|
||||||
store.Read([]uint32{msg.Uid}, newReadState, func(
|
store.Read([]uint32{msg.Uid}, newReadState, func(
|
||||||
msg types.WorkerMessage) {
|
msg types.WorkerMessage) {
|
||||||
|
|
Loading…
Reference in a new issue