element-hq / element-hq/synapse

Don't automatically include profile information in membership events when the sender excluded it

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

Description

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

---

If I send a `PUT /state/m.room.member/@whatever:example.org` request with content `{"membership":"join"}`, don't include the profile automatically.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the PUT /state/m.room.member/@whatever:example.org endpoint into the membership-event handling. Reproduce a request whose content is only {"membership":"join"}; done means the resulting event does not automatically include profile information that the sender omitted.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.