0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

modules/client/send_to_device: Add client/unstable/ redirect to /r0/.

This commit is contained in:
Jason Volk 2019-02-21 17:56:08 -08:00
parent 6ccc171bce
commit 4797cf8b5e

View file

@ -26,6 +26,17 @@ send_to_device_resource
}
};
ircd::resource::redirect::permanent
send_to_device_resource__unstable
{
"/_matrix/client/unstable/sendToDevice/",
"/_matrix/client/r0/sendToDevice/",
{
"(14.9.3) Protocol definitions",
resource::DIRECTORY,
}
};
static resource::response
put__send_to_device(client &client,
const resource::request &request)