Closed mahtesham closed 8 years ago
I thought there was already a /clear function written into the latest version. It works on mine.
On Tue, Mar 22, 2016 at 4:37 AM, mahtesham notifications@github.com wrote:
Hi, I added a option 'Delete All' to delete all the messages from the chat window,i am calling method this.clearChatList(); on click of 'Delete All' button but it's deleting only 5 messages from chat windows and also it's slow. Can you please tell me better option to do this. Thanks in advance.
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/Frug/AJAX-Chat/issues/231
/clear was added in 0.8.7 https://github.com/Frug/AJAX-Chat/blob/62447049aff00e356d959b36d9eac123e6ec3038/chat/changelog.txt#L832
If you want to actually purge the database, though, you need to do that yourself.
yes i am using the latest version 0.8.7 and i am calling the same method as against command /clear i.e clearChatList() . yes i want to delete messages from database also.
Thanks for the help.
Hi, I added a option 'Delete All' to delete all the messages from the chat window,i am calling method this.clearChatList(); on click of 'Delete All' button but it's deleting only 5 messages from chat windows and also it's slow. Can you please tell me better option to do this. Thanks in advance.