aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolai Dagestad <nicolai@dagestad.fr>2020-04-13 23:05:52 +0200
committerReto Brunner <reto@labrat.space>2020-04-16 19:16:11 +0200
commitf35002ad0e1fae9c62e598b229e32b16a8eb702c (patch)
tree41229a1d16a3d74c8b39cd5e0580885a42a9c702
parent8c023cdb382e4776d6e88b04dbb64d13f3392789 (diff)
downloadaerc-f35002ad0e1fae9c62e598b229e32b16a8eb702c.tar.gz
Make the http handler of the unsubscribe command async
-rw-r--r--commands/msg/unsubscribe.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/msg/unsubscribe.go b/commands/msg/unsubscribe.go
index 682b2b58..1bf3a836 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
}