How to delete old messages automatically in a channel?


we are using Mattermost teams via GitHub on a Firefox browser at work for our team. Currently there are all old messages to see if you scroll to the top, which we don’t need and don’t want.

Is there an option to hide or delete all old messages automatically, so only the messages from TODAY are shown in the channel chat?

Thanks in advance.

You can configure a data retention policy to delete messages older than a day: Data retention policy — Mattermost documentation.