diff options
Diffstat (limited to 'commands/msg/read.go')
-rw-r--r-- | commands/msg/read.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/msg/read.go b/commands/msg/read.go index c6bcd0df..4c169b3b 100644 --- a/commands/msg/read.go +++ b/commands/msg/read.go @@ -36,7 +36,6 @@ func (FlagMsg) Complete(aerc *widgets.Aerc, args []string) []string { // If this was called as 'read' or 'unread', it has the same effect as // 'flag' or 'unflag', respectively, but the 'Seen' flag is affected. func (FlagMsg) Execute(aerc *widgets.Aerc, args []string) error { - // The flag to change var flag models.Flag // User-readable name of the flag to change @@ -184,7 +183,8 @@ func (FlagMsg) Execute(aerc *widgets.Aerc, args []string) error { func submitFlagChange(aerc *widgets.Aerc, store *lib.MessageStore, uids []uint32, flag models.Flag, newState bool, - wg *sync.WaitGroup, success *bool) { + wg *sync.WaitGroup, success *bool, +) { store.Flag(uids, flag, newState, func(msg types.WorkerMessage) { wg.Add(1) switch msg := msg.(type) { |