Admins can define global settings for archiving channels and deleting messages. When you delete old messages, they and any transferred files are completely deleted from the database. You need "Manage system settings" to configure global chat settings.
Configure settings
- Go to Administration > System settings > Messaging
- Activate Automatically archive channels or Automatically remove old private messages
- Specify the number of hours after which a channel is archived or a message deleted
- Optionally, under Advanced settings, enter the schedule for archiving channels or deleting messages. You need to specify the timing using a cron pattern. By default, the cron
0 0 * * * *
is defined, which means the job runs every hour - Select Save to update the settings
We recommend informing your users about the archiving and deletion timeframes, so they are aware that their channels can be archived and their messages can be deleted.