Update comments

This commit is contained in:
Anant Prakash 2018-06-22 16:03:33 +05:30
parent 96cb193db0
commit f7aa774bd7
No known key found for this signature in database
GPG key ID: C5D399F626523045

View file

@ -43,8 +43,8 @@ func GetEvent(
return util.JSONResponse{Code: http.StatusOK, JSON: event}
}
// getEvent returns the requested event.
// Or returns an error response which can be sent to the client.
// getEvent returns the requested event,
// otherwise it returns an error response which can be sent to the client.
func getEvent(
ctx context.Context,
request *gomatrixserverlib.FederationRequest,