Skip to content

Commit

Permalink
only update zulip when tracking issues are opened
Browse files Browse the repository at this point in the history
The existing logic was only updating zulip when NON-tracking issues are opened.
  • Loading branch information
nikomatsakis authored Sep 17, 2024
1 parent 7735802 commit 3f2e073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/project_goals.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ pub async fn handle(ctx: &Context, event: &Event) -> anyhow::Result<()> {
issue,
..
}) => {
if issue.labels.iter().any(|l| l.name == C_TRACKING_ISSUE) {
if !issue.labels.iter().any(|l| l.name == C_TRACKING_ISSUE) {
return Ok(());
}
let zulip_topic_name = zulip_topic_name(issue);
Expand Down

0 comments on commit 3f2e073

Please sign in to comment.