# 为群聊添加插件出口，类似于 \`after-chat-channel-username\`

**URL:** <https://meta.discourse.org/t/add-plugin-outlet-for-group-chats-similar-to-after-chat-channel-username/387275>\
**Category:** Feature\
**Tags:** chat\
**Created:** [2025年十月31日 14:35 UTC](https://meta.discourse.org/t/add-plugin-outlet-for-group-chats-similar-to-after-chat-channel-username/387275 "2025-10-31T14:35:50Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![yuriy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yuriy/32/498097_2.png) [@yuriy](https://meta.discourse.org/u/yuriy)\
**Post date:** [2025年十一月10日 11:13 UTC](https://meta.discourse.org/t/add-plugin-outlet-for-group-chats-similar-to-after-chat-channel-username/387275/7 "2025-11-10T11:13:59Z")

</div>

插件插槽 `after-chat-channel-username` 现在在个人聊天和群组聊天中都可用：

> <https://github.com/discourse/discourse/pull/35920>
>
> Ensures the plugin outlet \`after-chat-channel-username\` is available in group ch…ats, similar to individual chats.
> 
> \### Context
> 
> Request initiated in https://meta.discourse.org/t/add-plugin-outlet-for-group-chats-similar-to-after-chat-channel-username/387275.
> 
> \### Changes
> \* removed the wrapper if-clause \`showPluginOutlet\` around the plugin outlet \`after-chat-channel-username\`
> \* passed \`outletArgs={{hash user...}}\` only within the individual chat context

---

_[View the full topic](https://meta.discourse.org/t/add-plugin-outlet-for-group-chats-similar-to-after-chat-channel-username/387275)._
