not quite right, nearly all 7 speed MTB frames are 135. 130 for the road 8s.
The 8 speed cassette body is longer than the 7, and will take an 8 or 9 (or even 10 on the road). in short, a 7s freehub body will only take a 7, and maybe 8 if you use a tnt 11t lockring, but not all frames have clearance for one of these