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

Method EventIDs

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

Lookup the event IDs for a batch of event numeric IDs. Returns an error if the retrieval went wrong.

(ctx context.Context, eventNIDs []types.EventNID)

Source from the content-addressed store, hash-verified

91 // Lookup the event IDs for a batch of event numeric IDs.
92 // Returns an error if the retrieval went wrong.
93 EventIDs(ctx context.Context, eventNIDs []types.EventNID) (map[types.EventNID]string, error)
94 // Opens and returns a room updater, which locks the room and opens a transaction.
95 // The GetRoomUpdater must have Commit or Rollback called on it if this doesn't return an error.
96 // If this returns an error then no further action is required.

Callers 3

StateBeforeEventFunction · 0.65
latestStateMethod · 0.65
stateEventMapMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected