Reset MessageReceiver processed count after reporting it

This commit is contained in:
Scott Nonnenberg 2022-05-25 11:15:09 -07:00 committed by GitHub
parent bf6d9c6cda
commit 68f705e6ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 27 additions and 10 deletions

4
ts/window.d.ts vendored
View file

@ -195,7 +195,9 @@ declare global {
getEnvironment: typeof getEnvironment;
getExpiration: () => string;
getHostName: () => string;
getInboxCollection: () => ConversationModelCollectionType;
getInboxCollection: () => ConversationModelCollectionType & {
onEmpty: () => void;
};
getInteractionMode: () => 'mouse' | 'keyboard';
getLocale: () => ElectronLocaleType;
getMediaCameraPermissions: () => Promise<boolean>;