Skip to main content

Function: decodeSyncdSnapshot()

decodeSyncdSnapshot(name, snapshot, getAppStateSyncKey, minimumVersionNumber, validateMacs): Promise<{ mutationMap: ChatMutationMap; state: LTHashState; }>

Defined in: src/Utils/chat-utils.ts:376

Parameters

name

"critical_unblock_low" | "regular_high" | "regular_low" | "critical_block" | "regular"

snapshot

ISyncdSnapshot

getAppStateSyncKey

FetchAppStateSyncKey

minimumVersionNumber

undefined | number

validateMacs

boolean = true

Returns

Promise<{ mutationMap: ChatMutationMap; state: LTHashState; }>