MCPcopy Create free account
hub / github.com/Noumena-Network/code / shouldSkipDevChannelsDialog

Function shouldSkipDevChannelsDialog

src/startupSessionGates.ts:18–28  ·  view source on GitHub ↗
(params: {
  channelsEnabled: boolean
  session: StartupSession
})

Source from the content-addressed store, hash-verified

16 | undefined
17
18export function shouldSkipDevChannelsDialog(params: {
19 channelsEnabled: boolean
20 session: StartupSession
21}): boolean {
22 if (!params.channelsEnabled) {
23 return true
24 }
25
26 const channelAuth = buildChannelNotificationAuthState(params.session)
27 return !channelAuth.hasOauthChannelSession
28}
29
30export function hasChromeStartupEligibilitySession(params: {
31 buildMode: string | undefined

Callers 2

showSetupScreensFunction · 0.85

Calls 1

Tested by

no test coverage detected