fix old chats not working

This commit is contained in:
Henry Jameson 2026-07-30 15:13:21 +03:00
commit 0482ec2da2
3 changed files with 20 additions and 5 deletions

View file

@ -251,9 +251,10 @@ export default (store) => {
routes = routes.concat([
{
name: 'chat',
path: '/users/:username/chats/:recipient_id',
path: '/users/:username/chats/:chatUserId',
component: () => import('src/components/chat_view/chat_view.vue'),
meta: { dontScroll: false },
props: true,
beforeEnter: validateAuthenticatedRoute,
},
{