Stop using chat for things that you want to keep long term. It's not just about retention. Even with long term retention, it's nearly impossible to find things in a huge dump of unstructured conversation.
EDIT - and stop using things that are invisible to search engines.
EDIT - and stop using things that are invisible to search engines.