element-hq / element-hq/synapse
Implement MSC3759: Leave event metadata for deactivated users
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 51
Description
This issue has been migrated from [#12360](https://github.com/matrix-org/synapse/pull/12360).
---
This PR implements [MSC3759](https://github.com/matrix-org/matrix-spec-proposals/pull/3759), which includes an extra key on the leave membership events sent when deactivating a user.
N.B. I couldn't find any tests that tested the existing behavior, so some pointers on how to write those tests would be good :)
Contributor guide
Research direction
Start with MSC3759 and the deactivation flow that emits leave membership events; the issue notes that existing behavior lacks dedicated tests, so locate the relevant event-generation tests or test entry point. Done means the leave events for deactivated users include the metadata required by the MSC and the behavior is covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100