# 对群聊的改进——将用户添加到现有群聊，轻松创建新群组，为你的群聊命名

**URL:** <https://meta.discourse.org/t/improvements-to-group-chats-add-users-to-existing-chats-easily-create-new-groups-name-your-group-chats/285076>\
**Category:** Announcements\
**Tags:** chat, new-feature\
**Created:** [2023年十一月10日 13:42 UTC](https://meta.discourse.org/t/improvements-to-group-chats-add-users-to-existing-chats-easily-create-new-groups-name-your-group-chats/285076 "2023-11-10T13:42:28Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![lindsey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lindsey/32/318210_2.png) [@lindsey](https://meta.discourse.org/u/lindsey)\
**Post date:** [2023年十一月10日 13:42 UTC](https://meta.discourse.org/t/improvements-to-group-chats-add-users-to-existing-chats-easily-create-new-groups-name-your-group-chats/285076/1 "2023-11-10T13:42:29Z")

</div>

除了频道和直接消息之外，Discourse 聊天还支持群组消息（即 3 名或更多成员的私人聊天），这使得小型群组可以更轻松地保持联系。我们最近对群组聊天进行了一系列改进，让您可以将新成员添加到现有群组聊天中、轻松创建新聊天以及支持为群组聊天命名。

**注意** ：我们在此处使用“群组”一词来描述多人——我们并非指 Discourse 中运行的群组。

## 🧑‍🤝‍🧑 您现在可以将成员添加到现有群组聊天中

以前，无法将新成员添加到现有群组聊天中——您必须创建一个新的群组聊天，这意味着新成员无法访问之前的消息历史记录。现在，您可以通过频道设置将新成员添加到现有群组聊天中。

 ![group-chat-add-members](https://global.discourse-cdn.com/meta/original/4X/f/5/8/f587453efa5dec560d8ad950ca14ba88297a30c9.png)

我们添加了一个视觉提示，让您知道根据社区的聊天设置（`chat max direct message users`），他们还可以添加多少成员到群组聊天中。

 ![group-chat-member-count](https://global.discourse-cdn.com/meta/original/4X/2/6/5/2651c5ccded8bd8e57f3bc3913cb9122e8eceb7b.png)

新成员将可以访问群组聊天中的所有先前聊天消息，具体取决于您社区的保留设置（`chat dm retention days`）。当添加新成员时，您会在群组聊天中看到一条消息。

 ![group-chat-invite-message](https://global.discourse-cdn.com/meta/original/4X/9/7/d/97d6840321a67e5ff02202d8c462539d0d78bb36.png)

**注意** ：此功能仅支持扩展现有群组聊天。目前，您无法通过添加新成员将直接消息（1:1）转换为群组聊天（多人）。

## 🏁 创建新群组聊天更容易

通过在聊天消息创建者中添加“新建群组聊天”按钮（可通过 + 按钮或 `CMD + K` 键盘快捷键访问），创建新的群组消息变得快速而简单。

 ![group-chat-new-group-chat](https://global.discourse-cdn.com/meta/original/4X/d/f/4/df4c5ce13bd6849b437d2ac84be8396fe8aefa42.png)

从那里，您可以轻松地将用户添加到您的群组聊天中，甚至可以设置群组名称。

 ![group-chat-create-group-chat](https://global.discourse-cdn.com/meta/original/4X/5/1/a/51aa4d15120c5bea79e43fcad5f6efd54f160c74.png)

您仍然可以使用现有的 `Shift + Click` / `Shift + Enter` 快捷键从聊天消息创建者中选择多个用户。

## 🎉 通过群组聊天名称获得乐趣并保持条理

名字有什么意义？结果证明，很有趣 😄 您现在可以在创建新群组时为您的群组聊天命名……

 ![group-chat-new-group-name](https://global.discourse-cdn.com/meta/original/4X/1/2/a/12a05a2410a3a98db054041e4e153e9d502d4539.png)

……或者通过频道设置添加到现有的群组聊天中。

 ![group-chat-name-existing](https://global.discourse-cdn.com/meta/original/4X/c/1/d/c1dfd3c2f680afc2436914ceadaa5ebb2547dbbc.png)

除了与社区成员一起获得乐趣之外，群组聊天名称还可以帮助您保持条理，因为您可能与其中一些（或所有）相同成员有多个群组聊天。名称还可以为新成员提供有关群组聊天目的的有用上下文。

如果您决定不设置名称，您的群组聊天将显示聊天中成员列表的标签。

 ![group-chat-list](https://global.discourse-cdn.com/meta/original/4X/4/3/0/430bfb9aba58978e18a0e10beca123aa7a817ba5.png)

## 🗣 告诉我们您的想法！

我们对这些改进感到兴奋，并希望听到您的想法。在此处留下您的评论或问题——我们渴望了解如何继续为您的社区改进群组聊天。

---

<div class="post-metadata">

**Author:** ![sok777](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@sok777](https://meta.discourse.org/u/sok777)\
**Post date:** [2023年十一月10日 17:21 UTC](https://meta.discourse.org/t/improvements-to-group-chats-add-users-to-existing-chats-easily-create-new-groups-name-your-group-chats/285076/2 "2023-11-10T17:21:58Z")

</div>

感谢您的辛勤工作！

---

<div class="post-metadata">

**Author:** ![tasmo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tasmo/32/292283_2.png) [@tasmo](https://meta.discourse.org/u/tasmo)\
**Post date:** [2023年十一月15日 18:51 UTC](https://meta.discourse.org/t/improvements-to-group-chats-add-users-to-existing-chats-easily-create-new-groups-name-your-group-chats/285076/3 "2023-11-15T18:51:52Z")

</div>

感谢您的倾听、关心和辛勤工作！

---

<div class="post-metadata">

**Author:** ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)\
**Post date:** [2023年十一月22日 11:27 UTC](https://meta.discourse.org/t/improvements-to-group-chats-add-users-to-existing-chats-easily-create-new-groups-name-your-group-chats/285076/4 "2023-11-22T11:27:31Z")

</div>

这真是太棒了，极大地提升了 Discourse 中聊天功能的游戏水平。 Lindsey 和投入了大量精力的开发团队，你们做得太棒了！

现在，用户无需管理员介入即可管理他们自己通知很多的聊天“群组”；在我看来，这确实是一个改变游戏规则的功能，并开启了各种各样的用例。

有一件小事我仍然感到困惑，那就是用户设置 `only_send_chat_push_notifications`。我最好为此提交一个功能请求：

> [@A site setting to control default behaviour of Only Send Chat Push Notifications would be very helpful](https://meta.discourse.org/t/a-site-setting-to-control-default-behaviour-of-only-send-chat-push-notifications-would-be-very-helpful/286315):
>
> This is governed by the user setting ballot_box_with_check only\_send\_chat\_push\_notifications, found in [/my/preferences/chat](https://meta.discourse.org/my/preferences/chat): [image] There is no site setting to control default behaviour. First, this is quite buried and might be better to also live in [/my/preferences/notifications](https://meta.discourse.org/my/preferences/notifications), which is where I would naturally look. Also, I wish that I could set this to be default TRUE for my instance, so that my users ONLY get chat notifications on their devices (unless they want more). The key prob…

---

<div class="post-metadata">

**Author:** ![fokx](https://avatars.discourse-cdn.com/v4/letter/f/958977/32.png) [@fokx](https://meta.discourse.org/u/fokx)\
**Post date:** [2024年一月9日 08:07 UTC](https://meta.discourse.org/t/improvements-to-group-chats-add-users-to-existing-chats-easily-create-new-groups-name-your-group-chats/285076/5 "2024-01-09T08:07:22Z")

</div>

> [@lindsey](#):
>
> 我们添加了一个视觉提示，让您知道根据社区的聊天设置（`chat max direct message users`），他们还可以向群聊添加多少成员。

我想知道为什么 `chat max direct message users` 被限制为 100？

* * *

另外，群聊有支持线程（threading）的可能吗？

---

<div class="post-metadata">

**Author:** ![Firepup650](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firepup650/32/465200_2.png) [@Firepup650](https://meta.discourse.org/u/Firepup650)\
**Post date:** [2024年一月9日 12:28 UTC](https://meta.discourse.org/t/improvements-to-group-chats-add-users-to-existing-chats-easily-create-new-groups-name-your-group-chats/285076/6 "2024-01-09T12:28:06Z")

</div>

> [@fokx](#):
>
> 我想知道为什么`chat max direct message users`被限制在100人？

也许是因为在一个群组私信中有超过100人会很奇怪？我认为，到那个时候你应该有一个聊天频道。

---

<div class="post-metadata">

**Author:** ![lindsey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lindsey/32/318210_2.png) [@lindsey](https://meta.discourse.org/u/lindsey)\
**Post date:** [2024年一月9日 13:14 UTC](https://meta.discourse.org/t/improvements-to-group-chats-add-users-to-existing-chats-easily-create-new-groups-name-your-group-chats/285076/9 "2024-01-09T13:14:51Z")

</div>

> [@fokx](#):
>
> 我想知道为什么 `chat max direct message users` 被限制为 100？

我们在此设置了限制以减轻潜在的滥用——可能会有人创建大型群聊来垃圾信息骚扰社区成员，而这种方式会更难被版主识别/控制。

这个限制在您的社区中造成了问题吗？

> [@fokx](#):
>
> 另外，群聊中有支持线程的可能性吗？

我们的路线图中没有关于在群聊中添加线程的具体计划，但我能理解它会很有帮助，尤其是在有很多成员的群聊中。我很乐意为该功能添加一个功能请求，以便我们在未来的开发中将其考虑在内。

---

<div class="post-metadata">

**Author:** ![fokx](https://avatars.discourse-cdn.com/v4/letter/f/958977/32.png) [@fokx](https://meta.discourse.org/u/fokx)\
**Post date:** [2024年一月10日 11:25 UTC](https://meta.discourse.org/t/improvements-to-group-chats-add-users-to-existing-chats-easily-create-new-groups-name-your-group-chats/285076/11 "2024-01-10T11:25:18Z")

</div>

> [@lindsey](#):
>
> 这个限制给您的社区带来了问题吗？

不，一点也没有。另外，我认为这个群聊是对开放式讨论的补充。如果涉及的人太多，最好为该讨论创建一个主题/类别。

---

<div class="post-metadata">

**Author:** ![Ralf\_Stockmann](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ralf_stockmann/32/505867_2.png) [@Ralf\_Stockmann](https://meta.discourse.org/u/Ralf_Stockmann)\
**Post date:** [2024年十一月13日 15:44 UTC](https://meta.discourse.org/t/improvements-to-group-chats-add-users-to-existing-chats-easily-create-new-groups-name-your-group-chats/285076/12 "2024-11-13T15:44:12Z")

</div>

群聊功能很棒。不过，非常需要一种\_额外\_的方式将聊天关联到 Discourse 群组——就像与类别一样。正如在此处提出的（并已关闭）：

> [@Create chat channels connected to a group](https://meta.discourse.org/t/create-chat-channels-connected-to-a-group/254186/4):
>
> This would be beneficial in our use case, as well…as we’d like to have special interest groups with the ability to chat even if most of their posts on the Forums itself is accessible to the rest of the larger community.

这样，聊天成员就能始终自动与 Discourse 群组同步。
