Don't set avatar and display name if they haven't changed.

Related to issue #40.
This commit is contained in:
N-Pex 2021-01-29 21:41:43 +01:00
parent 8555436bc7
commit bdd6977728
7 changed files with 94 additions and 33 deletions

View file

@ -18,18 +18,28 @@ const routes = [
{
path: '/room/:roomId?',
name: 'Chat',
component: Chat
component: Chat,
meta: {
includeRoom: true
}
},
{
path: '/info',
name: 'RoomInfo',
component: () => import('../components/RoomInfo.vue'),
props: true,
meta: {
title: 'Info',
includeRoom: true
}
},
{
path: '/profile',
name: 'Profile',
component: Profile
component: Profile,
meta: {
title: 'Profile'
}
},
{
path: '/login',