From 14c97918645ee1774ebffc643a9e813838b38e21 Mon Sep 17 00:00:00 2001 From: michael1011 Date: Fri, 23 Aug 2024 17:53:20 +0200 Subject: [PATCH] fix: mattermost alert channel selection --- boltzr/src/notifications/mattermost.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boltzr/src/notifications/mattermost.rs b/boltzr/src/notifications/mattermost.rs index 6bbb9b86..10001bc7 100644 --- a/boltzr/src/notifications/mattermost.rs +++ b/boltzr/src/notifications/mattermost.rs @@ -142,7 +142,7 @@ impl Client { .clone(); if let Some(alerts) = config.channel_alert { - match Self::find_channel(&config.channel, &channels_res) { + match Self::find_channel(&alerts, &channels_res) { Some(channel) => { c.channel_id_alerts = Some(channel.id.clone()); }