Ability for users to delete their chat history

JACK AMPERES Posted in Component Development 5 years ago

ive checked and cant find anything about any option for users to delete their chat box history. will there be such an option or is there a component for this ect? this seems such an obvious option to implement im surprised its not available even in premium installation.

Indonesian Arsalan Shah Replied 5 years ago

If you see changelog for v5.x (a future version have option to delete messages) : https://github.com/opensource-socialnetwork/opensource-socialnetwork/blob/v5.x/CHANGES.txt

us Rishi B Replied 5 years ago

the function you want is OssnMessages->deleteUser($guid). that function deletes all messages to/from that user. I think you should build something like this, I agree that it would be useful to have a way to clear chat history.