# 개인 메시지가 비활성화된 경우 채팅 버튼이 표시되지 않음

**URL:** https://meta.discourse.org/t/chat-button-not-visible-when-personal-messages-are-disabled/396442
**Category:** Bug
**Tags:** chat
**Created:** [2월 18, 2026, 7:05오후 UTC](https://meta.discourse.org/t/chat-button-not-visible-when-personal-messages-are-disabled/396442 "2026-02-18T19:05:43Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Mid](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mid/32/544154_2.png) [@Mid](https://meta.discourse.org/u/Mid)
#### Post date: [2월 18, 2026, 7:05오후 UTC](https://meta.discourse.org/t/chat-button-not-visible-when-personal-messages-are-disabled/396442/1 "2026-02-18T19:05:43Z")

</div>

“개인 메시지 활성화 그룹”을 예를 들어 관리자 및 모더레이터로만 설정하여 사용자의 개인 메시지 기능을 사실상 비활성화한 경우, 채팅 플러그인이 켜져 있고 해당 사용자가 사용 권한이 있어도 사용자 카드와 사용자 프로필에 “채팅” 버튼이 표시되지 않습니다.

사용자는 사용자를 검색하여 DM을 만들 수는 있지만, 개인 메시지 시스템을 사용하지 않기로 결정했더라도 채팅 버튼도 사용할 수 있도록 하는 것이 더 바람직합니다.

재현 단계:

1. “개인 메시지 활성화 그룹”을 “관리자, 모더레이터” 등으로 설정합니다.
2. “채팅 활성화”가 켜져 있고 “채팅 허용 그룹”이 “모두” 등으로 설정되어 있는지 확인합니다.
3. 관리자나 모더레이터가 아닌 계정으로 로그인합니다.
4. 사용자 프로필로 이동하거나 사용자 카드를 엽니다.

결과:

- 메시지와 채팅 버튼이 표시되지 않습니다.

기대되는 결과:

- 채팅 버튼만 표시됩니다.

안전 모드 활성화 상태의 메인 인스턴스 및 클린 설치 환경에서 모두 테스트했습니다. 이 포럼을 검색해 보았지만 관련 게시물을 바로 찾을 수 없었습니다. 포럼 버전은 2026.2.0-latest입니다.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2월 19, 2026, 11:01오전 UTC](https://meta.discourse.org/t/chat-button-not-visible-when-personal-messages-are-disabled/396442/3 "2026-02-19T11:01:57Z")

</div>

좋은 발견입니다 👍

이 그룹 기반 사이트 설정을 추가할 때 코드 경로를 하나 놓친 것 같습니다.

> <https://github.com/discourse/discourse/pull/37920>
>
> When \`personal\_message\_enabled\_groups\` was set to exclude regular users (e.g. st…aff only), the Chat button on user cards and profiles was hidden even though chat has its own independent permission system (\`direct\_message\_enabled\_groups\`).
> 
> The \`ChatDirectMessageButton\` component checked
> \`can\_send\_private\_message\_to\_user\` which internally gates on \`personal\_message\_enabled\_groups\`, causing the PM admin setting to leak into chat button visibility.
> 
> This removes the \`can\_send\_private\_message\_to\_user\` check from the component and instead adds \`recipient\_allows\_direct\_messages?\` to the \`can\_chat\_user\` serializer. This ensures the chat DM button respects chat-specific permissions (\`direct\_message\_enabled\_groups\`, \`chat\_allowed\_groups\`) and the per-user opt-out
> (\`allow\_private\_messages\`) without being affected by PM group restrictions.
> 
> https://meta.discourse.org/t/396442

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2월 23, 2026, 7:00오전 UTC](https://meta.discourse.org/t/chat-button-not-visible-when-personal-messages-are-disabled/396442/5 "2026-02-23T07:00:28Z")

</div>

이 주제는 2일 후 자동으로 닫혔습니다. 더 이상 새로운 답변을 남길 수 없습니다.
