Skip to content

Commit

Permalink
Fix storage service processing of verified status
Browse files Browse the repository at this point in the history
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
  • Loading branch information
automated-signal and indutny-signal committed Apr 5, 2022
1 parent 3ed5c36 commit 41401de
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ts/SignalProtocolStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 41401de

Please sign in to comment.