-
- Downloads
Skip, rather than erroring, invalid guest requests
Erroring causes problems when people make illegal requests, because they don't know what limit parameter they should pass. This is definitely buggy. It leaks message counts for rooms people don't have permission to see, via tokens. But apparently we already consciously decided to allow that as a team, so this preserves that behaviour.
Showing
- synapse/handlers/_base.py 2 additions, 14 deletionssynapse/handlers/_base.py
- synapse/handlers/message.py 2 additions, 2 deletionssynapse/handlers/message.py
- synapse/handlers/room.py 0 additions, 2 deletionssynapse/handlers/room.py
- synapse/handlers/sync.py 0 additions, 1 deletionsynapse/handlers/sync.py
- synapse/notifier.py 1 addition, 2 deletionssynapse/notifier.py
Loading
Please register or sign in to comment