mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-16 19:33:09 -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
|
// truncateAuthAndPrevEvents limits the number of events we add into
|
||||||
// an event as prev_events or auth_events.
|
// an event as prev_events or auth_events.
|
||||||
// The limits here feel a bit arbitrary but they are currently here
|
// NOTSPEC: The limits here feel a bit arbitrary but they are currently
|
||||||
// because of https://github.com/matrix-org/matrix-doc/issues/2307
|
// here because of https://github.com/matrix-org/matrix-doc/issues/2307
|
||||||
// and because Synapse will just drop events that don't comply.
|
// and because Synapse will just drop events that don't comply.
|
||||||
func truncateAuthAndPrevEvents(auth, prev []gomatrixserverlib.EventReference) (
|
func truncateAuthAndPrevEvents(auth, prev []gomatrixserverlib.EventReference) (
|
||||||
truncAuth, truncPrev []gomatrixserverlib.EventReference,
|
truncAuth, truncPrev []gomatrixserverlib.EventReference,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue