Skip to content

Commit

Permalink
Merge branch 'master' into import-api
Browse files Browse the repository at this point in the history
  • Loading branch information
awais786 authored Jan 1, 2025
2 parents 57bd4cd + b369345 commit 78e3fb4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions openedx/core/djangoapps/notifications/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ def send_notifications(user_ids, course_key: str, app_name, notification_type, c
)
if grouping_enabled and existing_notifications.get(user_id, None):
group_user_notifications(new_notification, existing_notifications[user_id])
if not notifications_generated:
notifications_generated = True
notification_content = new_notification.content
else:
notifications.append(new_notification)
generated_notification_audience.append(user_id)
Expand Down

0 comments on commit 78e3fb4

Please sign in to comment.