Fix backup export of broken link previews

This commit is contained in:
Fedor Indutny
2026-03-12 13:20:23 -07:00
committed by GitHub
parent bee5fc374a
commit 58cc046dd0

View File

@@ -3348,7 +3348,7 @@ export class BackupExportStream extends Readable {
url: preview.url,
title: preview.title ?? null,
description: preview.description ?? null,
date: getSafeLongFromTimestamp(preview.date),
date: getSafeLongFromTimestamp(preview.date ?? 0),
image: preview.image
? await this.#processAttachment({
attachment: preview.image,