summary refs log tree commit diff stats
path: root/commands/account/fetch-msg.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/account/fetch-msg.go')
-rw-r--r--commands/account/fetch-msg.go29
1 files changed, 0 insertions, 29 deletions
diff --git a/commands/account/fetch-msg.go b/commands/account/fetch-msg.go
deleted file mode 100644
index 631a8ee..0000000
--- a/commands/account/fetch-msg.go
+++ /dev/null
@@ -1,29 +0,0 @@
-package account
-
-import (
-	"errors"
-
-	"github.com/mohamedattahri/mail"
-
-	"git.sr.ht/~sircmpwn/aerc2/widgets"
-)
-
-func init() {
-	register("fetch-message", FetchMessage)
-}
-
-func FetchMessage(aerc *widgets.Aerc, args []string) error {
-	if len(args) != 1 {
-		return errors.New("Usage: :fetch-message")
-	}
-	acct := aerc.SelectedAccount()
-	if acct == nil {
-		return errors.New("No account selected")
-	}
-	store := acct.Messages().Store()
-	msg := acct.Messages().Selected()
-	store.FetchBodies([]uint32{msg.Uid}, func(msg *mail.Message) {
-		aerc.SetStatus("got message body, woohoo")
-	})
-	return nil
-}
@wstrm.dev> 2020-07-20 22:49:50 +0200 committer William Wennerström <william@wstrm.dev> 2020-11-16 21:58:09 +0100 Refactor OMEMO download into AESGCMDownload tool' href='/danisanti/profani-tty/commit/src/tools/aesgcm_download.h?id=73f313b9212d652fecb13bcb82a0f162abb897a0'>73f313b9 ^
3d344cfe ^
73f313b9 ^





d043d539 ^
73f313b9 ^
62cbad1c ^
3a6597ee ^
73f313b9 ^









73f313b9 ^
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