Merge pull request #1298 from ananthkamath/master

Fix mattermost couldn't find channel issue
This commit is contained in:
Louis Lam
2022-02-13 23:56:12 +08:00
committed by GitHub

View File

@@ -20,7 +20,7 @@ class Mattermost extends NotificationProvider {
return okMsg;
}
const mattermostChannel = notification.mattermostchannel;
const mattermostChannel = notification.mattermostchannel.toLowerCase();
const mattermostIconEmoji = notification.mattermosticonemo;
const mattermostIconUrl = notification.mattermosticonurl;