From 39c55a8979df9fe4858b9a46b956b146082d8992 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sat, 28 Mar 2020 17:48:24 -0700 Subject: [PATCH] modules/client/devices: Remove the unstable path handlers. --- modules/client/devices.cc | 37 ------------------------------------- 1 file changed, 37 deletions(-) diff --git a/modules/client/devices.cc b/modules/client/devices.cc index 49f6cc8c7..66c542c95 100644 --- a/modules/client/devices.cc +++ b/modules/client/devices.cc @@ -50,16 +50,6 @@ devices_resource } }; -ircd::m::resource -devices_resource__unstable -{ - "/_matrix/client/unstable/devices/", - { - "(11.9) Device Management", - resource::DIRECTORY, - } -}; - m::resource::method method_get { @@ -69,15 +59,6 @@ method_get } }; -m::resource::method -method_get__unstable -{ - devices_resource__unstable, "GET", get__devices, - { - method_get.REQUIRES_AUTH - } -}; - m::resource::method method_delete { @@ -87,15 +68,6 @@ method_delete } }; -m::resource::method -method_delete__unstable -{ - devices_resource__unstable, "DELETE", delete__devices, - { - method_delete.REQUIRES_AUTH - } -}; - m::resource::method method_put { @@ -105,15 +77,6 @@ method_put } }; -m::resource::method -method_put__unstable -{ - devices_resource__unstable, "PUT", put__devices, - { - method_put.REQUIRES_AUTH - } -}; - m::resource::response get__devices(client &client, const m::resource::request &request)