Fix setting message class for Never Unsecure OUT-470
authorThomas
Fri, 20 Jul 2018 12:00:54 +0200
branchOUT-470
changeset 23083ec3e91526a2
parent 2307 b138958bd241
child 2309 38bfaf04483e
Fix setting message class for Never Unsecure
CryptableMailItem.cs
     1.1 --- a/CryptableMailItem.cs	Thu Jul 19 14:46:42 2018 +0200
     1.2 +++ b/CryptableMailItem.cs	Fri Jul 20 12:00:54 2018 +0200
     1.3 @@ -1480,7 +1480,8 @@
     1.4                       * which then leads to the form region not being properly displayed at the first click (OUT-68).
     1.5                       */
     1.6                      if ((isPEPInternal == false) &&
     1.7 -                         (Globals.OutlookVersion == Globals.Version.Outlook2010 && (this.internalMailItem.GetIsInSecureStore() || this.internalMailItem.DownloadState == Outlook.OlDownloadState.olHeaderOnly)))
     1.8 +                         ((Globals.OutlookVersion == Globals.Version.Outlook2010) && 
     1.9 +                          (this.internalMailItem.GetIsInSecureStore() || this.internalMailItem.GetNeverUnsecure())))
    1.10                      {
    1.11                          try
    1.12                          {