mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-29 01:33:10 -06:00
Fix lint error
This commit is contained in:
parent
bf00a8ef7f
commit
0170731796
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue