From 4f95f6a18bd8c984c3b8980adce6ec987769cff3 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Fri, 2 Jun 2017 11:12:19 +0100 Subject: [PATCH] Fix comments --- src/github.com/matrix-org/dendrite/roomserver/api/query.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/github.com/matrix-org/dendrite/roomserver/api/query.go b/src/github.com/matrix-org/dendrite/roomserver/api/query.go index b47184c84..738cb0371 100644 --- a/src/github.com/matrix-org/dendrite/roomserver/api/query.go +++ b/src/github.com/matrix-org/dendrite/roomserver/api/query.go @@ -78,9 +78,12 @@ type QueryEventsByIDRequest struct { type QueryEventsByIDResponse struct { // Copy of the request for debugging. QueryEventsByIDRequest - // A list of events with the request IDs. + // A list of events with the requested IDs. // If the roomserver does not have a copy of a requested event // then it will omit that event from the list. + // If the roomserver thinks it has a copy of the event, but + // fails to read it from the database then it will fail + // the entire request. Events []gomatrixserverlib.Event }