mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
clarify assert per code review
// FREEBIE
This commit is contained in:
parent
bae91d97d6
commit
4000908f43
1 changed files with 1 additions and 4 deletions
|
@ -42,10 +42,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||||
const char xorByte = currentKeyBytes[i] ^ 0xff;
|
const char xorByte = currentKeyBytes[i] ^ 0xff;
|
||||||
[flippedKey appendBytes:&xorByte length:1];
|
[flippedKey appendBytes:&xorByte length:1];
|
||||||
}
|
}
|
||||||
|
OWSAssert(flippedKey.length == currentKey.length);
|
||||||
OWSAssert(flippedKey.length == 32);
|
|
||||||
|
|
||||||
|
|
||||||
[identityManager saveRemoteIdentity:flippedKey recipientId:recipientId];
|
[identityManager saveRemoteIdentity:flippedKey recipientId:recipientId];
|
||||||
}],
|
}],
|
||||||
[OWSTableItem itemWithTitle:@"Delete session (Contact Thread Only)"
|
[OWSTableItem itemWithTitle:@"Delete session (Contact Thread Only)"
|
||||||
|
|
Loading…
Reference in a new issue