mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-17 03:43:11 -06:00
Add a NOTSPEC to common/events.go
This commit is contained in:
parent
90062a3d0d
commit
fa928be0b8
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue