Wrappers/WatchedWindow.cs
changeset 2943 24036835b358
parent 2867 67f0cdd1b684
child 2944 5dc55304190f
child 2952 3d1bfaf25774
     1.1 --- a/Wrappers/WatchedWindow.cs	Tue Dec 24 13:32:05 2019 +0100
     1.2 +++ b/Wrappers/WatchedWindow.cs	Tue Dec 24 15:52:52 2019 +0100
     1.3 @@ -440,8 +440,7 @@
     1.4                                  if ((PEPMessage.Create(this.CurrentMailItem, out PEPMessage pEpMessage) == Globals.ReturnStatus.Success) &&
     1.5                                      (pEpMessage.IsSecure))
     1.6                                  {
     1.7 -                                    MsgProcessor msgProcessor = new MsgProcessor();
     1.8 -                                    if (msgProcessor.Decrypt(pEpMessage, out PEPMessage decryptedMessage))
     1.9 +                                    if (MsgProcessor.Decrypt(pEpMessage, out PEPMessage decryptedMessage))
    1.10                                      {
    1.11                                          isSecureAttachedMail = true;
    1.12                                          mirror = this.CurrentMailItem.CreateMirrorOMI(messageId);