Hi,
STP blocked ports send and receive VTP Join Messages [*]:
You can see that VLAN 2 is pruned on the respective port of the neighbor switch.
([*]: The VTP Pruning is internally provided by switches exchanging periodic VTP Join messages that contain a list of all VLANs and their used/unused status.)
HTH
Rolf