Support attachments in dictionary emulation (taken by IOS-1704).
authorDirk Zimmermann <dz@pep.security>
Wed, 10 Jul 2019 10:14:02 +0200
changeset 1063b5e54d1545c4
parent 1058 2affc5750b82
child 1064 69d744025cc9
child 1067 07ebf42c7615
Support attachments in dictionary emulation (taken by IOS-1704).
pEpObjCAdapter/PEPMessage.m
     1.1 --- a/pEpObjCAdapter/PEPMessage.m	Mon Jul 08 16:38:29 2019 +0200
     1.2 +++ b/pEpObjCAdapter/PEPMessage.m	Wed Jul 10 10:14:02 2019 +0200
     1.3 @@ -234,6 +234,10 @@
     1.4          [result addObject:@[kPepLongMessageFormatted, self.longMessageFormatted]];
     1.5      }
     1.6  
     1.7 +    if (self.attachments) {
     1.8 +        [result addObject:@[kPepAttachments, self.attachments]];
     1.9 +    }
    1.10 +
    1.11      BOOL outgoing = self.direction == PEP_dir_outgoing ? YES:NO;
    1.12      [result addObject:@[kPepOutgoing, [NSNumber numberWithBool:outgoing]]];
    1.13