mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: restrict notifications for created by when the actor is same (#1596)
This commit is contained in:
parent
bca749986a
commit
78669363b1
@ -1129,6 +1129,7 @@ def issue_activity(
|
|||||||
issue is not None
|
issue is not None
|
||||||
and issue.created_by_id is not None
|
and issue.created_by_id is not None
|
||||||
and not issue.created_by.is_bot
|
and not issue.created_by.is_bot
|
||||||
|
and str(issue.created_by_id) != str(actor_id)
|
||||||
):
|
):
|
||||||
issue_subscribers = issue_subscribers + [issue.created_by_id]
|
issue_subscribers = issue_subscribers + [issue.created_by_id]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user