From ba78cde10f7b63545f74b72753eaf2c543b5b6da Mon Sep 17 00:00:00 2001 From: Andrew Ferrazzutti Date: Tue, 30 Sep 2025 20:15:36 -0400 Subject: [PATCH] Specify delay_id grammar --- proposals/4140-delayed-events-futures.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proposals/4140-delayed-events-futures.md b/proposals/4140-delayed-events-futures.md index d337bc05f..3540fd7d8 100644 --- a/proposals/4140-delayed-events-futures.md +++ b/proposals/4140-delayed-events-futures.md @@ -126,6 +126,8 @@ Content-Type: application/json } ``` +The `delay_id` is generated by the server. It SHOULD contain only valid non-surrogate Unicode codepoints except `:` and `NUL`, and MUST NOT exceed 255 bytes. + The server MAY round the delay up to a maximum of 30 seconds away from the request. If the requested delay exceeds the maximum delay defined by the homeserver, the server will respond with HTTP 400,