diff --git a/server/notification-providers/slack.js b/server/notification-providers/slack.js index b3986b00..41c2bd02 100644 --- a/server/notification-providers/slack.js +++ b/server/notification-providers/slack.js @@ -28,7 +28,7 @@ class Slack extends NotificationProvider { async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { let okMsg = "Sent Successfully."; - if (notification.slackchannelmention) { + if (notification.slackchannelnotify) { msg += " "; } diff --git a/src/components/notifications/Slack.vue b/src/components/notifications/Slack.vue index a9b05e68..e99fc31e 100644 --- a/src/components/notifications/Slack.vue +++ b/src/components/notifications/Slack.vue @@ -26,8 +26,8 @@
- - + +
diff --git a/src/lang/en.json b/src/lang/en.json index 5ebbef13..10dca081 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -625,7 +625,7 @@ "matrixDesc1": "You can find the internal room ID by looking in the advanced section of the room settings in your Matrix client. It should look like !QMdRCpUIfLwsfjxye6:home.server.", "matrixDesc2": "It is highly recommended you create a new user and do not use your own Matrix user's access token as it will allow full access to your account and all the rooms you joined. Instead, create a new user and only invite it to the room that you want to receive the notification in. You can get the access token by running {0}", "Channel Name": "Channel Name", - "Mention Channel": "Mention Channel", + "Notify Channel": "Notify Channel", "Uptime Kuma URL": "Uptime Kuma URL", "Icon Emoji": "Icon Emoji", "signalImportant": "IMPORTANT: You cannot mix groups and numbers in recipients!",