mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-28 17:23:09 -06:00
Fix lint error
This commit is contained in:
parent
bf00a8ef7f
commit
0170731796
|
|
@ -176,12 +176,3 @@ func getStateIDs(
|
||||||
AuthEventIDs: response.AuthChainEvents,
|
AuthEventIDs: response.AuthChainEvents,
|
||||||
}, nil
|
}, 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