Fix storage service processing of verified status
This commit is contained in:
parent
6500804231
commit
7eaba737c6
1 changed files with 0 additions and 3 deletions
|
@ -1724,9 +1724,6 @@ export class SignalProtocolStore extends EventsMixin {
|
|||
if (!validateVerifiedStatus(verifiedStatus)) {
|
||||
throw new Error('setVerified: Invalid verified status');
|
||||
}
|
||||
if (arguments.length > 2 && !(publicKey instanceof Uint8Array)) {
|
||||
throw new Error('setVerified: Invalid public key');
|
||||
}
|
||||
|
||||
const identityRecord = await this.getOrMigrateIdentityRecord(uuid);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue