The patient was taking the oral contraceptive pill, which is a recognized risk factor for developing dural venous sinus thrombosis.