You can add a player to the ignore list during a battle.
To do this: simultaneously press Ctrl and right-click on the chosen player, after that choose the option “Add to ignore list”.
From now on you will not receive any further messages from that player. Thus, you can avoid unwanted contact with other players.
You could also choose to add users into your Black list.
Please note that it is limited at 1,000 players.