1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 17:57:16 +00:00

Revert "Show return path"

This reverts commit 5d6b71dff6.
This commit is contained in:
M66B 2021-01-11 14:25:58 +01:00
parent f5e608836c
commit 7eb5dd9e62

View file

@ -1200,12 +1200,7 @@ public class MessageHelper {
}
Address[] getSender() throws MessagingException {
Address[] sender = getAddressHeader("Sender");
if (BuildConfig.DEBUG) {
if (sender == null || sender.length == 0)
sender = getAddressHeader("Return-Path");
}
return sender;
return getAddressHeader("Sender");
}
Address[] getFrom() throws MessagingException {