From aa6f72ec1d2b22534644c874810c6e86fb177ec7 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 21 Mar 2022 09:10:07 +0100 Subject: [PATCH] Small List-Unsubscribe improvement --- app/src/main/java/eu/faircode/email/MessageHelper.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/faircode/email/MessageHelper.java b/app/src/main/java/eu/faircode/email/MessageHelper.java index 85e30e6e32..de6bef34ce 100644 --- a/app/src/main/java/eu/faircode/email/MessageHelper.java +++ b/app/src/main/java/eu/faircode/email/MessageHelper.java @@ -2048,6 +2048,7 @@ public class MessageHelper { else if (unsubscribe.toLowerCase(Locale.ROOT).startsWith("mailto:")) { if (mailto == null) { try { + unsubscribe = "mailto:" + unsubscribe.substring("mailto:".length()); MailTo.parse(unsubscribe); mailto = unsubscribe; } catch (Throwable ex) {