diff options
author | Matthew Hodgson <matthew@matrix.org> | 2020-09-27 22:23:42 +0100 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2020-09-27 22:23:42 +0100 |
commit | 5bbe73747c8fea387c97c79de3917e61b487c646 (patch) | |
tree | 8aa2a7e5356f3b0bd14ab5e8415108b89f666c24 /syncapi | |
parent | 63af00d5d5715ade0276fe3f4ff8b406689b30f4 (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.go | 2 |
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 |