From e0c9b52e3468bce7065c534ad54f6b7236920b44 Mon Sep 17 00:00:00 2001 From: Boubaker Khanfir Date: Wed, 19 Jul 2023 11:42:34 +0100 Subject: [PATCH] feat: Disable News Activity Notifications by plugin instead of props - Meeds-io/MIPs#50 Prior to this change, the 'news' generated activity notification was disabled using properties embedded in Meeds Package. A new enhancement was made on Activity Stream APIto allow disable activity notifications by type. This change will configure the plugin to disable the Activity Notifications in favor of specific News notifications. --- .../conf/news/notification/configuration.xml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/webapp/src/main/webapp/WEB-INF/conf/news/notification/configuration.xml b/webapp/src/main/webapp/WEB-INF/conf/news/notification/configuration.xml index 42f83f02f2..0aaffc83cc 100644 --- a/webapp/src/main/webapp/WEB-INF/conf/news/notification/configuration.xml +++ b/webapp/src/main/webapp/WEB-INF/conf/news/notification/configuration.xml @@ -229,4 +229,24 @@ + + + org.exoplatform.social.core.manager.ActivityManager + + NewsActivityTypePlugin + addActivityTypePlugin + org.exoplatform.social.core.ActivityTypePlugin + + + type + news + + + enableNotification + false + + + + +