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

Merge branch 'develop' into application-services

This commit is contained in:
Kegan Dougal 2015-02-05 16:11:34 +00:00
commit c20281ee33

View file

@ -82,10 +82,6 @@ class PushRuleRestServlet(ClientV1RestServlet):
@defer.inlineCallbacks @defer.inlineCallbacks
def on_DELETE(self, request): def on_DELETE(self, request):
spec = _rule_spec_from_path(request.postpath) 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) user, _ = yield self.auth.get_user_by_req(request)