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:
parent
6ccc171bce
commit
4797cf8b5e
1 changed files with 11 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue