aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/list_public_rooms.cpp
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-07-02 10:34:16 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-07-02 10:34:16 +0200
commit7aa6e7c300779f652558397bcb7bb3b726d30cb9 (patch)
tree4d0057a53e7d7dd5274d55b955d9ac32dc28d51f /lib/csapi/list_public_rooms.cpp
parentb64bfa8f72084d9d9397001a735e985a4bf94e56 (diff)
downloadlibquotient-7aa6e7c300779f652558397bcb7bb3b726d30cb9.tar.gz
libquotient-7aa6e7c300779f652558397bcb7bb3b726d30cb9.zip
Abandon BaseJob::Query - generated API files
Diffstat (limited to 'lib/csapi/list_public_rooms.cpp')
-rw-r--r--lib/csapi/list_public_rooms.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csapi/list_public_rooms.cpp b/lib/csapi/list_public_rooms.cpp
index 415d816c..a4bcb934 100644
--- a/lib/csapi/list_public_rooms.cpp
+++ b/lib/csapi/list_public_rooms.cpp
@@ -38,7 +38,7 @@ SetRoomVisibilityOnDirectoryJob::SetRoomVisibilityOnDirectoryJob(
auto queryToGetPublicRooms(Omittable<int> limit, const QString& since,
const QString& server)
{
- BaseJob::Query _q;
+ QUrlQuery _q;
addParam<IfNotEmpty>(_q, QStringLiteral("limit"), limit);
addParam<IfNotEmpty>(_q, QStringLiteral("since"), since);
addParam<IfNotEmpty>(_q, QStringLiteral("server"), server);
@@ -66,7 +66,7 @@ GetPublicRoomsJob::GetPublicRoomsJob(Omittable<int> limit, const QString& since,
auto queryToQueryPublicRooms(const QString& server)
{
- BaseJob::Query _q;
+ QUrlQuery _q;
addParam<IfNotEmpty>(_q, QStringLiteral("server"), server);
return _q;
}