Add comment from @APwhitehat

This commit is contained in:
Kegan Dougal 2020-03-14 20:08:33 +00:00
parent f2e2bb09f6
commit be44b5a6f1

View file

@ -29,6 +29,8 @@ func GetEventAuth(
roomID string,
eventID string,
) util.JSONResponse {
// TODO: Optimisation: we shouldn't be querying all the room state
// that is in state.StateEvents - we just ignore it.
state, err := getState(ctx, request, query, roomID, eventID)
if err != nil {
return *err