Autodelete Chat After x amount time? (Like Snapchat)

Kristoffer Kolstad Posted in Component Development 9 years ago

Hello all you smart people that knows how to do this.
As i am quite new to this i have no clue how to set up a such component.
As in the title, one that will auto-detele chat messages just like snapchat after a certain amount of time?

Would be awesome if someone could give me the basics of how to do this / or do it for me?
Because i havent got a clue of where to start.

Replies
Indonesian Arsalan Shah Replied 9 years ago

Till now its safe to empty ossn_messages table, (not others)

Norwegian Kristoffer Kolstad Replied 9 years ago

Ok, so any way i could set this to auto-delete after say like, 20 seconds (after the message has been seen by receiver)?

Indonesian Arsalan Shah Replied 9 years ago

You have to run a cron for this purpose , a database script that deletes old messages.