diff --git a/lms/djangoapps/discussion/rest_api/discussions_notifications.py b/lms/djangoapps/discussion/rest_api/discussions_notifications.py index 8b0aea41e59..3035df5f866 100644 --- a/lms/djangoapps/discussion/rest_api/discussions_notifications.py +++ b/lms/djangoapps/discussion/rest_api/discussions_notifications.py @@ -68,7 +68,8 @@ def _send_notification(self, user_ids, notification_type, extra_context=None): "sender_id": self.creator.id, 'thread_id': self.thread.id, 'parent_id': self.parent_id, - 'comment_id': self.comment_id + 'comment_id': self.comment_id, + 'topic_id': self.thread.commentable_id, **extra_context, }, notification_type=notification_type,