Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #498 from matrix-org/push_rule_enabled_fix
Browse files Browse the repository at this point in the history
Fix enabling & disabling push rules
  • Loading branch information
dbkr committed Jan 14, 2016
2 parents 430d3d7 + a7927c1 commit 8db451f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/rest/client/v1/push_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def on_PUT(self, request):
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:
Expand Down

0 comments on commit 8db451f

Please sign in to comment.