Commit d75ccd9a authored by Hussein's avatar Hussein

P4A-799 Set internalDate as sentDate on trusted server.

parent 55aa79d8
...@@ -62,6 +62,7 @@ class TrustedMessageController { ...@@ -62,6 +62,7 @@ class TrustedMessageController {
localMessage.getFlags().contains(Flag.X_PEP_NEVER_UNSECURE)) { //Untrusted server localMessage.getFlags().contains(Flag.X_PEP_NEVER_UNSECURE)) { //Untrusted server
encryptedMessage = encryptUntrustedMessage(context, pEpProvider, account, localMessage); encryptedMessage = encryptUntrustedMessage(context, pEpProvider, account, localMessage);
} else { // Trusted } else { // Trusted
localMessage.setInternalDate(localMessage.getSentDate());
return localMessage; return localMessage;
} }
return encryptedMessage; return encryptedMessage;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment