From 217d80e5d3446a55917567b5cc63c1342033706f Mon Sep 17 00:00:00 2001 From: "waleed.mujahid" Date: Mon, 3 Nov 2025 13:02:24 +0500 Subject: [PATCH] Enable Forum Notifications for Threads#123 Preview --- lms/djangoapps/discussion/tasks.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lms/djangoapps/discussion/tasks.py b/lms/djangoapps/discussion/tasks.py index d483388f54ae..4c84e16c1255 100644 --- a/lms/djangoapps/discussion/tasks.py +++ b/lms/djangoapps/discussion/tasks.py @@ -180,9 +180,7 @@ def _track_notification_sent(message, context): def _should_send_message(context): cc_thread_author = cc.User(id=context['thread_author_id'], course_id=context['course_id']) return ( - _is_user_subscribed_to_thread(cc_thread_author, context['thread_id']) and - _is_not_subcomment(context['comment_id']) and - not _comment_author_is_thread_author(context) + _is_user_subscribed_to_thread(cc_thread_author, context['thread_id']) )