Our mistress hired a room for my crippled sister Nelly , and she gave *her* knitting and needlework when she was able to do it, and when she was ill she sent her dinners and many nice comfortable things and was like a mother to her.

Do "mistress" and "her" have the same meaning?
no