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

Method roomVersion

roomserver/internal/query/query.go:620–626  ·  view source on GitHub ↗
(roomID string)

Source from the content-addressed store, hash-verified

618}
619
620func (r *Queryer) roomVersion(roomID string) (gomatrixserverlib.RoomVersion, error) {
621 var res api.QueryRoomVersionForRoomResponse
622 err := r.QueryRoomVersionForRoom(context.Background(), &api.QueryRoomVersionForRoomRequest{
623 RoomID: roomID,
624 }, &res)
625 return res.RoomVersion, err
626}
627
628func (r *Queryer) QueryPublishedRooms(
629 ctx context.Context,

Callers 2

QueryEventsByIDMethod · 0.95
QueryMissingEventsMethod · 0.95

Calls 1

Tested by

no test coverage detected