0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00

modules/client/profile: Remove attempt at non-trivial designated initializers.

This commit is contained in:
Jason Volk 2019-03-06 10:50:42 -08:00
parent 09c2d7cbe5
commit dd961fc53d

View file

@ -417,13 +417,12 @@ ircd::m::user::profile::fetch(const m::user &user,
64_KiB
};
m::v1::query::opts opts;
opts.remote = remote?: user.user_id.host();
opts.dynamic = true;
m::v1::query::profile federation_request
{
user.user_id, key, buf, m::v1::query::opts
{
.remote = remote?: user.user_id.host(),
.dynamic = true,
}
user.user_id, key, buf, std::move(opts)
};
federation_request.wait(seconds(remote_request_timeout));