0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-28 17:52:54 +01:00

modules/federation/invite: Fix invite request routing to proper handler version.

This commit is contained in:
Jason Volk 2022-11-19 15:18:01 -08:00
parent 517f109f3a
commit ee52a9f24b

View file

@ -76,6 +76,9 @@ m::resource::response
put__invite(client &client,
const m::resource::request &request)
{
if(request.version != "v1")
return put__invite2(client, request);
if(request.parv.size() < 1)
throw m::NEED_MORE_PARAMS
{