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;