diff --git a/ts/services/backups/import.ts b/ts/services/backups/import.ts index 92ace880b167..a59b62f1b0f5 100644 --- a/ts/services/backups/import.ts +++ b/ts/services/backups/import.ts @@ -1179,7 +1179,7 @@ export class BackupImportStream extends Writable { name, restrictions: fromCallLinkRestrictionsProto(restrictions), revoked: false, - expiration: expirationMs?.toNumber() || null, + expiration: getTimestampFromLong(expirationMs) || null, storageNeedsSync: false, };