# 将聊天保留设置为 0（无限）会显示“聊天记录将保存 0 天”

**URL:** https://meta.discourse.org/t/setting-chat-retention-to-0-indefinite-displays-chat-history-will-be-saved-for-0-days/251527
**Category:** UX
**Tags:** chat
**Created:** [2023 年1 月 12 日 07:40 UTC](https://meta.discourse.org/t/setting-chat-retention-to-0-indefinite-displays-chat-history-will-be-saved-for-0-days/251527 "2023-01-12T07:40:03Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### 作者： ![j127](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j127/32/79093_2.png) [@j127](https://meta.discourse.org/u/j127)
#### 发布日期： [2023 年1 月 12 日 07:40 UTC](https://meta.discourse.org/t/setting-chat-retention-to-0-indefinite-displays-chat-history-will-be-saved-for-0-days/251527/1 "2023-01-12T07:40:03Z")

</div>

我注意到聊天似乎有一个小 bug。如果您将聊天记录设置为永不删除，它会在设置页面（例如 `/chat/channel/3/username/info/settings`）创建一个消息，上面写着：

> 聊天记录将保存 0 天。

难道不应该说“聊天记录将无限期保存”之类的话吗？

---

<div class="post-metadata">

### 作者： ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### 发布日期： [2023 年1 月 14 日 07:15 UTC](https://meta.discourse.org/t/setting-chat-retention-to-0-indefinite-displays-chat-history-will-be-saved-for-0-days/251527/2 "2023-01-14T07:15:49Z")

</div>

说得好。 👍 我可以确认，如果将保留期设置为无限期，它确实会显示误导性信息：

 ![Chat - JammyDodger's Test Site](https://global.discourse-cdn.com/meta/original/4X/9/d/7/9d781b7f73c4de252ce513f4c5249309980daeb3.png)

而且，对于所有个人聊天设置页面，它默认也会显示该信息。

让我们看看是否能把这个问题处理好。 👍 🙂

---

<div class="post-metadata">

### 作者： ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### 发布日期： [2023 年1 月 14 日 12:34 UTC](https://meta.discourse.org/t/setting-chat-retention-to-0-indefinite-displays-chat-history-will-be-saved-for-0-days/251527/4 "2023-01-14T12:34:40Z")

</div>

> [@Chat retention days issue](https://meta.discourse.org/t/chat-retention-days-issue/248477?u=dodesz):
>
> Hello, I noticed 2 issues with chat retention days. 1. There are separate settings to set up chat channel retention days and chat dm retention days. But it seems it use the chat channel retention days value on personal message settings page too. I setted up 2 different retention day. [personal chat settings] [chat channel settings] The chat retention reminders in messages show the correct value. [chat channel] 2. When the chat chann…

---

<div class="post-metadata">

### 作者： ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### 发布日期： [2023 年1 月 14 日 12:41 UTC](https://meta.discourse.org/t/setting-chat-retention-to-0-indefinite-displays-chat-history-will-be-saved-for-0-days/251527/5 "2023-01-14T12:41:18Z")

</div>

我们好像有一个重复项。 🙂 我将关闭这个，并在原始项中进行跟踪。 👍

---

<div class="post-metadata">

### 作者： ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### 发布日期： [2023 年1 月 14 日 12:41 UTC](https://meta.discourse.org/t/setting-chat-retention-to-0-indefinite-displays-chat-history-will-be-saved-for-0-days/251527/6 "2023-01-14T12:41:23Z")

</div>


