Whenever the user joins the chatroom he/she can view past messages which help him/her understand what is being discussed.
However you can change the number of last messages to be displayed through CometChat Admin Panel:
1. Login to your CometChat Admin Panel ->Modules Tab-> Click on “Configure module” button for the Chatrooms
2. Set “The number of past messages that will be displayed on joining a chatroom.”
Note that the minimum value that must be set is 1. It cannot be set to 0.
Not finding what you need?
The CometChat team is here to help!