Fix compilation without implicit nlohmann conversions
This commit is contained in:
parent
28acea55e2
commit
ef941920ea
10 changed files with 86 additions and 71 deletions
|
|
@ -1257,7 +1257,8 @@ ChatPage::decryptDownloadedSecrets(mtx::secret_storage::AesHmacSha2KeyDescriptio
|
|||
json j = deviceKeys->master_keys;
|
||||
j.erase("signatures");
|
||||
j.erase("unsigned");
|
||||
mtx::crypto::CrossSigningKeys master_key = j;
|
||||
mtx::crypto::CrossSigningKeys master_key =
|
||||
j.get<mtx::crypto::CrossSigningKeys>();
|
||||
master_key.signatures[http::client()->user_id().to_string()]
|
||||
["ed25519:" + http::client()->device_id()] =
|
||||
olm::client()->sign_message(j.dump());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue