Code to deal with chat barriers