diff options
Diffstat (limited to 'lib/csapi')
-rw-r--r-- | lib/csapi/keys.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/csapi/keys.h b/lib/csapi/keys.h index 7db09e8d..b1cc640c 100644 --- a/lib/csapi/keys.h +++ b/lib/csapi/keys.h @@ -166,6 +166,11 @@ struct JsonObjectConverter<QueryKeysJob::DeviceInformation> { fillFromJson<DeviceKeys>(jo, result); fromJson(jo.value("unsigned"_ls), result.unsignedData); } + static void dumpTo(QJsonObject& jo, const QueryKeysJob::DeviceInformation& deviceInformation) + { + jo = toJson<DeviceKeys>(deviceInformation); + //addParam<>(jo, "unsigned"_ls, deviceInformation.unsignedData); + } }; /*! \brief Claim one-time encryption keys. |