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

Method EventsFromIDs

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

EventsFromIDs looks up the Events for a list of event IDs. Does not error if event was not found. Returns an error if the retrieval went wrong.

(ctx context.Context, eventIDs []string)

Source from the content-addressed store, hash-verified

135 // not found.
136 // Returns an error if the retrieval went wrong.
137 EventsFromIDs(ctx context.Context, eventIDs []string) ([]types.Event, error)
138 // Publish or unpublish a room from the room directory.
139 PublishRoom(ctx context.Context, roomID string, publish bool) error
140 // Returns a list of room IDs for rooms which are published.

Callers 11

ScanEventTreeFunction · 0.65
PerformInboundPeekMethod · 0.65
QueryMissingEventsMethod · 0.65
lookupEventMethod · 0.65
processRoomEventMethod · 0.65
processStateBeforeMethod · 0.65
fetchAuthEventsMethod · 0.65
mainFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected