mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-17 23:42:33 +01:00
make device IDs more useful for human disambiguation
This commit is contained in:
parent
4162f820ff
commit
edbcb4152b
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ class DeviceHandler(BaseHandler):
|
|||
attempts = 0
|
||||
while attempts < 5:
|
||||
try:
|
||||
device_id = stringutils.random_string_with_symbols(16)
|
||||
device_id = stringutils.random_string(10).upper()
|
||||
yield self.store.store_device(
|
||||
user_id=user_id,
|
||||
device_id=device_id,
|
||||
|
|
Loading…
Reference in a new issue