fix: restrict notifications for created by when the actor is same (#1596)

This commit is contained in:
Nikhil 2023-07-20 18:53:02 +05:30 committed by GitHub
parent bca749986a
commit 78669363b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]