forked from MirrorHub/synapse
Fix enabling & disabling push rules
This commit is contained in:
parent
bce602eb4e
commit
a7927c13fd
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class PushRuleRestServlet(ClientV1RestServlet):
|
||||||
content = _parse_json(request)
|
content = _parse_json(request)
|
||||||
|
|
||||||
if 'attr' in spec:
|
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, {}))
|
defer.returnValue((200, {}))
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue