0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 08:03:47 +01:00

Merge pull request #498 from matrix-org/push_rule_enabled_fix

Fix enabling & disabling push rules
This commit is contained in:
David Baker 2016-01-14 13:34:05 +00:00
commit 8db451f652

View file

@ -51,7 +51,7 @@ class PushRuleRestServlet(ClientV1RestServlet):
content = _parse_json(request)
if 'attr' in spec:
self.set_rule_attr(requester.user, spec, content)
self.set_rule_attr(requester.user.to_string(), spec, content)
defer.returnValue((200, {}))
try: