mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
decrypt/encrypt with libsignal-client, remove libsignal-protocol-javascript
This commit is contained in:
@@ -740,7 +740,12 @@ export async function mergeContactRecord(
|
||||
const verified = await conversation.safeGetVerified();
|
||||
const storageServiceVerified = contactRecord.identityState || 0;
|
||||
if (verified !== storageServiceVerified) {
|
||||
const verifiedOptions = { viaStorageServiceSync: true };
|
||||
const verifiedOptions = {
|
||||
key: contactRecord.identityKey
|
||||
? contactRecord.identityKey.toArrayBuffer()
|
||||
: undefined,
|
||||
viaStorageServiceSync: true,
|
||||
};
|
||||
const STATE_ENUM = window.textsecure.protobuf.ContactRecord.IdentityState;
|
||||
|
||||
switch (storageServiceVerified) {
|
||||
|
||||
Reference in New Issue
Block a user