0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-16 19:43:50 +01:00
This commit is contained in:
Erik Johnston 2017-01-27 10:35:12 +00:00
parent c517a19c2d
commit 84a35f32c7

View file

@ -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]