From 3ae6a0266d288768c77a2ee894b8b801ff0d9404 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Thu, 6 Oct 2022 12:50:04 +0200 Subject: [PATCH] Fix compilation against libQuotient 0.6 --- src/publicroomlistmodel.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/publicroomlistmodel.cpp b/src/publicroomlistmodel.cpp index b64ef7a13..7dfc719d7 100644 --- a/src/publicroomlistmodel.cpp +++ b/src/publicroomlistmodel.cpp @@ -113,7 +113,11 @@ void PublicRoomListModel::next(int count) return; } +#ifdef QUOTIENT_07 job = m_connection->callApi(m_server, count, nextBatch, QueryPublicRoomsJob::Filter{m_keyword, {}}); +#else + job = m_connection->callApi(m_server, count, nextBatch, QueryPublicRoomsJob::Filter{m_keyword}); +#endif connect(job, &BaseJob::finished, this, [this] { attempted = true;