WIP: MSC2815 message undeletion #1162

Draft
Jade wants to merge 3 commits from jade/msc2815 into main

3 commits

Author SHA1 Message Date
aa29b81ef6
fix: Don't store events that have already been redacted
Some checks failed
Release Docker Image / define-variables (push) Successful in 4s
Rust Checks / Format (push) Successful in 1m0s
Rust Checks / Clippy (push) Failing after 4m2s
Rust Checks / Cargo Test (push) Successful in 4m33s
Release Docker Image / build-image (linux/amd64, linux-amd64) (push) Successful in 12m56s
Release Docker Image / build-image (linux/arm64, linux-arm64) (push) Successful in 16m1s
Release Docker Image / merge (push) Successful in 41s
Documentation / Build and Deploy Documentation (pull_request) Successful in 27s
This prevents clobbering
2025-06-14 19:40:43 +01:00
46b1eeb2c8
feat: Allow retrieving redacted message content (msc2815)
Still to do:
- Handling the difference between content that we have deleted and
content we never received
- Deleting the original content on command or expiry

Another question is if we have to store the full original content?
Can we get by with just storing the 'content' field?
2025-06-14 19:40:43 +01:00
88ecf61d49
feat: Store the original content of redacted PDUs 2025-06-14 19:40:42 +01:00