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

Method QueryCurrentState

roomserver/api/api_trace.go:315–319  ·  view source on GitHub ↗
(ctx context.Context, req *QueryCurrentStateRequest, res *QueryCurrentStateResponse)

Source from the content-addressed store, hash-verified

313}
314
315func (t *RoomserverInternalAPITrace) QueryCurrentState(ctx context.Context, req *QueryCurrentStateRequest, res *QueryCurrentStateResponse) error {
316 err := t.Impl.QueryCurrentState(ctx, req, res)
317 util.GetLogger(ctx).WithError(err).Infof("QueryCurrentState req=%+v res=%+v", js(req), js(res))
318 return err
319}
320
321// QueryRoomsForUser retrieves a list of room IDs matching the given query.
322func (t *RoomserverInternalAPITrace) QueryRoomsForUser(ctx context.Context, req *QueryRoomsForUserRequest, res *QueryRoomsForUserResponse) error {

Callers

nothing calls this directly

Calls 3

InfofMethod · 0.80
jsFunction · 0.70
QueryCurrentStateMethod · 0.65

Tested by

no test coverage detected