From fa928be0b85bf33de1d631b2b6a296575615b6c1 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Fri, 3 Apr 2020 15:45:39 +0100 Subject: [PATCH] Add a NOTSPEC to common/events.go --- common/events.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/events.go b/common/events.go index e46ec4c14..f4013dff9 100644 --- a/common/events.go +++ b/common/events.go @@ -127,8 +127,8 @@ func AddPrevEventsToEvent( // truncateAuthAndPrevEvents limits the number of events we add into // an event as prev_events or auth_events. -// The limits here feel a bit arbitrary but they are currently here -// because of https://github.com/matrix-org/matrix-doc/issues/2307 +// NOTSPEC: The limits here feel a bit arbitrary but they are currently +// here because of https://github.com/matrix-org/matrix-doc/issues/2307 // and because Synapse will just drop events that don't comply. func truncateAuthAndPrevEvents(auth, prev []gomatrixserverlib.EventReference) ( truncAuth, truncPrev []gomatrixserverlib.EventReference,