Skip to main content

Function: decodeSyncdSnapshot()

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

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

Parameters

name

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

snapshot

ISyncdSnapshot

getAppStateSyncKey

FetchAppStateSyncKey

minimumVersionNumber

undefined | number

validateMacs

boolean = true

Returns

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