aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg/unsubscribe.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg/unsubscribe.go')
-rw-r--r--commands/msg/unsubscribe.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/msg/unsubscribe.go b/commands/msg/unsubscribe.go
index 5fce7ece..cefa69cb 100644
--- a/commands/msg/unsubscribe.go
+++ b/commands/msg/unsubscribe.go
@@ -154,11 +154,11 @@ func unsubscribeMailto(aerc *widgets.Aerc, u *url.URL) error {
"",
h,
nil,
+ strings.NewReader(u.Query().Get("body")),
)
if err != nil {
return err
}
- composer.SetContents(strings.NewReader(u.Query().Get("body")))
composer.Tab = aerc.NewTab(composer, "unsubscribe")
composer.FocusTerminal()
return nil