Fix importing call links with max expiration time

This commit is contained in:
ayumi-signal 2024-12-05 14:42:24 -08:00 committed by GitHub
parent 10eeb63776
commit 8b1ceaa1d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1174,7 +1174,7 @@ export class BackupImportStream extends Writable {
name,
restrictions: fromCallLinkRestrictionsProto(restrictions),
revoked: false,
expiration: expirationMs?.toNumber() || null,
expiration: getTimestampFromLong(expirationMs) || null,
storageNeedsSync: false,
};