From 43846a0d42f0191c366adfa4d2b361ecaef9cbc8 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Thu, 9 Feb 2017 16:33:25 +0000 Subject: [PATCH] Fix comments --- src/github.com/matrix-org/dendrite/roomserver/input/events.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/github.com/matrix-org/dendrite/roomserver/input/events.go b/src/github.com/matrix-org/dendrite/roomserver/input/events.go index 9b1986a14..2d2fb5867 100644 --- a/src/github.com/matrix-org/dendrite/roomserver/input/events.go +++ b/src/github.com/matrix-org/dendrite/roomserver/input/events.go @@ -15,10 +15,10 @@ type RoomEventDatabase interface { // Returns a sorted list of state entries. StateEntriesForEventIDs(eventIDs []string) ([]types.StateEntry, error) // Lookup the numeric IDs for a list of string event state keys. - // Returns a sorted list of state entries. + // Returns a map from string state key to numeric ID for the state key. EventStateKeyNIDs(eventStateKeys []string) (map[string]int64, error) // Lookup the Events for a list of numeric event IDs. - // Returns a sorted list of state entries. + // Returns a sorted list of events. Events(eventNIDs []int64) ([]types.Event, error) }