Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Fix the bug of not posting notification to IssueCreate/StatusUpdate/CommentCreate

天舟c91d2788cd3b
diff --git a/server/activity_manager.go b/server/activity_manager.go
index 819fcf04a6..0c1016b5f1 100644
--- a/server/activity_manager.go
+++ b/server/activity_manager.go
@@ -38,8 +38,11 @@ func (m *ActivityManager) CreateActivity(ctx context.Context, create *api.Activi
postInbox := false
switch create.Type {
case api.ActivityIssueCreate:
+ postInbox = true
case api.ActivityIssueStatusUpdate:
+ postInbox = true
case api.ActivityIssueCommentCreate:
+ postInbox = true
case api.ActivityIssueFieldUpdate:
postInbox = true
case api.ActivityPipelineTaskStatusUpdate: