mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-06 15:54:55 -04:00
Clean up newline quote marks around the codebase (#6362)
This commit is contained in:
parent
9cc168e42e
commit
3916e1b97a
26 changed files with 43 additions and 46 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue