As a user allow setting my local history retention time per chat

And communicate this time to the other person with XEP-0466: Ephemeral Messages