mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 23:13:11 -06:00
Add TODO for moving authEventIDs to gomatrixserverlib
This commit is contained in:
parent
efb009877c
commit
8ea34f7fc6
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue