fix(notify): ignore disabled targets when sending events (#2117)
Co-authored-by: houseme <[email protected]>
This commit is contained in:
@@ -355,7 +355,7 @@ impl NotificationSystem {
|
||||
changed = true;
|
||||
}
|
||||
if targets.is_empty() {
|
||||
config.0.remove(target_type);
|
||||
config.0.remove(&ttype);
|
||||
}
|
||||
}
|
||||
if !changed {
|
||||
|
||||
Reference in New Issue
Block a user