Skip to Content

mediaItemId

mediaItemId(store: Pick<ChatStore, "sealedId">, localId: string): Promise<string>

Defined in: src/lib/chatStore/media.ts:120 

The vault record id of a library file: a keyed hash of its device id, so vault cannot tell it and reruns agree on it.

Parameters

ParameterType

store

Pick<ChatStore, "sealedId">

localId

string

Returns

Promise<string>

Last updated on