Skip to content

Commit

Permalink
fix: Added topic id in notification context
Browse files Browse the repository at this point in the history
  • Loading branch information
jawad-khan committed Dec 17, 2024
1 parent 74fc0ff commit 0e70ca2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0e70ca2

Please sign in to comment.