diff options
author | Hubert Chathi <hubert@uhoreg.ca> | 2019-08-01 02:16:09 -0400 |
---|---|---|
committer | Hubert Chathi <hubert@uhoreg.ca> | 2019-08-01 02:16:09 -0400 |
commit | d78a4fe156e574ad1f28cf3b12ed0bb11bc077f4 (patch) | |
tree | 69b6e1216a5374570ee2123cd5ef6f631013e366 /synapse/storage/devices.py | |
parent | really fix queries to work with Postgres (diff) | |
download | synapse-d78a4fe156e574ad1f28cf3b12ed0bb11bc077f4.tar.xz |
don't need to return the hidden column any more
Diffstat (limited to 'synapse/storage/devices.py')
-rw-r--r-- | synapse/storage/devices.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/devices.py b/synapse/storage/devices.py index 9f2bb40834..991e28ea24 100644 --- a/synapse/storage/devices.py +++ b/synapse/storage/devices.py @@ -52,7 +52,7 @@ class DeviceWorkerStore(SQLBaseStore): return self._simple_select_one( table="devices", keyvalues={"user_id": user_id, "device_id": device_id, "hidden": False}, - retcols=("user_id", "device_id", "display_name", "hidden"), + retcols=("user_id", "device_id", "display_name"), desc="get_device", ) |