From 0cb5d34756bae925e5bbee0aa5971c5c83b45ee3 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 19 Jul 2018 15:12:48 +0100 Subject: Hopefully fix postgres --- synapse/storage/profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synapse') 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: -- cgit 1.5.1