mirror of https://github.com/M66B/FairEmail.git
parent
f5e608836c
commit
7eb5dd9e62
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue