From 31ea07c659eeddf49c5f6a95af0d56ed798b842b Mon Sep 17 00:00:00 2001 From: Carlin MacKenzie Date: Wed, 11 Dec 2024 17:21:00 +0100 Subject: [PATCH] config: add record and membership comment notifications --- invenio_app_rdm/config.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/invenio_app_rdm/config.py b/invenio_app_rdm/config.py index cb6b917e8..42d176fce 100644 --- a/invenio_app_rdm/config.py +++ b/invenio_app_rdm/config.py @@ -50,6 +50,7 @@ from invenio_rdm_records.notifications.builders import ( CommunityInclusionAcceptNotificationBuilder, CommunityInclusionCancelNotificationBuilder, + CommunityInclusionCommentNotificationBuilder, CommunityInclusionDeclineNotificationBuilder, CommunityInclusionExpireNotificationBuilder, CommunityInclusionSubmittedNotificationBuilder, @@ -1368,6 +1369,9 @@ def github_link_render(record): GrantUserAccessNotificationBuilder.type: GrantUserAccessNotificationBuilder, # Comment request event CommentRequestEventCreateNotificationBuilder.type: CommentRequestEventCreateNotificationBuilder, + CommunityInclusionCommentNotificationBuilder.type: CommunityInclusionCommentNotificationBuilder, + community_notifications.CommunityInvitationCommentNotificationBuilder.type: community_notifications.CommunityInvitationCommentNotificationBuilder, + community_notifications.CommunityRequestCommentNotificationBuilder.type: community_notifications.CommunityRequestCommentNotificationBuilder, community_notifications.SubComReqCommentNotificationBuilder.type: community_notifications.SubComReqCommentNotificationBuilder, community_notifications.SubComInvCommentNotificationBuilder.type: community_notifications.SubComInvCommentNotificationBuilder, # Community inclusion