diff --git a/src/addons/messages/messages-lazy.module.ts b/src/addons/messages/messages-lazy.module.ts index 9d3af46bf..ae0d95b6c 100644 --- a/src/addons/messages/messages-lazy.module.ts +++ b/src/addons/messages/messages-lazy.module.ts @@ -51,6 +51,10 @@ function buildRoutes(injector: Injector): Routes { loadChildren: () => import('./pages/contacts/contacts.module') .then(m => m.AddonMessagesContactsPageModule), }, + { + path: 'preferences', + loadChildren: () => import('./pages/settings/settings.module').then(m => m.AddonMessagesSettingsPageModule), + }, ...buildTabMainRoutes(injector, { canActivate: [AddonMessagesIndexGuard], }), diff --git a/src/addons/messages/pages/group-conversations/group-conversations.page.ts b/src/addons/messages/pages/group-conversations/group-conversations.page.ts index 3335ebce9..0ce9915b6 100644 --- a/src/addons/messages/pages/group-conversations/group-conversations.page.ts +++ b/src/addons/messages/pages/group-conversations/group-conversations.page.ts @@ -35,7 +35,6 @@ import { CorePushNotificationsNotificationBasicData } from '@features/pushnotifi import { ActivatedRoute, Params } from '@angular/router'; import { CoreUtils } from '@services/utils/utils'; import { CoreNavigator } from '@services/navigator'; -import { AddonMessagesSettingsHandlerService } from '@addons/messages/services/handlers/settings'; import { CoreScreen } from '@services/screen'; /** @@ -529,7 +528,7 @@ export class AddonMessagesGroupConversationsPage implements OnInit, OnDestroy { * Navigate to message settings. */ gotoSettings(): void { - CoreNavigator.navigateToSitePath(AddonMessagesSettingsHandlerService.PAGE_NAME); + CoreNavigator.navigateToSitePath('../preferences'); } /**