summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-01-27 10:35:12 +0000
committerErik Johnston <erik@matrix.org>2017-01-27 10:35:12 +0000
commit84a35f32c72693e2fd98677dc4e26e14ca8d56c5 (patch)
treed516b9db389b07ee0e558b8f5091f005902eaf6e /synapse/storage
parentComment (diff)
downloadsynapse-84a35f32c72693e2fd98677dc4e26e14ca8d56c5.tar.xz
Comment
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/devices.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/storage/devices.py b/synapse/storage/devices.py

index 918520269e..00317b0c1f 100644 --- a/synapse/storage/devices.py +++ b/synapse/storage/devices.py
@@ -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]