diff --git a/apiserver/plane/bgtasks/issue_activites_task.py b/apiserver/plane/bgtasks/issue_activites_task.py index 523e4bc30..105a05b56 100644 --- a/apiserver/plane/bgtasks/issue_activites_task.py +++ b/apiserver/plane/bgtasks/issue_activites_task.py @@ -1129,6 +1129,7 @@ def issue_activity( issue is not None and issue.created_by_id is not None and not issue.created_by.is_bot + and str(issue.created_by_id) != str(actor_id) ): issue_subscribers = issue_subscribers + [issue.created_by_id] diff --git a/apps/app/hooks/use-user-notifications.tsx b/apps/app/hooks/use-user-notifications.tsx index 394628aee..1a4d6d8a8 100644 --- a/apps/app/hooks/use-user-notifications.tsx +++ b/apps/app/hooks/use-user-notifications.tsx @@ -74,6 +74,7 @@ const useUserNotification = () => { }) .finally(() => { notificationsMutate(); + mutateNotificationCount(); }); } else { notificationsMutate( @@ -96,6 +97,7 @@ const useUserNotification = () => { }) .finally(() => { notificationsMutate(); + mutateNotificationCount(); }); } }; @@ -114,6 +116,7 @@ const useUserNotification = () => { }) .finally(() => { notificationsMutate(); + mutateNotificationCount(); }); } else { notificationsMutate( @@ -127,6 +130,7 @@ const useUserNotification = () => { }) .finally(() => { notificationsMutate(); + mutateNotificationCount(); }); } }; @@ -145,6 +149,7 @@ const useUserNotification = () => { }) .finally(() => { notificationsMutate(); + mutateNotificationCount(); }); } else { notificationsMutate( @@ -160,6 +165,7 @@ const useUserNotification = () => { }) .finally(() => { notificationsMutate(); + mutateNotificationCount(); }); } };