summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorWill Hunt <will@half-shot.uk>2023-09-05 20:46:57 +0100
committerGitHub <noreply@github.com>2023-09-05 15:46:57 -0400
commit1e571cd66437ea2455c203dafb94c20ba48cdcc1 (patch)
tree3e590ce72acc4acb0cd2776b78024da3d78e4931 /synapse/storage
parentAdd MSC4040 `matrix-fed` service lookups (#16137) (diff)
downloadsynapse-1e571cd66437ea2455c203dafb94c20ba48cdcc1.tar.xz
Fix appservices being unable to handle to_device messages for multiple users (#16251)
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/databases/main/deviceinbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/deviceinbox.py b/synapse/storage/databases/main/deviceinbox.py
index b471fcb064..271cdf923c 100644
--- a/synapse/storage/databases/main/deviceinbox.py
+++ b/synapse/storage/databases/main/deviceinbox.py
@@ -349,7 +349,7 @@ class DeviceInboxWorkerStore(SQLBaseStore):
                     table="devices",
                     column="user_id",
                     iterable=user_ids_to_query,
-                    keyvalues={"user_id": user_id, "hidden": False},
+                    keyvalues={"hidden": False},
                     retcols=("device_id",),
                 )