pEpObjCAdapter/PEPMessage.m
branchIOSAD-21
changeset 198 55e448e712a6
parent 187 1f630a05e444
child 201 4b84b3ab6312
     1.1 --- a/pEpObjCAdapter/PEPMessage.m	Tue Jun 06 15:32:01 2017 +0200
     1.2 +++ b/pEpObjCAdapter/PEPMessage.m	Wed Aug 09 14:43:30 2017 +0200
     1.3 @@ -18,8 +18,6 @@
     1.4  
     1.5  NSString *const kPepFingerprint = @"fpr";
     1.6  
     1.7 -NSString *const kPepIsMe = @"me";
     1.8 -
     1.9  NSString *const kPepFrom = @"from";
    1.10  
    1.11  NSString *const kPepTo = @"to";
    1.12 @@ -194,10 +192,6 @@
    1.13          
    1.14          [dict setObject:[NSNumber numberWithInt: ident->comm_type] forKey:@"comm_type"];
    1.15          
    1.16 -        if (ident->me)
    1.17 -            [dict setObject:@YES forKey:@"me"];
    1.18 -        else
    1.19 -            [dict setObject:@NO forKey:@"me"];
    1.20      }
    1.21      return dict;
    1.22  }
    1.23 @@ -232,9 +226,6 @@
    1.24          if ([dict objectForKey:@"lang"])
    1.25              strncpy(ident->fpr, [[[dict objectForKey:@"lang"] precomposedStringWithCanonicalMapping] UTF8String], 2);
    1.26          
    1.27 -        if ([[dict objectForKey:@"me"] isEqual: @YES])
    1.28 -            ident->me = true;
    1.29 -        
    1.30          if ([dict objectForKey:@"comm_type"])
    1.31              ident->comm_type = [[dict objectForKey:@"comm_type"] intValue];
    1.32      }