pEpObjCAdapter/NSError+PEP.m
changeset 510 4e572aad7f36
parent 509 101e7d1ad385
child 511 3b8b2a193fe9
     1.1 --- a/pEpObjCAdapter/NSError+PEP.m	Wed Mar 07 13:56:59 2018 +0100
     1.2 +++ b/pEpObjCAdapter/NSError+PEP.m	Wed Mar 07 14:02:49 2018 +0100
     1.3 @@ -13,7 +13,7 @@
     1.4  + (NSError *)errorWithPEPStatus:(PEP_STATUS)status
     1.5                         userInfo:(NSDictionary<NSErrorUserInfoKey, id> *)dict
     1.6  {
     1.7 -    if (status != PEP_STATUS_OK && status != PEP_DECRYPTED) {
     1.8 +    if (status != PEP_STATUS_OK && status != PEP_DECRYPTED && status != PEP_UNENCRYPTED) {
     1.9          return [NSError errorWithDomain:@"pEp" code:status userInfo:dict];
    1.10      }
    1.11      return nil;