Fix storage service processing of verified status
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
parent
3ed5c36d58
commit
41401deb07
|
@ -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…
Reference in New Issue