about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--commands/account/clear.go2
-rw-r--r--commands/msg/read.go4
-rw-r--r--config/config.go2
-rw-r--r--lib/msgstore.go4
-rw-r--r--worker/types/messages.go4
5 files changed, 8 insertions, 8 deletions
diff --git a/commands/account/clear.go b/commands/account/clear.go
index 263b5de..838bfcc 100644
--- a/commands/account/clear.go
+++ b/commands/account/clear.go
@@ -2,8 +2,8 @@ package account
 
 import (
 	"errors"
-	"time"
 	"git.sr.ht/~sircmpwn/aerc/widgets"
+	"time"
 )
 
 type Clear struct{}
diff --git a/commands/msg/read.go b/commands/msg/read.go
index 0888189..325b776 100644
--- a/commands/msg/read.go
+++ b/commands/msg/read.go
@@ -1,9 +1,9 @@
 package msg
 
 import (
+	"fmt"
 	"sync"
 	"time"
-	"fmt"
 
 	"git.sr.ht/~sircmpwn/getopt"
 
@@ -171,7 +171,7 @@ func (FlagMsg) Execute(aerc *widgets.Aerc, args []string) error {
 	go func() {
 		wg.Wait()
 		if success {
-			aerc.PushStatus(actionName + " flag '" + flagName + "' successful", 10*time.Second)
+			aerc.PushStatus(actionName+" flag '"+flagName+"' successful", 10*time.Second)
 		}
 	}()
 
diff --git a/config/config.go b/config/config.go
index ce59944..00a52ce 100644
--- a/config/config.go
+++ b/config/config.go
@@ -76,7 +76,7 @@ type AccountConfig struct {
 	Source          string
 	SourceCredCmd   string
 	Folders         []string
-	FoldersExclude	[]string
+	FoldersExclude  []string
 	Params          map[string]string
 	Outgoing        string
 	OutgoingCredCmd string
diff --git a/lib/msgstore.go b/lib/msgstore.go
index d823fa5..b95b68f 100644
--- a/lib/msgstore.go
+++ b/lib/msgstore.go
@@ -347,8 +347,8 @@ func (store *MessageStore) Flag(uids []uint32, flag models.Flag,
 
 	store.worker.PostAction(&types.FlagMessages{
 		Enable: enable,
-		Flag: flag,
-		Uids: uids,
+		Flag:   flag,
+		Uids:   uids,
 	}, cb)
 }
 
diff --git a/worker/types/messages.go b/worker/types/messages.go
index c044667..374db81 100644
--- a/worker/types/messages.go
+++ b/worker/types/messages.go
@@ -117,8 +117,8 @@ type DeleteMessages struct {
 type FlagMessages struct {
 	Message
 	Enable bool
-	Flag models.Flag
-	Uids []uint32
+	Flag   models.Flag
+	Uids   []uint32
 }
 
 type AnsweredMessages struct {
thor Drew DeVault <sir@cmpwn.com> 2019-03-31 14:24:53 -0400 committer Drew DeVault <sir@cmpwn.com> 2019-03-31 14:24:53 -0400 Add basic filter implementation' href='/akspecs/aerc/commit/go.sum?h=0.5.2&id=bbdf9df75e8597e38cf1d90145f22aab9bd95178'>bbdf9df ^
6473848 ^

56b84d3 ^

89f1684 ^

b0eaf51 ^
974b22c ^
c4deaf2 ^
89f1684 ^


072bc26 ^
c4deaf2 ^
0c2ede5 ^
b2fa5a1 ^

c4deaf2 ^
072bc26 ^
89f1684 ^

56b84d3 ^
89f1684 ^

974b22c ^

89f1684 ^

1170893 ^
89f1684 ^

56b84d3 ^
89f1684 ^



513e8aa ^

89f1684 ^

c4deaf2 ^
8d20e92 ^
974b22c ^

072bc26 ^
c4deaf2 ^
974b22c ^
c4deaf2 ^
974b22c ^
8d20e92 ^
c4deaf2 ^
8d20e92 ^
c4deaf2 ^
3f452ca ^
855362d ^
b0eaf51 ^

072bc26 ^
f3158b3 ^
974b22c ^
89f1684 ^



b0eaf51 ^
072bc26 ^
f3158b3 ^
84f49e9 ^
89f1684 ^


648ca98 ^
072bc26 ^



b0eaf51 ^
c4deaf2 ^
89f1684 ^
c4deaf2 ^
89f1684 ^
c4deaf2 ^
974b22c ^
c4deaf2 ^
89f1684 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119