# 自动将人员加入私人聊天频道不再工作了吗？

**URL:** <https://meta.discourse.org/t/automatically-adding-people-to-a-private-chat-channel-is-no-longer-working/358631>\
**Category:** Product Support\
**Tags:** chat\
**Created:** [2025 年3 月 24 日 16:42 UTC](https://meta.discourse.org/t/automatically-adding-people-to-a-private-chat-channel-is-no-longer-working/358631 "2025-03-24T16:42:36Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

作者： ![cultiv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cultiv/32/483312_2.png) [@cultiv](https://meta.discourse.org/u/cultiv)\
发布日期： [2025 年3 月 24 日 17:02 UTC](https://meta.discourse.org/t/automatically-adding-people-to-a-private-chat-channel-is-no-longer-working/358631/3 "2025-03-24T17:02:15Z")

</div>

**编辑：已解决！** 是我的错，忘了更新权限 [Automatically adding people to a private chat channel is no longer working? - #12 by cultiv](https://meta.discourse.org/t/automatically-adding-people-to-a-private-chat-channel-is-no-longer-working-solved/358631/12?u=cultiv)

不幸的是，更新到 3.5.0.beta2-dev ( [558c566ca8](https://github.com/discourse/discourse/commits/558c566ca8599f9dd86f88270f7c0cc6f79f377a) ) 并没有解决问题。

我发现当我搜索一个我应该可以添加的用户时，返回了 1 个 `total_rows`，但 `memberships` 数组是空的：

 ![图片显示了一个 JSON 响应，其中包含一个“total_rows”条目和一个包含用户名“bus”的频道成员资格的“load_more_url”。 (AI 标注)](https://global.discourse-cdn.com/meta/original/4X/3/7/6/3769435ac03073b3b5028ad5ac5ff8130060425b.png)

而当我搜索自己的名字时，`total_rows` 也是 1，并且返回了我的账户：

 ![图片显示了来自 API 端点的 JSON 响应，列出了聊天频道成员资格以及用户和他们对特定频道的关注状态的详细信息。 (AI 标注)](https://global.discourse-cdn.com/meta/original/4X/e/f/e/efe70aabb429d73e556c6cf28d9592d3299f92bc.png)

---

_[View the full topic](https://meta.discourse.org/t/automatically-adding-people-to-a-private-chat-channel-is-no-longer-working/358631)._
