Add action to search in room directory when search is empty in roomlist
This commit is contained in:
@@ -53,6 +53,7 @@ if(ANDROID)
|
||||
"configure"
|
||||
"rating"
|
||||
"rating-unrated"
|
||||
"search"
|
||||
)
|
||||
else()
|
||||
target_link_libraries(neochat PRIVATE Qt5::Widgets ${QTKEYCHAIN_LIBRARIES})
|
||||
|
||||
@@ -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, [=] {
|
||||
|
||||
Reference in New Issue
Block a user