Storage logging improvements and repeat limits for stop sync
This commit is contained in:

committed by
Scott Nonnenberg

parent
d87335f5a6
commit
d1d7e0aa99
@@ -1609,6 +1609,19 @@
|
||||
removeGv2Listener();
|
||||
}
|
||||
);
|
||||
|
||||
window.Signal.RemoteConfig.onChange(
|
||||
'desktop.storage',
|
||||
async ({ enabled }) => {
|
||||
if (!enabled) {
|
||||
await window.storage.remove('storageKey');
|
||||
return;
|
||||
}
|
||||
|
||||
await window.storage.remove('manifestVersion');
|
||||
await window.textsecure.messaging.sendRequestKeySyncMessage();
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
window.getSyncRequest = () =>
|
||||
|
Reference in New Issue
Block a user