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

Method QueryRoomsForUser

roomserver/api/api_trace.go:322–326  ·  view source on GitHub ↗

QueryRoomsForUser retrieves a list of room IDs matching the given query.

(ctx context.Context, req *QueryRoomsForUserRequest, res *QueryRoomsForUserResponse)

Source from the content-addressed store, hash-verified

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 {
323 err := t.Impl.QueryRoomsForUser(ctx, req, res)
324 util.GetLogger(ctx).WithError(err).Infof("QueryRoomsForUser req=%+v res=%+v", js(req), js(res))
325 return err
326}
327
328// QueryBulkStateContent does a bulk query for state event content in the given rooms.
329func (t *RoomserverInternalAPITrace) QueryBulkStateContent(ctx context.Context, req *QueryBulkStateContentRequest, res *QueryBulkStateContentResponse) error {

Callers

nothing calls this directly

Calls 3

InfofMethod · 0.80
jsFunction · 0.70
QueryRoomsForUserMethod · 0.65

Tested by

no test coverage detected