element-hq / element-hq/synapse
Registering a 3pid can cause you to be kicked out of a room
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 51
Description
This issue has been migrated from [#7838](https://github.com/matrix-org/synapse/issues/7838).
---
And worse, if you were the only one in the room, you will be unable to rejoin.
Steps to repeat:
1. Be the only user in a room.
2. Send a 3pid invite to the room, to an unregistered 3pid.
3. Register the 3pid yourself.
4. Observe that you are no longer a member of the room; rather you have an invite to that room which you cannot accept ("no known servers", or, if the room's extremities get cleared by `delete_old_current_state_events`, "No create event in auth_events").
Until #7804 landed, you wouldn't have been able to reject it, either. That much at least seems to work now.
Contributor guide
Assessment
This issue has not been assessed yet.