I worked at an auto shop for years. If the tired is patched, that is they removed it from the rim and properly applied a patch to the inside, it'll last until the tire is no longer good.
If they used a plug, it will be good for a while but more likely to fail at some point.