The Gemara there discusses Hezek Re’iya between neighbors. That refers to the harm, in the form of discomfort, caused to you by the fact that you know that someone is looking. I don’t recall any discussion about any kind of reparation in retrospect, but the discussion there is that the one who has his nose in the other’s property has the responsibility to build a wall high enough that his neighbor can be comfortable.
Probably there is a payment of Boshes, but that is not enforced by our Batei Dinim.