Hi greenfingers, sounds like a sturdy plant your friend has got. If it is in flower now, this is the time to give it some shade from the sun. The buds will drop off and the fruits will burn through the window if the temperature reaches more than 30c, but saying that, this summer has been crap so far so there may be no harm done. Chuffa,