Fix handling of encrypted unprocessed envelopes

This commit is contained in:
Fedor Indutny
2025-02-10 12:44:59 -08:00
committed by GitHub
parent 0d87e3e6c9
commit 5bdb39a95b
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;