0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-24 12:44:10 +01:00

don't need to return the hidden column any more

This commit is contained in:
Hubert Chathi 2019-08-01 02:16:09 -04:00
parent 73b26f827c
commit d78a4fe156

View file

@ -52,7 +52,7 @@ class DeviceWorkerStore(SQLBaseStore):
return self._simple_select_one( return self._simple_select_one(
table="devices", table="devices",
keyvalues={"user_id": user_id, "device_id": device_id, "hidden": False}, 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", desc="get_device",
) )