Skip to content

Commit f563bc9

Browse files
authored
Merge pull request #1844 from nikomatsakis/patch-1
only update zulip when tracking issues are opened
2 parents 7735802 + 3f2e073 commit f563bc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/handlers/project_goals.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ pub async fn handle(ctx: &Context, event: &Event) -> anyhow::Result<()> {
226226
issue,
227227
..
228228
}) => {
229-
if issue.labels.iter().any(|l| l.name == C_TRACKING_ISSUE) {
229+
if !issue.labels.iter().any(|l| l.name == C_TRACKING_ISSUE) {
230230
return Ok(());
231231
}
232232
let zulip_topic_name = zulip_topic_name(issue);

0 commit comments

Comments
 (0)