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

Method QueryLatestEventsAndState

roomserver/internal/query/query.go:46–52  ·  view source on GitHub ↗

QueryLatestEventsAndState implements api.RoomserverInternalAPI

(
	ctx context.Context,
	request *api.QueryLatestEventsAndStateRequest,
	response *api.QueryLatestEventsAndStateResponse,
)

Source from the content-addressed store, hash-verified

44
45// QueryLatestEventsAndState implements api.RoomserverInternalAPI
46func (r *Queryer) QueryLatestEventsAndState(
47 ctx context.Context,
48 request *api.QueryLatestEventsAndStateRequest,
49 response *api.QueryLatestEventsAndStateResponse,
50) error {
51 return helpers.QueryLatestEventsAndState(ctx, r.DB, request, response)
52}
53
54// QueryStateAfterEvents implements api.RoomserverInternalAPI
55func (r *Queryer) QueryStateAfterEvents(

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected