From e729c43c208116217626e3cb63ae437367c51147 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Fri, 24 Jan 2020 16:53:27 +0000 Subject: [PATCH] nolint containsBackwardExtremity for now --- syncapi/routing/messages.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/syncapi/routing/messages.go b/syncapi/routing/messages.go index eb678296c..4fac2ba22 100644 --- a/syncapi/routing/messages.go +++ b/syncapi/routing/messages.go @@ -344,6 +344,11 @@ func (r *messagesReq) handleNonEmptyEventsSlice(streamEvents []types.StreamEvent // considers the event itself a backward extremity if at least one of the parent // events doesn't exist in the database. // Returns an error if there was an issue with talking to the database. +// +// This function is unused but currently set to nolint for now until we are +// absolutely sure that the changes in matrix-org/dendrite#847 are behaving +// properly. +// nolint:unused func (r *messagesReq) containsBackwardExtremity(events []types.StreamEvent) (bool, error) { // Select the earliest retrieved event. var ev *types.StreamEvent