summary refs log tree commit diff
path: root/synapse/storage/data_stores/main/deviceinbox.py
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2019-11-21 12:00:14 +0000
committerGitHub <noreply@github.com>2019-11-21 12:00:14 +0000
commit3916e1b97a1ffc481dfdf66f7da58201a52140a9 (patch)
tree98a9c1e0ee1de0669aee83fd7b257a9e86792c45 /synapse/storage/data_stores/main/deviceinbox.py
parentupdate macOS installation instructions (diff)
downloadsynapse-3916e1b97a1ffc481dfdf66f7da58201a52140a9.tar.xz
Clean up newline quote marks around the codebase (#6362)
Diffstat (limited to 'synapse/storage/data_stores/main/deviceinbox.py')
-rw-r--r--synapse/storage/data_stores/main/deviceinbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/data_stores/main/deviceinbox.py b/synapse/storage/data_stores/main/deviceinbox.py
index 96cd0fb77a..a23744f11c 100644
--- a/synapse/storage/data_stores/main/deviceinbox.py
+++ b/synapse/storage/data_stores/main/deviceinbox.py
@@ -380,7 +380,7 @@ class DeviceInboxStore(DeviceInboxWorkerStore, DeviceInboxBackgroundUpdateStore)
             devices = list(messages_by_device.keys())
             if len(devices) == 1 and devices[0] == "*":
                 # Handle wildcard device_ids.
-                sql = "SELECT device_id FROM devices" " WHERE user_id = ?"
+                sql = "SELECT device_id FROM devices WHERE user_id = ?"
                 txn.execute(sql, (user_id,))
                 message_json = json.dumps(messages_by_device["*"])
                 for row in txn: