When incoming message should've been sealed sender, reply with profile key
This commit is contained in:
parent
18c86898d1
commit
8ef14e6f39
10 changed files with 384 additions and 38 deletions
|
@ -34,6 +34,7 @@ import { storageJobQueue } from '../util/JobQueue';
|
|||
import { sleep } from '../util/sleep';
|
||||
import { isMoreRecentThan } from '../util/timestamp';
|
||||
import { isStorageWriteFeatureEnabled } from '../storage/isFeatureEnabled';
|
||||
import { ourProfileKeyService } from './ourProfileKey';
|
||||
|
||||
const {
|
||||
eraseStorageServiceStateFromConversations,
|
||||
|
@ -1156,7 +1157,9 @@ export const runStorageServiceSyncJob = debounce(() => {
|
|||
return;
|
||||
}
|
||||
|
||||
storageJobQueue(async () => {
|
||||
await sync();
|
||||
}, `sync v${window.storage.get('manifestVersion')}`);
|
||||
ourProfileKeyService.blockGetWithPromise(
|
||||
storageJobQueue(async () => {
|
||||
await sync();
|
||||
}, `sync v${window.storage.get('manifestVersion')}`)
|
||||
);
|
||||
}, 500);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue