His lawyer insists he was in the chatroom for legitimate reasons