aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/peeking_events.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/peeking_events.cpp
parentb64bfa8f72084d9d9397001a735e985a4bf94e56 (diff)
downloadlibquotient-7aa6e7c300779f652558397bcb7bb3b726d30cb9.tar.gz
libquotient-7aa6e7c300779f652558397bcb7bb3b726d30cb9.zip
Abandon BaseJob::Query - generated API files
Diffstat (limited to 'lib/csapi/peeking_events.cpp')
-rw-r--r--lib/csapi/peeking_events.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csapi/peeking_events.cpp b/lib/csapi/peeking_events.cpp
index 70a5b6f3..ad2f9afe 100644
--- a/lib/csapi/peeking_events.cpp
+++ b/lib/csapi/peeking_events.cpp
@@ -11,7 +11,7 @@ using namespace Quotient;
auto queryToPeekEvents(const QString& from, Omittable<int> timeout,
const QString& roomId)
{
- BaseJob::Query _q;
+ QUrlQuery _q;
addParam<IfNotEmpty>(_q, QStringLiteral("from"), from);
addParam<IfNotEmpty>(_q, QStringLiteral("timeout"), timeout);
addParam<IfNotEmpty>(_q, QStringLiteral("room_id"), roomId);