summary refs log tree commit diff
path: root/synapse/storage/devices.py
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2019-08-01 02:16:09 -0400
committerHubert Chathi <hubert@uhoreg.ca>2019-08-01 02:16:09 -0400
commitd78a4fe156e574ad1f28cf3b12ed0bb11bc077f4 (patch)
tree69b6e1216a5374570ee2123cd5ef6f631013e366 /synapse/storage/devices.py
parentreally fix queries to work with Postgres (diff)
downloadsynapse-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.py2
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",
         )