The only subgroups of patients with heart failure and atrial fibrillation in which the efficacy of cardiac resynchronization therapy has been scientifically proven are patients with indications for right ventricular pacing and patients after atrioventricular junction ablation .