diff --git a/src/github.com/matrix-org/dendrite/clientapi/producers/roomserver.go b/src/github.com/matrix-org/dendrite/clientapi/producers/roomserver.go index 5e2eed77e..c05da98d2 100644 --- a/src/github.com/matrix-org/dendrite/clientapi/producers/roomserver.go +++ b/src/github.com/matrix-org/dendrite/clientapi/producers/roomserver.go @@ -92,6 +92,7 @@ func (c *RoomserverProducer) SendEventWithState(state gomatrixserverlib.RespStat return c.SendInputRoomEvents(ires, eventIDs) } +// TODO Make this a method on gomatrixserverlib.Event func authEventIDs(event gomatrixserverlib.Event) (ids []string) { for _, ref := range event.AuthEvents() { ids = append(ids, ref.EventID)