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
1 changed files with 1 additions and 6 deletions

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 {