summary refs log tree commit diff stats
path: root/commands/account
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-05-15 19:41:21 -0400
committerDrew DeVault <sir@cmpwn.com>2019-05-15 19:41:21 -0400
commitb0bf09b98fc038c1bc9921d568c06260b7448a15 (patch)
treeacad72b3ec224d95c551a11ba35cf4e8522641e1 /commands/account
parent52b318127fe7ec001ca824947193b2cb7b0ebda6 (diff)
downloadaerc-b0bf09b98fc038c1bc9921d568c06260b7448a15.tar.gz
Copy sent emails to the Sent folder
Or rather, to a user-specified folder
Diffstat (limited to 'commands/account')
-rw-r--r--commands/account/compose.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/account/compose.go b/commands/account/compose.go
index 8097d10..1ffd2e2 100644
--- a/commands/account/compose.go
+++ b/commands/account/compose.go
@@ -16,7 +16,8 @@ func Compose(aerc *widgets.Aerc, args []string) error {
 		return errors.New("Usage: compose")
 	}
 	acct := aerc.SelectedAccount()
-	composer := widgets.NewComposer(aerc.Config(), acct.AccountConfig())
+	composer := widgets.NewComposer(
+		aerc.Config(), acct.AccountConfig(), acct.Worker())
 	tab := aerc.NewTab(composer, "New email")
 	composer.OnSubjectChange(func(subject string) {
 		if subject == "" {
> 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259