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

Method EventStateKeys

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

Look up the string event state keys for a list of numeric event state keys Returns an error if there was a problem talking to the database.

(ctx context.Context, eventStateKeyNIDs []types.EventStateKeyNID)

Source from the content-addressed store, hash-verified

83 // Look up the string event state keys for a list of numeric event state keys
84 // Returns an error if there was a problem talking to the database.
85 EventStateKeys(ctx context.Context, eventStateKeyNIDs []types.EventStateKeyNID) (map[types.EventStateKeyNID]string, error)
86 // Look up the numeric IDs for a list of events.
87 // Returns an error if there was a problem talking to the database.
88 EventNIDs(ctx context.Context, eventIDs []string) (map[string]types.EventNID, error)

Callers 2

IsInvitePendingFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected