0
0
Fork 0
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:
Jason Volk 2022-06-19 12:36:14 -07:00
parent 78257751ba
commit 8af912d6c0

View file

@ -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
{