Tweaked passing friend_id to messages collection