Fix compilation against libQuotient 0.6

This commit is contained in:
Tobias Fella
2022-10-06 12:50:04 +02:00
parent c081b42fd4
commit 3ae6a0266d

View File

@@ -113,7 +113,11 @@ void PublicRoomListModel::next(int count)
return;
}
#ifdef QUOTIENT_07
job = m_connection->callApi<QueryPublicRoomsJob>(m_server, count, nextBatch, QueryPublicRoomsJob::Filter{m_keyword, {}});
#else
job = m_connection->callApi<QueryPublicRoomsJob>(m_server, count, nextBatch, QueryPublicRoomsJob::Filter{m_keyword});
#endif
connect(job, &BaseJob::finished, this, [this] {
attempted = true;