mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-04-27 02:16:31 +02:00
enhance(frontend): リモートアカウントでチャットが使えるかどうか知る術がないため表示を改善
This commit is contained in:
parent
c37f9d38a3
commit
1c26dae39f
2 changed files with 2 additions and 2 deletions
packages/frontend/src
|
@ -42,7 +42,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
</TransitionGroup>
|
||||
</div>
|
||||
|
||||
<div v-if="user && !user.canChat">
|
||||
<div v-if="user && (!user.canChat || user.host !== null)">
|
||||
<MkInfo warn>{{ i18n.ts._chat.chatNotAvailableInOtherAccount }}</MkInfo>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -364,7 +364,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router
|
|||
},
|
||||
});
|
||||
|
||||
if ($i.policies.canChat && user.canChat) {
|
||||
if ($i.policies.canChat && user.canChat && user.host == null) {
|
||||
menuItems.push({
|
||||
type: 'link',
|
||||
icon: 'ti ti-messages',
|
||||
|
|
Loading…
Add table
Reference in a new issue