summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2018-07-19 15:12:48 +0100
committerDavid Baker <dave@matrix.org>2018-07-19 15:12:48 +0100
commit0cb5d34756bae925e5bbee0aa5971c5c83b45ee3 (patch)
treefe2c11f91e6ef9cee6792127a055c8e065ca84f4 /synapse/storage
parentMore run_on_reactor (diff)
downloadsynapse-0cb5d34756bae925e5bbee0aa5971c5c83b45ee3.tar.xz
Hopefully fix postgres
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/profile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/profile.py b/synapse/storage/profile.py
index d547a90624..485b855ec6 100644
--- a/synapse/storage/profile.py
+++ b/synapse/storage/profile.py
@@ -151,7 +151,7 @@ class ProfileStore(ProfileWorkerStore):
 
     def set_profile_active(self, user_localpart, active, batchnum):
         values = {
-            "active": active,
+            "active": int(active),
             "batch": batchnum,
         }
         if not active: