summary refs log tree commit diff
path: root/synapse/storage/devices.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/storage/devices.py')
-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]