The 24-hour auto-deletion is just a default that can be easily disabled, which is what you would do in this scenario. After you disable it, none of the messages in that chat will get auto-deleted going forward.
That setting isn't buried deep in the menus either. You just right-click the chat for which you want to turn on history, and then left-click the "turn on chat history" button. You do it once for a given chat, and you never have to revisit it again, it will stay turned on until you intentionally turn it off.
It helps that when you open a chat with a new chat group/person, it displays in very large text in the center "Turn on chat history to prevent messages from being auto-deleted in 24 hours", so it is difficult to forget to do so either.