-
- Downloads
Create function to check for long names in devices (#8364)
* Create a new function to verify that the length of a device name is
under a certain threshold.
* Refactor old code and tests to use said function.
* Verify device name length during registration of device
* Add a test for the above
Signed-off-by:
Dionysis Grigoropoulos <dgrig@erethon.com>
Showing
- changelog.d/8364.bugfix 2 additions, 0 deletionschangelog.d/8364.bugfix
- synapse/handlers/device.py 24 additions, 6 deletionssynapse/handlers/device.py
- tests/handlers/test_device.py 11 additions, 0 deletionstests/handlers/test_device.py
- tests/rest/admin/test_device.py 1 addition, 1 deletiontests/rest/admin/test_device.py
Loading
Please register or sign in to comment