element-hq / element-hq/synapse

Synapse 200 OK's (no-op) a PUT /state request if the state is unchanged, regardless of permissions

Open
#5,917 0 comments 0 reactions 0 assignees View on GitHub
A-Spec-Compliance O-Uncommon S-Tolerable T-Defect
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

This issue has been migrated from [#5917](https://github.com/matrix-org/synapse/issues/5917).

---

It appears the no-op is too early, as it does return the event ID of the existing state event but doesn't say the user's permission is too low.

1. Send a state event as a moderator
2. Be demoted
3. Send the exact same state event

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.