chore: removed new comment notification grouping (#35920)
This commit is contained in:
@@ -155,7 +155,6 @@ class DiscussionNotificationSender:
|
||||
"author_name": str(author_name),
|
||||
"author_pronoun": str(author_pronoun),
|
||||
"email_content": clean_thread_html_body(self.comment.body),
|
||||
"group_by_id": self.parent_response.id
|
||||
}
|
||||
self._send_notification([self.thread.user_id], "new_comment", extra_context=context)
|
||||
|
||||
|
||||
@@ -362,7 +362,6 @@ class TestSendResponseNotifications(DiscussionAPIViewTestMixin, ModuleStoreTestC
|
||||
'replier_name': self.user_3.username,
|
||||
'post_title': self.thread.title,
|
||||
'email_content': self.comment.body,
|
||||
'group_by_id': self.thread_2.id,
|
||||
'author_name': 'dummy\'s',
|
||||
'author_pronoun': 'dummy\'s',
|
||||
'course_name': self.course.display_name,
|
||||
@@ -439,7 +438,6 @@ class TestSendResponseNotifications(DiscussionAPIViewTestMixin, ModuleStoreTestC
|
||||
expected_context = {
|
||||
'replier_name': self.user_3.username,
|
||||
'post_title': self.thread.title,
|
||||
'group_by_id': self.thread_2.id,
|
||||
'author_name': 'dummy\'s',
|
||||
'author_pronoun': 'your',
|
||||
'course_name': self.course.display_name,
|
||||
|
||||
Reference in New Issue
Block a user