element-hq / element-hq/synapse
Logically should not be able to leave a user who is not in the room
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 6h
- Merged PRs (30d)
- 46
Description
This issue has been migrated from [#2498](https://github.com/matrix-org/synapse/issues/2498).
---
### Description
This is only possible by doing something weird/manual. It shouldn't come up in normal operation, although I was surprised it was possible.
### Steps to reproduce
- Send a leave event for someone not in the room (and never has been)
I would have expected an error, but instead the event carries through. This confuses some clients (Riot) into thinking someone left the room when in fact they were never there.
### Version information
- **Homeserver**: t2l.io
- **Version**: 0.23.1
- **Install method**: pip
- **Platform**: Ubuntu 16.04 (under an LXC container)
Contributor guide
Assessment
This issue has not been assessed yet.