Um, could you expand on the bolded?
John 7:
38 Jesus said; He that believeth on me, as the scripture hath said, out of his belly shall flow rivers of living water
39 (But this spake he of the Spirit, which they that believe on him should receive: for the Holy Spirit was not yet given; because that Jesus was not yet glorified)
Lk 24:49 And, behold, I send the promise of my Father upon you: but tarry ye in the city of Jerusalem, until ye be endued with power from on high.
(NOTE: Wait in Jerusalem until ""I"" send the promise of my Father. Read Acts 2:33 below)
Acts 1:4 And, being assembled together with them, commanded them that they should not depart from Jerusalem, but wait for ""the promise"" of the Father
(NOTE: Jesus tells them to wait in Jerusalem for ""the promise/Holy Spirit"" the Father will give to Christ to send them)
Acts 2:33 Therefore being by the right hand of God exalted, and having received of the Father the promise of the Holy Spirit, he hath shed forth this, which ye now see and hear
(NOTE: It isn't until after Christ's has been glorified/resurrected & cleansed the Heavenly Sanctuary. He receives the Father's PROMISE = Holy Spirit. Control to indwell all that truly believe. Only God/Christ knows the true heart of a person. And only Christ can baptize/seal/indwell with the Holy Spirit.)
Short answer Jn 7:39 the Holy Spirit can't be sent until Christ is glorified. Lk 24:49 & Act 1:4 Christ tells his disciples to Go wait in Jerusalem until ""HE"" sends the Promise/Holt Spirit made to Him By The Father. This happens at Pentecost Acts 2:4 & Acts 2:33 gives the whole overview.