diff --git a/Riot/Modules/Common/Recents/Service/MatrixSDK/RecentsListService.swift b/Riot/Modules/Common/Recents/Service/MatrixSDK/RecentsListService.swift index cda8f716de..1fbc043715 100644 --- a/Riot/Modules/Common/Recents/Service/MatrixSDK/RecentsListService.swift +++ b/Riot/Modules/Common/Recents/Service/MatrixSDK/RecentsListService.swift @@ -440,7 +440,7 @@ public class RecentsListService: NSObject, RecentsListServiceProtocol { case .home: fetcher.fetchOptions.sortOptions = sortOptions case .favourites: - let newSortOptions = sortOptions + var newSortOptions = sortOptions newSortOptions.favoriteTag = true fetcher.fetchOptions.sortOptions = newSortOptions default: diff --git a/changelog.d/4384.change b/changelog.d/4384.change new file mode 100644 index 0000000000..9103529a3a --- /dev/null +++ b/changelog.d/4384.change @@ -0,0 +1 @@ +Using mutable room list fetch sort options after chaning them to be a structure. \ No newline at end of file