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

Method StateAtEventIDs

roomserver/state/state.go:41–41  ·  view source on GitHub ↗
(ctx context.Context, eventIDs []string)

Source from the content-addressed store, hash-verified

39 SnapshotNIDFromEventID(ctx context.Context, eventID string) (types.StateSnapshotNID, error)
40 StateEntriesForTuples(ctx context.Context, stateBlockNIDs []types.StateBlockNID, stateKeyTuples []types.StateKeyTuple) ([]types.StateEntryList, error)
41 StateAtEventIDs(ctx context.Context, eventIDs []string) ([]types.StateAtEvent, error)
42 AddState(ctx context.Context, roomNID types.RoomNID, stateBlockNIDs []types.StateBlockNID, state []types.StateEntry) (types.StateSnapshotNID, error)
43 Events(ctx context.Context, eventNIDs []types.EventNID) ([]types.Event, error)
44 EventsFromIDs(ctx context.Context, eventIDs []string) ([]types.Event, error)

Callers 1

Implementers 2

Databaseroomserver/storage/shared/storage.go
RoomUpdaterroomserver/storage/shared/room_updater

Calls

no outgoing calls

Tested by

no test coverage detected