mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-03-01 22:09:14 +00:00
Fix storage service processing of verified status
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user