summary refs log tree commit diff
path: root/synapse/api/errors.py
diff options
context:
space:
mode:
authorDionysis Grigoropoulos <dgrig@erethon.com>2020-09-22 13:42:55 +0300
committerGitHub <noreply@github.com>2020-09-22 11:42:55 +0100
commit37ca5924bddccc37521798236339b539677d101f (patch)
tree0ef7be0f8d6378c1ad78206e5af455f6641f76cf /synapse/api/errors.py
parentAdd a comment re #1691 (diff)
downloadsynapse-37ca5924bddccc37521798236339b539677d101f.tar.xz
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>
Diffstat (limited to 'synapse/api/errors.py')
0 files changed, 0 insertions, 0 deletions