element-hq / element-hq/synapse

Add warning when `/forget` is used without a request body, as this is against the specification.

Open
#16,365 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

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

---

Base: `develop`

Original commit schedule, with full messages:


  1. Add warnings when /forget isn't given a JSON body


Contributor guide

Open the contributing guide

Research direction

Start by locating the /forget endpoint and tracing how requests without a JSON body are handled. Run the relevant endpoint tests, if present; done means the missing-body case emits the requested warning without changing valid requests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.