Critical exponent for the wave equation with a time-dependent scale invariant damping and a cubic convolution