Remove inboxCollection, ensure falsey active_at removes from badge count

This commit is contained in:
Scott Nonnenberg 2022-05-31 18:26:57 -07:00 committed by GitHub
parent 4a8cdbd687
commit 638e3e3a58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 172 additions and 95 deletions

View file

@ -2307,7 +2307,7 @@ export async function startApp(): Promise<void> {
]);
log.info('onEmpty: All outstanding database requests complete');
window.readyForUpdates();
window.getInboxCollection().onEmpty();
window.ConversationController.onEmpty();
// Start listeners here, after we get through our queue.
RotateSignedPreKeyListener.init(window.Whisper.events, newVersion);