From 7d14ca049658ec6cfb4f871a1c2c7bd71c527374 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Wed, 1 Feb 2023 16:27:45 +0100 Subject: [PATCH] Fixed notification --- .../notifications/SocialNotificationModerationThread.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/gcube/gcat/moderation/thread/social/notifications/SocialNotificationModerationThread.java b/src/main/java/org/gcube/gcat/moderation/thread/social/notifications/SocialNotificationModerationThread.java index cc8cb9b..f4b8e17 100644 --- a/src/main/java/org/gcube/gcat/moderation/thread/social/notifications/SocialNotificationModerationThread.java +++ b/src/main/java/org/gcube/gcat/moderation/thread/social/notifications/SocialNotificationModerationThread.java @@ -64,12 +64,14 @@ public class SocialNotificationModerationThread extends ModerationThread { notificationToSelfOnly = true; + notificationSentByGCat = true; stringBuffer = new StringBuffer(); stringBuffer.append("Thank you for submitting your item "); stringBuffer = addQuotedTitle(stringBuffer); stringBuffer.append(" to the catalogue. Please consider this notification as confirmation that your item has been successfully received and will be managed by the catalogue moderators."); postMessage(stringBuffer.toString()); notificationToSelfOnly = false; + notificationSentByGCat = false; } protected void notifyItemDeleted() throws Exception {