This discussion revolves around the need for customizable retention settings per chat channel. jimkleiber initiated the conversation, sharing a use case for his online dojo where he requires different retention periods for various channels, ranging from a few hours to infinite.
jimkleiber inquired about the possibility of implementing this feature, and pfaffman suggested that creating a plugin to clean out channels based on custom retention periods should be relatively easy, but managing the UX would be more challenging.
sam mentioned that while there are no concrete plans for channel-specific settings yet, the development of a “chat channel info” screen is in progress. This feature will display the list of members in a channel and may potentially include customizable retention settings.
Parad0x echoed jimkleiber’s request, emphasizing the need for retention per channel. Parad0x later followed up on the status of the “chat channel info” screen, which is still in development.
I’m trying to set up something of an online dojo and I was thinking to use one of the chat channels as a sparring ring. For this specific channel, I’d like to set the retention to 1 day or even lower, maybe to a few hours. For other channels, I’d like to have the retention be infinite. For others, maybe even a few minutes.
Is there any plan to add this and/or other chat-channel specific settings?
If not in the pipeline, any suggestion on how hard this would be to implement in a plugin?
Not that I’ve looked at the code, but it should be pretty easy to set up a job that would clean out a channel. The hard part would be figuring out a ux to manage it. If you were content to hard code it, it shouldn’t be but a few lines of code per category once you figure out how to create a job.
Nothing concrete yet, but this is certainly an interesting use case! We are going to need to wait a bit here till we get the “chat channel info” screen done.
The Chat-Integration in Discourse-Core works great.
The global retention time is fine, but I’ve the same requirement as Jim.
Is it possible to get retention per channel?