forked from github/plane
Compare commits
1 Commits
preview
...
chore/draf
Author | SHA1 | Date | |
---|---|---|---|
|
f18e1e4023 |
@ -1197,7 +1197,7 @@ class WorkspaceUserActivityEndpoint(BaseAPIView):
|
|||||||
projects = request.query_params.getlist("project", [])
|
projects = request.query_params.getlist("project", [])
|
||||||
|
|
||||||
queryset = IssueActivity.objects.filter(
|
queryset = IssueActivity.objects.filter(
|
||||||
~Q(field__in=["comment", "vote", "reaction"]),
|
~Q(field__in=["comment", "vote", "reaction", "draft"]),
|
||||||
workspace__slug=slug,
|
workspace__slug=slug,
|
||||||
project__project_projectmember__member=request.user,
|
project__project_projectmember__member=request.user,
|
||||||
actor=user_id,
|
actor=user_id,
|
||||||
|
@ -1181,6 +1181,9 @@ def issue_activity(
|
|||||||
"comment_reaction.activity.deleted",
|
"comment_reaction.activity.deleted",
|
||||||
"issue_vote.activity.created",
|
"issue_vote.activity.created",
|
||||||
"issue_vote.activity.deleted",
|
"issue_vote.activity.deleted",
|
||||||
|
"issue_draft.activity.created",
|
||||||
|
"issue_draft.activity.updated",
|
||||||
|
"issue_draft.activity.deleted",
|
||||||
]:
|
]:
|
||||||
issue = Issue.objects.filter(pk=issue_id).first()
|
issue = Issue.objects.filter(pk=issue_id).first()
|
||||||
|
|
||||||
@ -1272,6 +1275,9 @@ def issue_activity(
|
|||||||
"comment_reaction.activity.deleted",
|
"comment_reaction.activity.deleted",
|
||||||
"issue_vote.activity.created",
|
"issue_vote.activity.created",
|
||||||
"issue_vote.activity.deleted",
|
"issue_vote.activity.deleted",
|
||||||
|
"issue_draft.activity.created",
|
||||||
|
"issue_draft.activity.updated",
|
||||||
|
"issue_draft.activity.deleted",
|
||||||
]:
|
]:
|
||||||
# Create Notifications
|
# Create Notifications
|
||||||
bulk_notifications = []
|
bulk_notifications = []
|
||||||
|
Loading…
Reference in New Issue
Block a user