slack-libpurple icon indicating copy to clipboard operation
slack-libpurple copied to clipboard

slack-message: add option for dropping old messages

Open berrange opened this issue 2 years ago • 0 comments

Sometimes a user (or bot) edits or deletes a message that is quite old. It can be very confusing to see such messages inserted in the current timeline, even with the '[edit]' or 'Deleted message' prefix, because they are totally out of context.

This adds an account option that allows hiding of edits/deletes on messages that are older than a certain number of hours. The option defaults to 0, so users get the full stream unless opting out.

This feature was motivated by an incredibly annoying bot on my workspace, which deletes its own messages when they are 30 days old. IOW, we have a constant stream of irrelevant 'deleted message' messages inserted into channels, that are completely outdated and confusing to the current discussion.

berrange avatar Oct 31 '23 16:10 berrange