about summary refs log tree commit diff stats
path: root/commands/account
diff options
context:
space:
mode:
Diffstat (limited to 'commands/account')
-rw-r--r--commands/account/compose.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/account/compose.go b/commands/account/compose.go
index 15fc354..c9be17a 100644
--- a/commands/account/compose.go
+++ b/commands/account/compose.go
@@ -17,8 +17,8 @@ func Compose(aerc *widgets.Aerc, args []string) error {
 	if len(args) != 1 {
 		return errors.New("Usage: compose")
 	}
-	// TODO: Pass along the sender info
-	composer := widgets.NewComposer()
+	acct := aerc.SelectedAccount()
+	composer := widgets.NewComposer(acct.AccountConfig())
 	// TODO: Change tab name when message subject changes
 	aerc.NewTab(composer, runewidth.Truncate(
 		"New email", 32, "…"))
d=3791ec054d7fca1bfb0af04a65b80b973094a87d'>3791ec0 ^
3657eae ^
650a1fb ^


42277b1 ^
b2e98bf ^





eb184e0 ^



b2e98bf ^
605630c ^
650a1fb ^
eb184e0 ^
650a1fb ^

3791ec0 ^
f777d21 ^
eb184e0 ^


3791ec0 ^





eb184e0 ^



3791ec0 ^

0228dcd ^
eb184e0 ^


3791ec0 ^

eb184e0 ^





d8675f6 ^
eb184e0 ^




3791ec0 ^


eb184e0 ^

3791ec0 ^

eb184e0 ^


6458d72 ^

605630c ^
6649dcc ^
3791ec0 ^
f777d21 ^


650a1fb ^
605630c ^
1e7e57d ^
6649dcc ^
c3e5f5c ^

6649dcc ^
f77a871 ^
1e7e57d ^

d8675f6 ^

a1682b8 ^

d8675f6 ^
3657eae ^
650a1fb ^
6649dcc ^
650a1fb ^

6649dcc ^
650a1fb ^
0dfe729 ^


3657eae ^
6458d72 ^

f60c597 ^
6458d72 ^
f1a34ae ^
650a1fb ^

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
120
121
122
123
124
125
126
127