Fixes chat connection.