mirror of https://github.com/M66B/FairEmail.git
Check recipients for return path
This commit is contained in:
parent
b6404d6c2d
commit
777adf8650
|
@ -2426,6 +2426,12 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
canBounce = false;
|
||||
break;
|
||||
}
|
||||
if (canBounce)
|
||||
for (Address recipient : recipients)
|
||||
if (MessageHelper.equalEmail(recipient, message.return_path[0])) {
|
||||
canBounce = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
PopupMenuLifecycle popupMenu = new PopupMenuLifecycle(context, getViewLifecycleOwner(), anchor);
|
||||
|
|
Loading…
Reference in New Issue