diff --git a/web/database/types/sqlite-query-executor.js b/web/database/types/sqlite-query-executor.js --- a/web/database/types/sqlite-query-executor.js +++ b/web/database/types/sqlite-query-executor.js @@ -104,7 +104,7 @@ removeAllThreads(): void; getAllThreadsWeb(): WebClientDBThreadInfo[]; - replaceKeyserver(user_info: ClientDBKeyserverInfo): void; + replaceKeyserver(keyserverInfo: ClientDBKeyserverInfo): void; removeKeyservers(ids: $ReadOnlyArray): void; removeAllKeyservers(): void; getAllKeyservers(): ClientDBKeyserverInfo[]; @@ -131,8 +131,10 @@ restoreFromBackupLog(backupLog: Uint8Array): void; addMessagesToDevice(messages: $ReadOnlyArray): void; - removeMessagesToDeviceOlderThan(message: ClientMessageToDevice): void; - removeAllMessagesForDevice(message: string): void; + removeMessagesToDeviceOlderThan( + lastConfirmedMessage: ClientMessageToDevice, + ): void; + removeAllMessagesForDevice(deviceID: string): void; getAllMessagesToDevice( deviceID: string, ): $ReadOnlyArray;