Local chat storage

Hi, is there a way for a user to download the chats in the meeting to their computer?

I know prosody can save them on the server, just wondered if there was a way to implement this on the front end?