0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-01-13 16:33:53 +01:00

ircd:Ⓜ️:user::profile: Minor simplify.

This commit is contained in:
Jason Volk 2020-10-06 00:01:38 -07:00
parent a5aac0eb1f
commit 61d3867e82

View file

@ -132,8 +132,11 @@ ircd::m::user::profile::fetch(const m::user &user,
user.user_id, key, buf, std::move(opts)
};
federation_request.wait(seconds(remote_request_timeout));
const http::code &code{federation_request.get()};
const http::code code
{
federation_request.get(seconds(remote_request_timeout))
};
const json::object response
{
federation_request