Save chat history on device end

Hello,

I want to save chat history on device end between users. How it is possible?

Can you explain what exactly do you want to achieve? Save history on the user’s end or on a server? For the server there are two options: Monitoring Service and Audit option in the Admin Console. Latter one produces hardly readable xml logs. Though there is a community made reader https://community.igniterealtime.org/docs/DOC-1874

If you want something different, then you will have to modify Openfire, create a plugin or some other way to intercept messages.