Fix lint error

This commit is contained in:
Neil Alexander 2021-07-15 16:20:19 +01:00
parent bf00a8ef7f
commit 0170731796
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -176,12 +176,3 @@ func getStateIDs(
AuthEventIDs: response.AuthChainEvents,
}, nil
}
func getIDsFromEvent(events []*gomatrixserverlib.Event) []string {
IDs := make([]string, len(events))
for i := range events {
IDs[i] = events[i].EventID()
}
return IDs
}