0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-29 08:13:46 +02:00

ircd:Ⓜ️:fed: Take no thought how or what to speak: for it shall be given you in that hour. -Mat. 10:19 (DRB)

This commit is contained in:
Jason Volk 2020-03-16 22:36:03 -07:00
parent 730d99b055
commit 0ad8ccc905

View file

@ -636,9 +636,17 @@ ircd::m::fed::make_join::make_join(const room::id &room_id,
json::get<"uri"_>(opts.request) = fmt::sprintf
{
buf, "/_matrix/federation/v1/make_join/%s/%s"
"?ver=1&ver=2&ver=3&ver=4&ver=5&ver=6&ver=7&ver=8",
url::encode(ridbuf, room_id),
url::encode(uidbuf, user_id)
"?ver=1"
"&ver=2"
"&ver=3"
"&ver=4"
"&ver=5"
"&ver=6"
"&ver=7"
"&ver=8"
"&ver=org.matrix.msc2260"
,url::encode(ridbuf, room_id)
,url::encode(uidbuf, user_id)
};
consume(buf, size(json::get<"uri"_>(opts.request)));