Merge branch 'develop' into application-services

pull/4/merge
Kegan Dougal 10 years ago
commit c20281ee33
  1. 4
      synapse/rest/client/v1/push_rule.py

@ -82,10 +82,6 @@ class PushRuleRestServlet(ClientV1RestServlet):
@defer.inlineCallbacks
def on_DELETE(self, request):
spec = _rule_spec_from_path(request.postpath)
try:
priority_class = _priority_class_from_spec(spec)
except InvalidRuleException as e:
raise SynapseError(400, e.message)
user, _ = yield self.auth.get_user_by_req(request)

Loading…
Cancel
Save