0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-01 21:28:53 +02:00

ircd:Ⓜ️:device: Remove duplicate property; fix closure argument.

This commit is contained in:
Jason Volk 2019-02-21 12:47:45 -08:00
parent 380b1679a1
commit 08c5de6e2b
2 changed files with 1 additions and 6 deletions

View file

@ -42,11 +42,6 @@ struct ircd::m::device_keys
/// calculated using the process described at Signing JSON.
json::property<name::signatures, json::object>,
/// Required. Signatures for the device key object. A map from user ID, to
/// a map from <algorithm>:<device_id> to the signature. The signature is
/// calculated using the process described at Signing JSON.
json::property<name::signatures, json::object>,
/// Additional data added to the device key information by intermediate
/// servers, and not covered by the signatures.
json::property<name::unsigned_, json::object>

View file

@ -9098,7 +9098,7 @@ console_cmd__user__devices(opt &out, const string_view &line)
(const string_view &prop)
{
m::device::get(std::nothrow, user_id, device_id, prop, [&out, &prop]
(const json::object &value)
(const string_view &value)
{
out << prop << ": "
<< value