Add header to outer message and fix log
authorThomas
Mon, 04 Mar 2019 14:47:39 +0100
changeset 2592fef273b2d6e4
parent 2588 a98d5cff6b0c
child 2593 c266c7e55440
Add header to outer message and fix log
PEPIdentity.cs
PEPMessage.cs
     1.1 --- a/PEPIdentity.cs	Mon Mar 04 10:27:06 2019 +0100
     1.2 +++ b/PEPIdentity.cs	Mon Mar 04 14:47:39 2019 +0100
     1.3 @@ -909,7 +909,7 @@
     1.4                  catch (Exception ex)
     1.5                  {
     1.6                      identity = null;
     1.7 -                    Log.Error("GetOwnIdentity: Error determining getting own identity. " + ex.ToString());
     1.8 +                    Log.Error("GetOwnIdentity: Error determining own identity. " + ex.ToString());
     1.9                  }
    1.10              }
    1.11              else
     2.1 --- a/PEPMessage.cs	Mon Mar 04 10:27:06 2019 +0100
     2.2 +++ b/PEPMessage.cs	Mon Mar 04 14:47:39 2019 +0100
     2.3 @@ -2019,7 +2019,6 @@
     2.4                  {
     2.5                      // Note: ignore return status
     2.6                      propertiesToSet.AddPEPMessageProperty(nameof(PEPMessage.KeyList), this._KeyList);
     2.7 -                    propertiesToSet.AddPEPMessageProperty(nameof(PEPMessage.KeyImport), this._KeyImport);
     2.8  
     2.9                      // Only store rating once and never change it
    2.10                      if (omi.GetPEPProperty(MailItemExtensions.PEPProperty.Rating, out object storedRating) &&
    2.11 @@ -2032,6 +2031,7 @@
    2.12                  // Note: ignore return status
    2.13                  propertiesToSet.AddPEPMessageProperty(nameof(PEPMessage.AutoConsume), this._AutoConsume);
    2.14                  propertiesToSet.AddPEPMessageProperty(nameof(PEPMessage.ForceProtectionId), this._ForceProtectionId);
    2.15 +                propertiesToSet.AddPEPMessageProperty(nameof(PEPMessage.KeyImport), this._KeyImport);
    2.16                  propertiesToSet.AddPEPMessageProperty(nameof(PEPMessage.NeverUnsecure), this._NeverUnsecure);
    2.17                  propertiesToSet.AddPEPMessageProperty(nameof(PEPMessage.PEPProtocolVersion), this._PEPProtocolVersion);
    2.18