I thought that I ought to have known her better after so many years and ought to have made myself enough of a favourite with her to make her sorry then. 
I thought that I ought to have made myself enough of a favourite with her to make her sorry. 