# プロフィールページにチャットボタン

**URL:** <https://meta.discourse.org/t/chat-button-on-profile-page/298816>\
**Category:** UX\
**Tags:** chat, completed\
**Created:** [2024 年 3 月 11 日午前 5:09 UTC](https://meta.discourse.org/t/chat-button-on-profile-page/298816 "2024-03-11T05:09:47Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![davidb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/davidb/32/554671_2.png) [@davidb](https://meta.discourse.org/u/davidb)\
**Post date:** [2024 年 3 月 25 日午前 5:28 UTC](https://meta.discourse.org/t/chat-button-on-profile-page/298816/16 "2024-03-25T05:28:43Z")

</div>

チャットをオプトアウトしたにもかかわらずボタンが表示されるという問題に対処するため、フォローアップを行いました。チャットが有効になっているのにターゲットユーザーがチャットを無効にしているという逆のシナリオも同様でした。この変更により、両方のシナリオが修正されるはずです。

> <https://github.com/discourse/discourse/pull/26237>
>
> When the current user disables chat from within user preferences, the chat butto…n still appears when clicking another user’s profile picture to open the user card. This is also the case when the current user has chat enabled but the target user has disabled chat.
> 
> \#### Acceptance Criteria
> \- when a user disables chat in preferences, the chat button should not be displayed when opening a user card or visiting profiles of other users.
> \- when chat is enabled in preferences but another user disables chat, the chat button should not appear on their user card or profile
> 
> /t/124129

CSS がボタンに対してまだ更新されていないという問題は、メタ固有の問題です。現在、ユーザーカードテーマコンポーネントの古いバージョンを使用しているため、スタイルの変更が反映されていませんが、これについてはフォローアップを行い、すぐに修正します。

---

_[View the full topic](https://meta.discourse.org/t/chat-button-on-profile-page/298816)._
