unbreak CORS on /capabilities.

fixes https://github.com/vector-im/element-web/issues/15297
This commit is contained in:
Matthew Hodgson 2020-09-27 22:23:42 +01:00
parent 63af00d5d5
commit 5bbe73747c
3 changed files with 4 additions and 2 deletions

View file

@ -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