aboutsummaryrefslogtreecommitdiff
path: root/roomserver/api
diff options
context:
space:
mode:
authorKegsay <kegan@matrix.org>2020-05-05 15:48:37 +0100
committerGitHub <noreply@github.com>2020-05-05 15:48:37 +0100
commit31d3b0d4a52aa52b05f85069ae3f08f9fc8b64ab (patch)
tree0dbfe18d64d14bc81e424a3afa4e15467a646cbf /roomserver/api
parent9d15312ef641e871a2958e2f7037c50902dbfcfe (diff)
Prefer /state_ids when missing state across federation (#1008)
* Prefer /state_ids when missing state across federation * Linting * Better logging
Diffstat (limited to 'roomserver/api')
-rw-r--r--roomserver/api/query.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/roomserver/api/query.go b/roomserver/api/query.go
index cb7cbb86..9afc51f4 100644
--- a/roomserver/api/query.go
+++ b/roomserver/api/query.go
@@ -29,7 +29,7 @@ type QueryLatestEventsAndStateRequest struct {
// The room ID to query the latest events for.
RoomID string `json:"room_id"`
// The state key tuples to fetch from the room current state.
- // If this list is empty or nil then no state events are returned.
+ // If this list is empty or nil then *ALL* current state events are returned.
StateToFetch []gomatrixserverlib.StateKeyTuple `json:"state_to_fetch"`
}