diff options
author | Erik Johnston <erik@matrix.org> | 2017-01-27 10:35:12 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-01-27 10:35:12 +0000 |
commit | 84a35f32c72693e2fd98677dc4e26e14ca8d56c5 (patch) | |
tree | d516b9db389b07ee0e558b8f5091f005902eaf6e | |
parent | Comment (diff) | |
download | synapse-84a35f32c72693e2fd98677dc4e26e14ca8d56c5.tar.xz |
Comment
-rw-r--r-- | synapse/storage/devices.py | 2 |
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] |