チャットリンクの挙動を改善
This commit is contained in:
@@ -131,16 +131,10 @@ export function getUserMenu(user) {
|
||||
os.post({ specified: user });
|
||||
}
|
||||
}, store.state.i.id != user.id ? {
|
||||
type: 'link',
|
||||
icon: faComments,
|
||||
text: i18n.global.t('startMessaging'),
|
||||
action: () => {
|
||||
const acct = getAcct(user);
|
||||
switch (store.state.device.chatOpenBehavior) {
|
||||
case 'window': { os.pageWindow('/my/messaging/' + acct); break; }
|
||||
case 'popout': { popout('/my/messaging'); break; }
|
||||
default: { router.push('/my/messaging'); break; }
|
||||
}
|
||||
}
|
||||
to: '/my/messaging/' + getAcct(user),
|
||||
} : undefined, null, {
|
||||
icon: faListUl,
|
||||
text: i18n.global.t('addToList'),
|
||||
|
Reference in New Issue
Block a user