mirror of
https://github.com/element-hq/synapse.git
synced 2026-11-04 15:37:49 +00:00
Part of: MSC4354 (Sticky Events, Experimental Feature tracking issue #19409) Since a zero value would be meaningless, don't accept it. Spawns from https://github.com/matrix-org/matrix-spec-proposals/pull/4354#discussion_r4211703962 - MSC4354 Sticky Events: only strictly positive durations are valid MSC clarified in https://github.com/matrix-org/matrix-spec-proposals/commit/2d1c3d646aae3738680f8a9a0ccb38b2d941a45f to require strict positivity! --------- Signed-off-by: Olivier 'reivilibre <oliverw@matrix.org>