Skip to content

Fix(馃洜) : Lesson auto-completion not triggering completion email - #2958

Open
sanjana4khan wants to merge 1 commit into
devfrom
autocomplete-lesson-email-not-sent
Open

Fix(馃洜) : Lesson auto-completion not triggering completion email#2958
sanjana4khan wants to merge 1 commit into
devfrom
autocomplete-lesson-email-not-sent

Conversation

@sanjana4khan

@sanjana4khan sanjana4khan commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Issue:
Video auto-completion called LessonModel::mark_lesson_complete() directly without firing the tutor_lesson_completed_email_after and tutor_lesson_completed_after hook. As a result, completion emails were not sent when lessons were completed through video playback, unlike the manual Mark Complete flow.

Fix:
Updated sync_video_playback() to fire both hooks after completing the lesson, matching the existing behavior in Lesson::mark_lesson_complete().

@sanjana4khan sanjana4khan added the 4.0.6 Tutor v4.0.6 label Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.0.6 Tutor v4.0.6

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant