Remove unused parameter from, and add safeguard in, get_room_data (#8174)
Small cleanup PR. * Removed the unused `is_guest` argument * Added a safeguard to a (currently) impossible code path, fixing static checking at the same time.
Showing
- changelog.d/8174.misc 1 addition, 0 deletionschangelog.d/8174.misc
- synapse/handlers/message.py 12 additions, 8 deletionssynapse/handlers/message.py
- synapse/rest/client/v1/room.py 0 additions, 1 deletionsynapse/rest/client/v1/room.py
- tests/rest/client/test_retention.py 1 addition, 1 deletiontests/rest/client/test_retention.py
Loading
Please register or sign in to comment