Fix importing call links with max expiration time

Co-authored-by: ayumi-signal <143036029+ayumi-signal@users.noreply.github.com>
This commit is contained in:
automated-signal 2024-12-09 12:19:43 -06:00 committed by GitHub
parent f43e98041d
commit 227d80e441
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,
};