From e600fb70965cb6c8ea2328279c2c13badba97ed1 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 9 Feb 2020 19:29:49 +0900 Subject: [PATCH] Fix #5888 --- src/client/pages/messaging.vue | 2 +- src/client/router.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/pages/messaging.vue b/src/client/pages/messaging.vue index 252702d55..4b6f49d82 100644 --- a/src/client/pages/messaging.vue +++ b/src/client/pages/messaging.vue @@ -150,7 +150,7 @@ export default Vue.extend({ showCancelButton: true }); if (canceled) return; - this.navigateGroup(group); + this.$router.push(`/my/messaging/group/${group.id}`); } } }); diff --git a/src/client/router.ts b/src/client/router.ts index 949eb1ccb..0f80e736e 100644 --- a/src/client/router.ts +++ b/src/client/router.ts @@ -31,6 +31,7 @@ export const router = new VueRouter({ { path: '/my/mentions', component: page('mentions') }, { path: '/my/messaging', name: 'messaging', component: page('messaging') }, { path: '/my/messaging/:user', component: page('messaging-room') }, + { path: '/my/messaging/group/:group', component: page('messaging-room') }, { path: '/my/drive', name: 'drive', component: page('drive') }, { path: '/my/drive/folder/:folder', component: page('drive') }, { path: '/my/pages', name: 'pages', component: page('pages') },