Skip to content
Snippets Groups Projects
Commit a93fa42b authored by David Baker's avatar David Baker
Browse files

priority class now dealt with in namespaced rule_id

parent aaf50bf6
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment