Skip to content

Commit

Permalink
feat: Populate notification context with post, comment and response ids
Browse files Browse the repository at this point in the history
  • Loading branch information
jawad-khan committed Dec 11, 2024
1 parent ee30f1b commit b174203
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b174203

Please sign in to comment.