IOSAD-103 merge latest sync IOSAD-103
authorDirk Zimmermann <dz@pep.security>
Fri, 23 Nov 2018 08:51:55 +0100
branchIOSAD-103
changeset 31552a82fde0f661
parent 3151 9a6e62340dab
parent 3154 f4961c0625a8
child 3158 6ff3fe9912ec
IOSAD-103 merge latest sync
     1.1 --- a/src/baseprotocol.c	Thu Nov 22 13:34:38 2018 +0100
     1.2 +++ b/src/baseprotocol.c	Fri Nov 23 08:51:55 2018 +0100
     1.3 @@ -25,6 +25,9 @@
     1.4              "application/pEp.sync", "ignore_this_attachment.pEp");
     1.5      if (bl == NULL)
     1.6          goto enomem;
     1.7 +    else if (!msg->attachments) {
     1.8 +        msg->attachments = bl;
     1.9 +    }
    1.10  
    1.11      if (fpr) {
    1.12          char *sign;