IOS-1832 PEPMessage.dictionary() supports references, inReplyTo.

IOS-1832
Dirk Zimmermann 4 years ago
parent ce8c472cf2
commit 2c9ce5db10

@ -238,6 +238,14 @@
[result addObject:@[kPepAttachments, self.attachments]];
}
if (self.references) {
[result addObject:@[kPepReferences, self.references]];
}
if (self.inReplyTo) {
[result addObject:@[kPepInReplyTo, self.inReplyTo]];
}
BOOL outgoing = self.direction == PEP_dir_outgoing ? YES:NO;
[result addObject:@[kPepOutgoing, [NSNumber numberWithBool:outgoing]]];

Loading…
Cancel
Save