Debatable really. If the relationship wasn't serious then I guess it's fine, but if it was then you're out of line in my opinion.