mirror of
https://github.com/matrix-construct/construct
synced 2025-01-17 01:51:53 +01:00
ircd:Ⓜ️:device: Remove duplicate property; fix closure argument.
This commit is contained in:
parent
380b1679a1
commit
08c5de6e2b
2 changed files with 1 additions and 6 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue