diff --git a/apps/archive/archive.py b/apps/archive/archive.py index cf9918b239..a511ea2278 100644 --- a/apps/archive/archive.py +++ b/apps/archive/archive.py @@ -1233,7 +1233,7 @@ def handle_mark_user_notifications(self, updates, original, add_activity=True): ) self._send_mark_user_notifications( - "item:unmarked", + "item:marked", message, resource=self.datasource, item=original, @@ -1295,7 +1295,6 @@ def _send_mark_user_notifications( item=item, user_list=user_list, link=link, - notification_name="mark_for_user", **data, ) diff --git a/superdesk/activity.py b/superdesk/activity.py index 2904d6d7bd..97f7fe5c19 100644 --- a/superdesk/activity.py +++ b/superdesk/activity.py @@ -247,6 +247,9 @@ def notify_and_add_activity( if user_list is None: user_list = [] + if notification_name is None: + notification_name = activity_name + notify_users = [ str(user.get("_id")) for user in user_list