diff --git a/Riot/Modules/Common/Recents/Service/MatrixSDK/RecentsListService.swift b/Riot/Modules/Common/Recents/Service/MatrixSDK/RecentsListService.swift index 3261caa22..6651fddba 100644 --- a/Riot/Modules/Common/Recents/Service/MatrixSDK/RecentsListService.swift +++ b/Riot/Modules/Common/Recents/Service/MatrixSDK/RecentsListService.swift @@ -20,7 +20,12 @@ import Foundation public class RecentsListService: NSObject, RecentsListServiceProtocol { private weak var session: MXSession? - public private(set) var mode: RecentsDataSourceMode + public private(set) var mode: RecentsDataSourceMode { + didSet { + refresh() + } + } + public private(set) var query: String? public private(set) var space: MXSpace? diff --git a/changelog.d/5105.bugfix b/changelog.d/5105.bugfix new file mode 100644 index 000000000..4b833133a --- /dev/null +++ b/changelog.d/5105.bugfix @@ -0,0 +1 @@ +Fix room ordering when switching between Home and People/Rooms/Favourites. \ No newline at end of file