Skip to main content

Type Alias: IdentityChangeContext

IdentityChangeContext: object

Defined in: src/Utils/identity-change-handler.ts:17

Type declaration

assertSessions()

assertSessions: (jids, force?) => Promise<boolean>

Parameters

jids

string[]

force?

boolean

Returns

Promise<boolean>

debounceCache

debounceCache: NodeCache<boolean>

logger

logger: ILogger

meId

meId: string | undefined

meLid

meLid: string | undefined

validateSession()

validateSession: (jid) => Promise<{ exists: boolean; reason: string; }>

Parameters

jid

string

Returns

Promise<{ exists: boolean; reason: string; }>