aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/account-data.cpp
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-08-22 20:05:41 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-08-22 20:05:41 +0200
commited24065f2e9b8fce059c54137c04b790c6ce4fd1 (patch)
treed7e9e4d84e753ee2486873bdeb0be4f3a7ae9ee4 /lib/csapi/account-data.cpp
parent71384a49c3a053e715241172d9d9893bb1742e6b (diff)
downloadlibquotient-ed24065f2e9b8fce059c54137c04b790c6ce4fd1.tar.gz
libquotient-ed24065f2e9b8fce059c54137c04b790c6ce4fd1.zip
Regenerate API files
Diffstat (limited to 'lib/csapi/account-data.cpp')
-rw-r--r--lib/csapi/account-data.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csapi/account-data.cpp b/lib/csapi/account-data.cpp
index 6a40e908..80deb8f1 100644
--- a/lib/csapi/account-data.cpp
+++ b/lib/csapi/account-data.cpp
@@ -14,7 +14,7 @@ SetAccountDataJob::SetAccountDataJob(const QString& userId, const QString& type,
QStringLiteral("/_matrix/client/r0") % "/user/" % userId
% "/account_data/" % type)
{
- setRequestData(Data(toJson(content)));
+ setRequestData(RequestData(toJson(content)));
}
QUrl GetAccountDataJob::makeRequestUrl(QUrl baseUrl, const QString& userId,
@@ -39,7 +39,7 @@ SetAccountDataPerRoomJob::SetAccountDataPerRoomJob(const QString& userId,
QStringLiteral("/_matrix/client/r0") % "/user/" % userId
% "/rooms/" % roomId % "/account_data/" % type)
{
- setRequestData(Data(toJson(content)));
+ setRequestData(RequestData(toJson(content)));
}
QUrl GetAccountDataPerRoomJob::makeRequestUrl(QUrl baseUrl,