matrix-org / matrix-org/matrix-spec
When "updating" an m.room.member event, do we keep other fields?
- Dominant language
- HTML
- Stars
- 330
- Forks
- 150
- Avg merge
- 2h 21m
- Merged PRs (30d)
- 3
Description
The spec goes on and on about how things like `/kick` and `/ban` update the `membership` on an `m.room.member` event. Should the homeserver be required to keep all other keys when it does that?
A simple case is profiles, although some clients/apps may wish to add their own special keys to the event as well. The use case to force the homeserver to keep anything it isn't updating would be to ensure that there is always a profile for that user.
Contributor guide
Research direction
Start by reading the Matrix specification's discussion of m.room.member events and the membership changes used by /kick and /ban. Compare how profile and custom keys are treated, then clarify in the specification whether keys not being updated must be preserved; done means the rule and its scope are explicit.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend-api-design, documentation
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100