diff --git a/lms/djangoapps/discussion/rest_api/discussions_notifications.py b/lms/djangoapps/discussion/rest_api/discussions_notifications.py index 88c7fea558c1..e3ed5e8f6987 100644 --- a/lms/djangoapps/discussion/rest_api/discussions_notifications.py +++ b/lms/djangoapps/discussion/rest_api/discussions_notifications.py @@ -66,6 +66,9 @@ def _send_notification(self, user_ids, notification_type, extra_context=None): "post_title": self.thread.title, "course_name": self.course.display_name, "sender_id": self.creator.id, + 'thread_id': self.thread.id, + 'parent_id': self.parent_id, + 'comment_id': self.comment_id **extra_context, }, notification_type=notification_type,