enhance(frontend): チャットが開放されていない場合のUIを改善

This commit is contained in:
syuilo 2025-03-28 10:48:13 +09:00
parent dec3e86e5e
commit c37f9d38a3
4 changed files with 13 additions and 1 deletions

View file

@ -364,7 +364,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router
},
});
if ($i.policies.canChat) {
if ($i.policies.canChat && user.canChat) {
menuItems.push({
type: 'link',
icon: 'ti ti-messages',