Joey stays with Ross overnight to make sure he is okay and they talk. Ross realizes that he has been apart from Rachel for so long that he should not stop Joey and Rachel's relationship.
Joey spends the night at Ross's place to ensure he is alright, and they converse. Ross comes to the realization that he has been separated from Rachel for such a long time that he should not hinder Joey and Rachel's connection.