Participant getting old messages also

When a participant joins an existing conference, he is getting text message sent to the conference before he joining the conference. How can I avoid it? Similarly how can I avoid a user receiving message sent by himself to the conference. Thanks in advance

With anonymous connections, this is not possible.

This can be configured in prosody, I think. You can try with max_history_messages = 0

Hi Damencho, Thank you for your quick response. How can I give an Id to connection?