Merge pull request #145 from matrix-org/hotfixes-v0.9.0-r3

Hotfixes v0.9.0 r3
This commit is contained in:
David Baker 2015-05-10 10:54:44 +01:00
commit 2640d6718d
2 changed files with 2 additions and 2 deletions

View file

@ -16,4 +16,4 @@
""" This is a reference implementation of a Matrix home server.
"""
__version__ = "0.9.0-r2"
__version__ = "0.9.0-r3"

View file

@ -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",
)