From 1a53c0051f773a60b2af2fb8f79bf0586d05c458 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 24 Dec 2020 12:10:11 +0100 Subject: [PATCH] Revert "Added support for Mail-Followup-To and Mail-Followup-To headers (untested)" This reverts commit 15b88e331e3336b80a9dd2c73168278bf522bd9a. --- .../java/eu/faircode/email/MessageHelper.java | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/MessageHelper.java b/app/src/main/java/eu/faircode/email/MessageHelper.java index 985dfc3803..c4a0432635 100644 --- a/app/src/main/java/eu/faircode/email/MessageHelper.java +++ b/app/src/main/java/eu/faircode/email/MessageHelper.java @@ -1211,14 +1211,6 @@ public class MessageHelper { } Address[] getCc() throws MessagingException { - try { - // https://cr.yp.to/proto/replyto.html - Address[] a = getAddressHeader("Mail-Followup-To"); - if (a != null) - return a; - } catch (MessagingException ex) { - Log.e(ex); - } return getAddressHeader("Cc"); } @@ -1227,14 +1219,6 @@ public class MessageHelper { } Address[] getReply() throws MessagingException { - try { - // https://cr.yp.to/proto/replyto.html - Address[] a = getAddressHeader("Mail-Reply-To"); - if (a != null) - return a; - } catch (MessagingException ex) { - Log.e(ex); - } return getAddressHeader("Reply-To"); }