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:
parent
a5aac0eb1f
commit
61d3867e82
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue