feat: batch notifications

This commit is contained in:
Jannat Patel
2024-05-24 13:08:02 +05:30
parent a748e2c2db
commit 850069d380
15 changed files with 93 additions and 36 deletions

View File

@@ -103,7 +103,7 @@ doc_events = {
]
},
"Discussion Reply": {"after_insert": "lms.lms.utils.handle_notifications"},
"Notification Log": {"after_insert": "lms.lms.utils.publish_notifications"},
"Notification Log": {"on_change": "lms.lms.utils.publish_notifications"},
}
# Scheduled Tasks