Fix handling of encrypted unprocessed envelopes

This commit is contained in:
Fedor Indutny 2025-02-10 12:44:59 -08:00 committed by GitHub
commit 5bdb39a95b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 73 additions and 23 deletions

View file

@ -375,6 +375,11 @@ export type StickerPackRefType = Readonly<{
export type UnprocessedType = {
id: string;
timestamp: number;
/*
* A client generated date used for removing old envelopes from the table
* on startup.
*/
receivedAtDate: number;
receivedAtCounter: number;
attempts: number;
type: number;