diff --git a/vector/src/main/java/im/vector/riotredesign/features/home/HomeModule.kt b/vector/src/main/java/im/vector/riotredesign/features/home/HomeModule.kt index 9d12a1cf..044bf881 100644 --- a/vector/src/main/java/im/vector/riotredesign/features/home/HomeModule.kt +++ b/vector/src/main/java/im/vector/riotredesign/features/home/HomeModule.kt @@ -50,10 +50,6 @@ class HomeModule { HomeNavigator() } - scope(HOME_SCOPE) { - PermalinkHandler(get(), get()) - } - // Fragment scopes factory { @@ -98,6 +94,10 @@ class HomeModule { GroupSummaryController() } + scope(ROOM_DETAIL_SCOPE) { + PermalinkHandler(get(), get()) + } + scope(ROOM_DETAIL_SCOPE) { (fragment: Fragment) -> val commandController = AutocompleteCommandController(get()) AutocompleteCommandPresenter(fragment.requireContext(), commandController)