fix: restrict notifications for created by when the actor is same (#1596)
This commit is contained in:
parent
bca749986a
commit
78669363b1
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue