Add suggested rooms fetcher

This commit is contained in:
ismailgulek 2021-09-30 16:01:26 +03:00
parent 52a4d6ecd6
commit 0c2efd8687
No known key found for this signature in database
GPG key ID: E96336D42D9470A9

View file

@ -359,6 +359,7 @@ public class RecentsRoomListFetchersContainer: NSObject {
conversationRoomListDataFetcherForRooms = createConversationRoomListDataFetcherForRooms()
lowPriorityRoomListDataFetcher = createCommonRoomListDataFetcher(withDataTypes: [.lowPriority])
serverNoticeRoomListDataFetcher = createCommonRoomListDataFetcher(withDataTypes: [.serverNotice])
suggestedRoomListDataFetcher = createCommonRoomListDataFetcher(withDataTypes: [.suggested])
}
private func updateDirectFetcher(_ fetcher: MXRoomListDataFetcher, for mode: RecentsDataSourceMode) {