No, sorry I have been unclear. The rot occurred in the flat above from a leaking sink and spread to the floor between the flats.
The flat above treated their rot, replaced their floor boards and the rot affected joist ends. Then everything was sealed up and they sold it.
The walls have...