Both imperfects are jussive because matā introduces a condition and a consequent. Matā is a temporal adjunct, not an agent or object.
Book example: مَتَى تَصُمْ أَصُمْ.
Whenever you fast, I shall fast.
Matā: conditional time adverb; taṣum: jussive verb of the condition; aṣum: jussive result, each with an implicit subject.