From 0170731796ac6491a98449995e0e91c41b778bf3 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Thu, 15 Jul 2021 16:20:19 +0100 Subject: [PATCH] Fix lint error --- federationapi/routing/state.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/federationapi/routing/state.go b/federationapi/routing/state.go index 38d82e8f..48101468 100644 --- a/federationapi/routing/state.go +++ b/federationapi/routing/state.go @@ -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 -}