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

Commit

Permalink
Merge pull request #1111 from matrix-org/matthew/device-ids
Browse files Browse the repository at this point in the history
make device IDs more useful for human disambiguation
  • Loading branch information
ara4n authored Sep 14, 2016
2 parents 0f73f0e + edbcb41 commit 1b01488
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 1b01488

Please sign in to comment.