Bluesky app fork with some witchin' additions 馃挮
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 967b3b49d9b0bdbe9c8fd7ea802ecf780b9e1a0c 9 lines 263 B view raw
1import * as env from '#/env' 2 3const ONE_MIN = 60 * 1e3 4const TTL = (env.IS_NATIVE ? 5 : 30) * ONE_MIN // 5 min on native 5 6export function isSessionIdExpired(since: number | undefined) { 7 if (since === undefined) return false 8 return Date.now() - since >= TTL 9}