Exclude erased messages from backup

This commit is contained in:
trevor-signal
2026-03-09 15:35:30 -04:00
committed by GitHub
parent f1c5f73b39
commit c7b7a0a9b6
2 changed files with 24 additions and 0 deletions

View File

@@ -1748,6 +1748,8 @@ export class BackupExportStream extends Readable {
} else if (message.pollTerminateNotification) {
// TODO (DESKTOP-9282)
return undefined;
} else if (message.isErased) {
return undefined;
} else {
result.standardMessage = await this.#toStandardMessage({
message,