Default device_display_name to null
It turns out that it's more useful to return a null device display name (and let clients decide how to handle it: eg, falling back to device_id) than using a constant string like "unknown device".
Showing
- synapse/handlers/device.py 1 addition, 1 deletionsynapse/handlers/device.py
- synapse/rest/client/v2_alpha/keys.py 1 addition, 3 deletionssynapse/rest/client/v2_alpha/keys.py
- synapse/storage/schema/delta/33/devices_for_e2e_keys.sql 1 addition, 1 deletionsynapse/storage/schema/delta/33/devices_for_e2e_keys.sql
- synapse/storage/schema/delta/33/devices_for_e2e_keys_clear_unknown_device.sql 20 additions, 0 deletions...ma/delta/33/devices_for_e2e_keys_clear_unknown_device.sql
Loading
Please register or sign in to comment