# 私信提及出现错误的“不允许某些内容”警告

**URL:** <https://meta.discourse.org/t/incorrect-some-not-allowed-warning-on-private-message-mention/265881>\
**Category:** Bug\
**Created:** [2023年五月23日 07:45 UTC](https://meta.discourse.org/t/incorrect-some-not-allowed-warning-on-private-message-mention/265881 "2023-05-23T07:45:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [2023年五月23日 07:45 UTC](https://meta.discourse.org/t/incorrect-some-not-allowed-warning-on-private-message-mention/265881/1 "2023-05-23T07:45:20Z")

</div>

复现:\n- 我们有一个群组 `@support` 和一个群组 `@development_team`\n- 开发团队的成员是支持群组的子集，即开发团队的 3 名成员也是支持群组的成员。\n- 我在 `@support` 的群组收件箱中\n- 我提到了 `@development_team`\n- 我收到警告\n\n

 ![image](https://global.discourse-cdn.com/meta/original/4X/b/2/5/b25c74eb09189a10c8913e7500297fded7d816fe.png)\n\n- （请注意，开发团队群组只有三名成员）\n\n预期:\n\* 我不会收到警告\n\n建议修复:\n- 如果[通知计数](https://github.com/discourse/discourse/blob/main/app/controllers/composer_controller.rb#L67-L70)等于群组中的成员数量，则会抑制警告。\n\n\u003csmall\u003e（我知道“个人”消息不被称为“私人”消息是有（充分）理由的，但这与本问题无关，但我认为“个人消息”不是群组收件箱消息的正确术语）",“target\_locale”:“zh\_CN”}

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [2023年五月24日 08:30 UTC](https://meta.discourse.org/t/incorrect-some-not-allowed-warning-on-private-message-mention/265881/3 "2023-05-24T08:30:04Z")

</div>

我也认为我们在群组收件箱中看到了类似的情况。我认为我已经对通知消息的实际文本有点视而不见了，所以我不知道它何时切换到了这个版本。
