We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2aaad35 + 6ef6bf1 commit b4d67a2Copy full SHA for b4d67a2
src/handlers/concern.rs
@@ -91,11 +91,7 @@ pub(super) async fn handle_command(
91
match cmd {
92
ConcernCommand::Concern { title } => {
93
// Only add a concern if it wasn't already added, we could be in an edit
94
- if !concern_data
95
- .concerns
96
- .iter()
97
- .any(|c| c.title == title && c.comment_url == comment_url)
98
- {
+ if !concern_data.concerns.iter().any(|c| c.title == title) {
99
concern_data.concerns.push(Concern {
100
title,
101
status: ConcernStatus::Active,
0 commit comments