mirror of
https://github.com/matrix-construct/construct
synced 2025-01-13 16:33:53 +01:00
modules/client/rooms: Add v1 url handler.
This commit is contained in:
parent
78257751ba
commit
8af912d6c0
1 changed files with 16 additions and 0 deletions
|
@ -28,6 +28,16 @@ rooms_resource
|
|||
}
|
||||
};
|
||||
|
||||
m::resource
|
||||
rooms_resource_v1
|
||||
{
|
||||
"/_matrix/client/v1/rooms/",
|
||||
{
|
||||
"(8.0) Rooms (v1)",
|
||||
resource::DIRECTORY,
|
||||
}
|
||||
};
|
||||
|
||||
m::resource
|
||||
rooms_resource_unstable
|
||||
{
|
||||
|
@ -97,6 +107,12 @@ method_get
|
|||
rooms_resource, "GET", get_rooms
|
||||
};
|
||||
|
||||
m::resource::method
|
||||
method_get_v1
|
||||
{
|
||||
rooms_resource_v1, "GET", get_rooms
|
||||
};
|
||||
|
||||
m::resource::method
|
||||
method_get_unstable
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue