MOBILE-4522 forum: Only trigger MARK_READ_EVENT if forum has tracking

main
Dani Palou 2024-03-25 08:19:21 +01:00
parent b38b77edd9
commit 99dcbd9590
1 changed files with 1 additions and 1 deletions

View File

@ -863,7 +863,7 @@ export class AddonModForumDiscussionPage implements OnInit, AfterViewInit, OnDes
}); });
} }
if (!this.courseId || !this.cmId) { if (!this.courseId || !this.cmId || !this.trackPosts) {
return; return;
} }