mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Better sync between convo and protocol stores
This commit is contained in:
@@ -6372,7 +6372,6 @@ async function removeAllConfiguration(): Promise<void> {
|
||||
DELETE FROM backup_cdn_object_metadata;
|
||||
DELETE FROM groupSendCombinedEndorsement;
|
||||
DELETE FROM groupSendMemberEndorsement;
|
||||
DELETE FROM identityKeys;
|
||||
DELETE FROM jobs;
|
||||
DELETE FROM kyberPreKeys;
|
||||
DELETE FROM preKeys;
|
||||
@@ -6401,7 +6400,16 @@ async function removeAllConfiguration(): Promise<void> {
|
||||
|
||||
db.exec(
|
||||
`
|
||||
UPDATE conversations SET json = json_remove(json, '$.senderKeyInfo');
|
||||
UPDATE conversations
|
||||
SET
|
||||
json = json_remove(
|
||||
json,
|
||||
'$.senderKeyInfo',
|
||||
'$.storageID',
|
||||
'$.needsStorageServiceSync',
|
||||
'$.storageUnknownFields'
|
||||
);
|
||||
|
||||
UPDATE storyDistributions SET senderKeyInfoJson = NULL;
|
||||
`
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user