From f35002ad0e1fae9c62e598b229e32b16a8eb702c Mon Sep 17 00:00:00 2001 From: Nicolai Dagestad Date: Mon, 13 Apr 2020 23:05:52 +0200 Subject: [PATCH] Make the http handler of the unsubscribe command async --- commands/msg/unsubscribe.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/msg/unsubscribe.go b/commands/msg/unsubscribe.go index 682b2b5..1bf3a83 100644 --- a/commands/msg/unsubscribe.go +++ b/commands/msg/unsubscribe.go @@ -114,5 +114,6 @@ func unsubscribeMailto(aerc *widgets.Aerc, u *url.URL) error { } func unsubscribeHTTP(u *url.URL) error { - return lib.OpenFile(u.String()) + go lib.OpenFile(u.String()) + return nil }