0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-30 17:34:04 +01:00

ircd::resource: Copy authenticated user_id to buffer in request.

This commit is contained in:
Jason Volk 2018-04-22 16:22:26 -07:00
parent f808a28664
commit a5c6fb87d8

View file

@ -90,10 +90,10 @@ struct ircd::resource::request
string_view content; string_view content;
http::query::string query; http::query::string query;
string_view origin; string_view origin;
string_view user_id; //m::user::id::buf user_id; //TODO: bleeding
string_view access_token; string_view access_token;
vector_view<string_view> parv; vector_view<string_view> parv;
string_view param[8]; string_view param[8];
m::user::id::buf user_id;
request(const http::request::head &head, request(const http::request::head &head,
const string_view &content) const string_view &content)