matrix-org / matrix-org/matrix-spec
What is the state after a rejected state event?
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 330
- Forks
- 150
- Avg merge
- 2h 21m
- Merged PRs (30d)
- 3
Description
Quoth the spec:
The room state S′(E) after an event E is defined in terms of the room state S(E) before E, and depends on whether E is a state event or a message event:
- If E is a message event, then S′(E) = S(E).
- If E is a state event, then S′(E) is S(E), except that its entry corresponding to the event_type and state_key of E is replaced by the event_id of E.
(emphasis mine).
But if E was rejected (e.g. it failed to pass the auth rules based on its auth events) then it surely should not contribute to state changes throughout the rest of the DAG?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read the linked Matrix state-resolution section alongside the server-server checks performed on receipt of a PDU. Determine how a rejected state event affects S′(E) and whether the specification needs clarification; done means the rejected-event behavior is explicitly resolved in the specification.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100