advice

Okay so i got married 8 months ago to the most wonderful man in the entire world. he's absolutely perfect. I have an ex boyfriend that i have known since kindergarten. we were friends all through school and then dated two years after high school, for about 6 months. it's been 3 years now since we dated, well today he messaged me on snap chat asking about me and my husband and seeing how i was doing. i replied and we continued talking for about an hour about my family, life in general, about my husband and i moving and about us trying to have a baby. my question to you guys is if it's wrong for me to talk to him. he was a part of my life such a long time that it doesn't feel wrong but i want an outsiders view.