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

Method Events

roomserver/state/state.go:43–43  ·  view source on GitHub ↗
(ctx context.Context, eventNIDs []types.EventNID)

Source from the content-addressed store, hash-verified

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)
45}
46

Callers 15

loadStateEventsMethod · 0.65
IsServerCurrentlyInRoomFunction · 0.65
GetMembershipsAtStateFunction · 0.65
LoadEventsFunction · 0.65
loadAuthEventsFunction · 0.65
buildInviteStrippedStateFunction · 0.65
ProvideEventsMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected