diff --git a/ts/sql/Server.ts b/ts/sql/Server.ts index c85ba1d3cfe..6533b23dc38 100644 --- a/ts/sql/Server.ts +++ b/ts/sql/Server.ts @@ -8362,10 +8362,10 @@ function wasGroupCallRingPreviouslyCanceled( bigint: true, } ) - .get({ + .get({ ringId, ringsOlderThanThisAreIgnored: Date.now() - MAX_GROUP_CALL_RING_AGE, - }) === 1 + }) === 1n ); }