Support MSC4140: Delayed events (Futures) (#17326)

This commit is contained in:
Andrew Ferrazzutti
2024-09-23 08:33:48 -04:00
committed by GitHub
parent 75e2c17d2a
commit 5173741c71
21 changed files with 1772 additions and 12 deletions

View File

@@ -761,6 +761,19 @@ email:
password_reset: "[%(server_name)s] Password reset"
email_validation: "[%(server_name)s] Validate your email"
```
---
### `max_event_delay_duration`
The maximum allowed duration by which sent events can be delayed, as per
[MSC4140](https://github.com/matrix-org/matrix-spec-proposals/pull/4140).
Must be a positive value if set.
Defaults to no duration (`null`), which disallows sending delayed events.
Example configuration:
```yaml
max_event_delay_duration: 24h
```
## Homeserver blocking
Useful options for Synapse admins.