Check recipients for return path

pull/194/head
M66B 4 years ago
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…
Cancel
Save