Hello Developers,
I am using ejabberd 2.1.11 for a IOS chat application. I have a special 60 seconds chat apart from the regular chat, I need to disable offline message archiving for a custom type of stanza, I already disabled the archiving when users are online, but need to stop offline messages from storing it.
Query 1 : if there is any way to disable offline message archiving for chat session?
Query 2 : if no direct way, then can we prevent it using sql query? I need to check if the user have that special chat in last 60 seconds (I have user id and start time of chat).
Any help will be appreciated. Thanks