aboutsummaryrefslogtreecommitdiff
path: root/syncapi
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2020-09-27 22:23:42 +0100
committerMatthew Hodgson <matthew@matrix.org>2020-09-27 22:23:42 +0100
commit5bbe73747c8fea387c97c79de3917e61b487c646 (patch)
tree8aa2a7e5356f3b0bd14ab5e8415108b89f666c24 /syncapi
parent63af00d5d5715ade0276fe3f4ff8b406689b30f4 (diff)
unbreak CORS on /capabilities.
fixes https://github.com/vector-im/element-web/issues/15297
Diffstat (limited to 'syncapi')
-rw-r--r--syncapi/routing/messages.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/syncapi/routing/messages.go b/syncapi/routing/messages.go
index 0999d3e8..6447e5d5 100644
--- a/syncapi/routing/messages.go
+++ b/syncapi/routing/messages.go
@@ -179,7 +179,7 @@ func OnIncomingMessagesRequest(
}
}
-// retrieveEvents retrieve events from the local database for a request on
+// retrieveEvents retrieves events from the local database for a request on
// /messages. If there's not enough events to retrieve, it asks another
// homeserver in the room for older events.
// Returns an error if there was an issue talking to the database or with the