Ответ:

James spends a lot of time on his computer chatting with his online friends. Правильный вариант: A. Chat with someone означает «общаться с кем-либо в чате».