From 70e32d9292e9c073c3e924061c0d5f109da3d2b3 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 19 Mar 2020 11:14:59 -0700 Subject: [PATCH] modules/client/pushrules: Always return 200 on DELETE method for Riot. --- modules/client/pushrules.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/client/pushrules.cc b/modules/client/pushrules.cc index 4af6ca530..ef8761522 100644 --- a/modules/client/pushrules.cc +++ b/modules/client/pushrules.cc @@ -399,9 +399,7 @@ ircd::m::push::handle_delete(client &client, return resource::response { - client, res? - http::OK: - http::NOT_FOUND + client, http::OK }; }