Skip to content

Commit

Permalink
Add prefix to notification text for "fuzzy" action
Browse files Browse the repository at this point in the history
  • Loading branch information
moisseev committed Aug 28, 2024
1 parent a60137c commit 901f23d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ async function sendMessageToRspamd(message, buttonId, windowId, tabIndex, action
} else {
libBackground.displayNotification(messageName, string, logLevel);
}
} else if (action !== "bayes") {
} else if (action === "fuzzy") {
setNotificationAreaValue(
null,
browser.i18n.getMessage("spamness.alertText.trainedAs") + hamSpam,
"Fuzzy: " + browser.i18n.getMessage("spamness.alertText.trainedAs") + hamSpam,
"info"
);
}
Expand Down

0 comments on commit 901f23d

Please sign in to comment.