mirror of
https://github.com/matrix-construct/construct
synced 2024-11-15 14:31:11 +01:00
modules/client/profile: Remove attempt at non-trivial designated initializers.
This commit is contained in:
parent
09c2d7cbe5
commit
dd961fc53d
1 changed files with 4 additions and 5 deletions
|
@ -417,13 +417,12 @@ ircd::m::user::profile::fetch(const m::user &user,
|
||||||
64_KiB
|
64_KiB
|
||||||
};
|
};
|
||||||
|
|
||||||
|
m::v1::query::opts opts;
|
||||||
|
opts.remote = remote?: user.user_id.host();
|
||||||
|
opts.dynamic = true;
|
||||||
m::v1::query::profile federation_request
|
m::v1::query::profile federation_request
|
||||||
{
|
{
|
||||||
user.user_id, key, buf, m::v1::query::opts
|
user.user_id, key, buf, std::move(opts)
|
||||||
{
|
|
||||||
.remote = remote?: user.user_id.host(),
|
|
||||||
.dynamic = true,
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
federation_request.wait(seconds(remote_request_timeout));
|
federation_request.wait(seconds(remote_request_timeout));
|
||||||
|
|
Loading…
Reference in a new issue