diff --git a/docs/application_services.rst b/docs/application_services.rst index a57bae619..7e87ac9ad 100644 --- a/docs/application_services.rst +++ b/docs/application_services.rst @@ -20,7 +20,7 @@ The format of the AS configuration file is as follows: url: as_token: - hs_token: + hs_token: sender_localpart: namespaces: users: # List of users we're interested in diff --git a/synapse/__init__.py b/synapse/__init__.py index 18b8ff775..705ea581d 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -16,4 +16,4 @@ """ This is a reference implementation of a Matrix home server. """ -__version__ = "0.9.0-r1" +__version__ = "0.9.0-r3" diff --git a/synapse/storage/push_rule.py b/synapse/storage/push_rule.py index ee7718d5e..da23c1a11 100644 --- a/synapse/storage/push_rule.py +++ b/synapse/storage/push_rule.py @@ -211,7 +211,7 @@ class PushRuleStore(SQLBaseStore): yield self._simple_upsert( PushRuleEnableTable.table_name, {'user_name': user_name, 'rule_id': rule_id}, - {'enabled': enabled}, + {'enabled': 1 if enabled else 0}, desc="set_push_rule_enabled", )