Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
make device IDs more useful for human disambiguation
Browse files Browse the repository at this point in the history
  • Loading branch information
ara4n committed Sep 12, 2016
1 parent 4162f82 commit edbcb41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/handlers/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def check_device_registered(self, user_id, device_id,
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,
Expand Down

0 comments on commit edbcb41

Please sign in to comment.