element-hq / element-hq/synapse

Profile change just before leaving a room may cause a rejoin

Open
#12,926 1 comment 0 reactions 0 assignees View on GitHub
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 [#12926](https://github.com/matrix-org/synapse/issues/12926).

---

This is likely the "mirror" manifestation of the problem described in #10066. Feel free to close and track it there instead.

### Steps to reproduce

- call `/profile/{userId}/displayname`
- then immediately `/leave`

Assuming permissive join_rules, the user leaves the room first but then immediately rejoins, as `/profile` call catches up going across all the user's rooms. Unreliably (as it's a race) reproduced on current matrix.org.

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.