MCPcopy Create free account
hub / github.com/daodst/chat / EventStateKeyNIDs

Method EventStateKeyNIDs

roomserver/storage/interface.go:53–53  ·  view source on GitHub ↗

Look up the numeric IDs for a list of string event state keys. Returns a map from string state key to numeric ID for the state key.

(ctx context.Context, eventStateKeys []string)

Source from the content-addressed store, hash-verified

51 // Look up the numeric IDs for a list of string event state keys.
52 // Returns a map from string state key to numeric ID for the state key.
53 EventStateKeyNIDs(ctx context.Context, eventStateKeys []string) (map[string]types.EventStateKeyNID, error)
54 // Look up the numeric state data IDs for each numeric state snapshot ID
55 // The returned slice is sorted by numeric state snapshot ID.
56 StateBlockNIDs(ctx context.Context, stateNIDs []types.StateSnapshotNID) ([]types.StateBlockNIDList, error)

Callers 2

IsInvitePendingFunction · 0.65
loadAuthEventsFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected