Self-repairing message counter

This commit is contained in:
Fedor Indutny 2021-09-15 11:45:22 -07:00 committed by GitHub
parent 5780c3d4b8
commit 3f7957c20d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 81 additions and 5 deletions

View file

@ -139,6 +139,8 @@ export async function startApp(): Promise<void> {
);
}
await window.Signal.Util.initializeMessageCounter();
// Initialize WebAPI as early as possible
let server: WebAPIType | undefined;
let messageReceiver: MessageReceiver | undefined;