WIP: add support for MSC4140 (Delayed Events) #1840

Draft
eve wants to merge 7 commits from eve/ackduck:I903 into main

7 commits

Author SHA1 Message Date
32ff746032 feat: include delay_id in unsigned event data
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
Checks / Prek / Check changed files (pull_request) Successful in 4s
Checks / Prek / Pre-commit & Formatting (pull_request) Failing after 1m6s
Update flake hashes / update-flake-hashes (pull_request) Successful in 1m8s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 3m15s
Checks / Changelog / Check changelog is added (pull_request_target) Failing after 7s
2026-06-13 17:29:29 +00:00
9c14376452 feat: Implement support for MSC4140 2026-06-13 17:29:05 +00:00
7aa35a8693 feat: Implement db serialization/deserialisation for unit type. 2026-06-12 13:03:13 +00:00
30a029c535 refactor: Remove pointless database restriction on key type
Using a str or a [u8] as a key type is valid. There's no reason to dissallow
it, even though using these values as raw key exists as an alternative.
2026-06-12 13:03:13 +00:00
f28e3de475 build: Update to a new Ruma revision with MSC4140 features enabled 2026-06-12 13:02:47 +00:00
2ddc249972 refactor: Use helpers for sending message events 2026-06-12 12:53:36 +00:00
2e7ef60349 refactor: Use a shared helper function for submitting state events at room creation
On room creation, A list of initial state events may be provided that
should be submitted to the room after creation. These events
should be treated as any other state event and submitted to
the same checks.

With this change, state events submitted on room creation will be
submitted through the same helper as those through the usual endpoint.

The submission helper is moved to the timeline service to make it
available everywhere. This will be useful for implementing MSC4140
(issue #903).
2026-06-12 12:53:36 +00:00