I am glad that your friend wasn't seriously injured. Today I had a few near misses, one guy was looking at his smart phone as he pedaled. A few others came out of a curve on the wrong side of the trail.
As usual all i was worried about was the damage to my bike, the bar end grip cover got a few scratches and the panniers stopped anything else.
Did not know i had broken anything for several hours afterwards...