Bluesky app fork with some witchin' additions 馃挮 witchsky.app
bluesky fork client
at feat/custom-appview 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}