Skip to content

Commit 3f2e073

Browse files
authored
only update zulip when tracking issues are opened
The existing logic was only updating zulip when NON-tracking issues are opened.
1 parent 7735802 commit 3f2e073

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)