An online instructor was asked by a student at the end of their conversation:

Which of the following is correct and why?

1. It was nice talking to you.
2. It has been nice talking to you.

Is *talking* a gerund here?