mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 02:40:22 +00:00
Comment
This commit is contained in:
parent
c517a19c2d
commit
84a35f32c7
1 changed files with 2 additions and 0 deletions
|
@ -285,6 +285,8 @@ class DeviceStore(SQLBaseStore):
|
|||
|
||||
results = []
|
||||
for user_id, user_devices in devices.iteritems():
|
||||
# We bind literal True, as its database dependent how booleans are
|
||||
# handled.
|
||||
txn.execute(prev_sent_id_sql, (destination, user_id, True))
|
||||
rows = txn.fetchall()
|
||||
prev_id = rows[0][0]
|
||||
|
|
Loading…
Reference in a new issue