PEPMessage.cs
branchkeysync
changeset 1343 1520e906a692
parent 1341 2d01b4811b85
child 1347 b374b67e6dd2
     1.1 --- a/PEPMessage.cs	Tue Oct 04 17:51:25 2016 +0200
     1.2 +++ b/PEPMessage.cs	Tue Oct 04 23:01:22 2016 +0200
     1.3 @@ -645,8 +645,8 @@
     1.4              result.id = this._ID;
     1.5              result.keywords = this._Keywords.ToArray();
     1.6              result.longmsg = this._LongMsg;
     1.7 -            result.longmsg_formatted = this._LongMsgFormattedHTML;
     1.8 -            result.opt_fields = optionalFields.ToArray();
     1.9 +            result.longmsgFormatted = this._LongMsgFormattedHTML;
    1.10 +            result.optFields = optionalFields.ToArray();
    1.11              result.recv = ((recvSec >= 0) ? recvSec : result.recv);
    1.12              result.sent = ((sentSec >= 0) ? sentSec : result.sent);
    1.13              result.shortmsg = this._ShortMsg;
    1.14 @@ -1767,12 +1767,12 @@
    1.15                  }
    1.16  
    1.17                  newMessage.LongMsg = msg.longmsg;
    1.18 -                newMessage.LongMsgFormattedHTML = msg.longmsg_formatted;
    1.19 +                newMessage.LongMsgFormattedHTML = msg.longmsgFormatted;
    1.20  
    1.21                  // Optional properties
    1.22 -                if (msg.opt_fields != null)
    1.23 +                if (msg.optFields != null)
    1.24                  {
    1.25 -                    foreach (StringPair optField in msg.opt_fields)
    1.26 +                    foreach (StringPair optField in msg.optFields)
    1.27                      {
    1.28                          if (optField.name != null)
    1.29                          {