# Chat retention days issue

**URL:** <https://meta.discourse.org/t/chat-retention-days-issue/248477>\
**Category:** UX\
**Tags:** chat\
**Created:** [December 10, 2022, 12:44pm UTC](https://meta.discourse.org/t/chat-retention-days-issue/248477 "2022-12-10T12:44:49Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)\
**Post date:** [February 15, 2023, 5:09pm UTC](https://meta.discourse.org/t/chat-retention-days-issue/248477/6 "2023-02-15T17:09:15Z")

</div>

Hello @j.jaffeux,

Thanks for the fix. This is works extremely well now.

Let’s see the same process like the OP to compare it. 🙂

> [@Don](#):
>
> 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.~~ Now it shows the correct value everywhere!
> 
> I setted up 2 different retention day.

 ![Screenshot 2023-02-15 at 17.55.48](https://global.discourse-cdn.com/meta/original/4X/a/9/c/a9c349ad4aced479fff9669b81a329bd21448fc2.png)

 ![Screenshot 2023-02-15 at 17.56.34](https://global.discourse-cdn.com/meta/original/4X/7/0/b/70bfa155eb35f74daaff8fb877894ec04d7bfc69.png) ![Screenshot 2023-02-15 at 17.57.08](https://global.discourse-cdn.com/meta/original/4X/5/f/c/5fc9bf93108c6590c605a7ca9f0c24cb507d3e98.png)

> [@Don](#):
>
> 1. When the `chat channel retention days` and/or `chat dm retention days` set to `0` it means retain messages forever. ~~But now on (channel / personal) retention day messages it seems like it saved for `0` day.~~ Now it detects correctly if the value is `0`.

 ![Screenshot 2023-02-15 at 17.59.45](https://global.discourse-cdn.com/meta/original/4X/d/6/b/d6bea1570a961010e24d85d278195ce9668e1817.png)  
 ![Screenshot 2023-02-15 at 17.59.31](https://global.discourse-cdn.com/meta/original/4X/b/5/f/b5f89a68143f4d882eaf9db99bb19924433dbe49.png)

* * *

Thanks again! 🙂

---

_[View the full topic](https://meta.discourse.org/t/chat-retention-days-issue/248477)._
