diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2019-11-21 12:00:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-21 12:00:14 +0000 |
commit | 3916e1b97a1ffc481dfdf66f7da58201a52140a9 (patch) | |
tree | 98a9c1e0ee1de0669aee83fd7b257a9e86792c45 /synapse/storage/data_stores/main/deviceinbox.py | |
parent | update macOS installation instructions (diff) | |
download | synapse-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.py | 2 |
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: |