mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 18:27:43 +00:00
Debug: DKIM verify doesn't work with folded header
This commit is contained in:
parent
da4a5fd93f
commit
0297e9d22e
2 changed files with 2 additions and 2 deletions
|
@ -3972,7 +3972,7 @@ class Core {
|
|||
message.tls = helper.getTLS();
|
||||
message.dkim = MessageHelper.getAuthentication("dkim", authentication);
|
||||
if (Boolean.TRUE.equals(message.dkim))
|
||||
if (!BuildConfig.PLAY_STORE_RELEASE && dkim_verify)
|
||||
if (BuildConfig.DEBUG && dkim_verify)
|
||||
message.dkim = helper.verifyDKIM(context);
|
||||
else
|
||||
message.dkim = helper.checkDKIMRequirements();
|
||||
|
|
|
@ -1138,7 +1138,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
|
|||
}
|
||||
});
|
||||
|
||||
swDkimVerify.setVisibility(BuildConfig.PLAY_STORE_RELEASE ? View.GONE : View.VISIBLE);
|
||||
swDkimVerify.setVisibility(BuildConfig.DEBUG ? View.VISIBLE : View.GONE);
|
||||
swDkimVerify.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
|
||||
|
|
Loading…
Reference in a new issue