aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi')
-rw-r--r--lib/csapi/keys.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csapi/keys.h b/lib/csapi/keys.h
index ce1ca9ed..bcf1ad41 100644
--- a/lib/csapi/keys.h
+++ b/lib/csapi/keys.h
@@ -207,9 +207,9 @@ public:
///
/// See the [key algorithms](/client-server-api/#key-algorithms) section for
/// information on the Key Object format.
- QHash<QString, QHash<QString, QVariant>> oneTimeKeys() const
+ QHash<QString, QHash<QString, QJsonObject>> oneTimeKeys() const
{
- return loadFromJson<QHash<QString, QHash<QString, QVariant>>>(
+ return loadFromJson<QHash<QString, QHash<QString, QJsonObject>>>(
"one_time_keys"_ls);
}
};