Browse Source

sync-session renames method.

sync-fix-session
buff 3 years ago
parent
commit
fe8844f2c5
4 changed files with 5 additions and 5 deletions
  1. +1
    -1
      pEpObjCAdapter/PEPInternalSession.m
  2. +2
    -2
      pEpObjCAdapter/PEPSession.m
  3. +1
    -1
      pEpObjCAdapterFramework/PEPSessionProtocol.h
  4. +1
    -1
      pEpObjCTests/PEPSessionTest.m

+ 1
- 1
pEpObjCAdapter/PEPInternalSession.m View File

@ -1024,7 +1024,7 @@ static NSDictionary *stringToRating;
}
}
- (BOOL)leaveDeviceGroupError:(NSError * _Nullable * _Nullable)error
- (BOOL)leaveDeviceGroup:(NSError * _Nullable * _Nullable)error
{
PEPStatus status = (PEPStatus) leave_device_group(self.session);


+ 2
- 2
pEpObjCAdapter/PEPSession.m View File

@ -385,11 +385,11 @@
return [session keyReset:identity fingerprint:fingerprint error:error];
}
- (BOOL)leaveDeviceGroupError:(NSError * _Nullable * _Nullable)error
- (BOOL)leaveDeviceGroup:(NSError * _Nullable * _Nullable)error
{
PEPInternalSession *session = [PEPSessionProvider session];
RETURN_ON_ERROR(session, error, NO);
return [session leaveDeviceGroupError:error];
return [session leaveDeviceGroup:error];
}
- (BOOL)keyResetAllOwnKeysError:(NSError * _Nullable * _Nullable)error


+ 1
- 1
pEpObjCAdapterFramework/PEPSessionProtocol.h View File

@ -279,7 +279,7 @@
error:(NSError * _Nullable * _Nullable)error;
/** Wraps leave_device_group. */
- (BOOL)leaveDeviceGroupError:(NSError * _Nullable * _Nullable)error;
- (BOOL)leaveDeviceGroup:(NSError * _Nullable * _Nullable)error;
/**
Revoke and mistrust all own keys. See key_reset_all_own_keys for details.


+ 1
- 1
pEpObjCTests/PEPSessionTest.m View File

@ -1313,7 +1313,7 @@
[self startSync];
error = nil;
XCTAssertTrue([session leaveDeviceGroupError:&error]);
XCTAssertTrue([session leaveDeviceGroup:&error]);
XCTAssertNil(error);
[self shutdownSync];


Loading…
Cancel
Save