Fix wording issue in handshake dialog when Force Protection is disabled OUT-470
authorThomas
Thu, 19 Jul 2018 14:46:42 +0200
branchOUT-470
changeset 2307b138958bd241
parent 2306 d5aad9e654c6
child 2308 3ec3e91526a2
Fix wording issue in handshake dialog when Force Protection is disabled
UI/FormRegionPrivacyStatus.cs
     1.1 --- a/UI/FormRegionPrivacyStatus.cs	Thu Jul 19 14:35:39 2018 +0200
     1.2 +++ b/UI/FormRegionPrivacyStatus.cs	Thu Jul 19 14:46:42 2018 +0200
     1.3 @@ -198,7 +198,14 @@
     1.4                          message = null;
     1.5                      }
     1.6  
     1.7 -                    message.ForceProtectionId = (this.ForceProtection) ? Guid.NewGuid().ToString() : null;
     1.8 +                    // If Force Protection is set, assign a random GUID
     1.9 +                    if ((this.ForceProtection) &&
    1.10 +                        (this.DisableForceProtection == false))
    1.11 +                    {
    1.12 +                        message.ForceProtectionId = Guid.NewGuid().ToString();
    1.13 +                    }
    1.14 +
    1.15 +                    // If message is Force Unencrypted, assign it
    1.16                      message.ForceUnencrypted = this.ForceUnencrypted;
    1.17  
    1.18                      omi = null;