IOS-1832 PEPMessage.dictionary() supports references, inReplyTo. IOS-1832
authorDirk Zimmermann <dz@pep.security>
Fri, 20 Sep 2019 07:06:18 +0200
branchIOS-1832
changeset 12490af2dd841b05
parent 1248 edd8dea8403c
child 1278 f25c9ee1caf2
IOS-1832 PEPMessage.dictionary() supports references, inReplyTo.
pEpObjCAdapter/PEPMessage.m
     1.1 --- a/pEpObjCAdapter/PEPMessage.m	Thu Sep 19 10:10:18 2019 +0200
     1.2 +++ b/pEpObjCAdapter/PEPMessage.m	Fri Sep 20 07:06:18 2019 +0200
     1.3 @@ -238,6 +238,14 @@
     1.4          [result addObject:@[kPepAttachments, self.attachments]];
     1.5      }
     1.6  
     1.7 +    if (self.references) {
     1.8 +        [result addObject:@[kPepReferences, self.references]];
     1.9 +    }
    1.10 +
    1.11 +    if (self.inReplyTo) {
    1.12 +        [result addObject:@[kPepInReplyTo, self.inReplyTo]];
    1.13 +    }
    1.14 +
    1.15      BOOL outgoing = self.direction == PEP_dir_outgoing ? YES:NO;
    1.16      [result addObject:@[kPepOutgoing, [NSNumber numberWithBool:outgoing]]];
    1.17