Merge with sync sequoia_windows
authorThomas
Tue, 27 Aug 2019 11:35:41 +0200
branchsequoia_windows
changeset 40181773c1ac046a
parent 4007 3d1380b469e3
parent 4017 df3fdb653cc4
child 4035 e87da0dd6136
Merge with sync
     1.1 --- a/src/sync_api.c	Wed Aug 21 12:30:55 2019 +0200
     1.2 +++ b/src/sync_api.c	Tue Aug 27 11:35:41 2019 +0200
     1.3 @@ -257,7 +257,13 @@
     1.4      if (status)
     1.5          return status;
     1.6  
     1.7 -    status = set_identity_flags(session, ident, PEP_idf_devicegroup);
     1.8 +    bool grouped;
     1.9 +    status = deviceGrouped(session, &grouped);
    1.10 +    if (status)
    1.11 +        return status;
    1.12 +
    1.13 +    if (grouped)
    1.14 +        status = set_identity_flags(session, ident, PEP_idf_devicegroup);
    1.15      return status;
    1.16  }
    1.17