Add action to search in room directory when search is empty in roomlist

This commit is contained in:
Tobias Fella
2020-11-21 21:32:40 +01:00
parent 2e9fb7615a
commit 4bfbca75d8
4 changed files with 5 additions and 11 deletions

View File

@@ -111,9 +111,6 @@ void PublicRoomListModel::next(int count)
return;
}
if (!hasMore())
return;
job = m_connection->callApi<QueryPublicRoomsJob>(m_server, count, nextBatch, QueryPublicRoomsJob::Filter {m_keyword});
connect(job, &BaseJob::finished, this, [=] {