mirror of
https://github.com/mailscope/kumomta.git
synced 2026-10-23 15:02:27 +00:00
kcli: queue-summary: fix displaying suspension status
When rendering the suspension and bounce status, the various queue name component parameters were flipped wrt. to the suspension and bounce entries, causing them not to match. This commit fixes that and restores stop sign and trash can emoji status annotations to the output.
This commit is contained in:
@@ -432,13 +432,13 @@ fn domain_matches(
|
||||
tenant: &Option<String>,
|
||||
domain: &Option<String>,
|
||||
) -> bool {
|
||||
if !match_criteria(campaign.as_deref(), components.campaign.as_deref()) {
|
||||
if !match_criteria(components.campaign.as_deref(), campaign.as_deref()) {
|
||||
return false;
|
||||
}
|
||||
if !match_criteria(tenant.as_deref(), components.tenant.as_deref()) {
|
||||
if !match_criteria(components.tenant.as_deref(), tenant.as_deref()) {
|
||||
return false;
|
||||
}
|
||||
if !match_criteria(domain.as_deref(), Some(components.domain)) {
|
||||
if !match_criteria(Some(components.domain), domain.as_deref()) {
|
||||
return false;
|
||||
}
|
||||
true
|
||||
|
||||
Reference in New Issue
Block a user