Skip to content

Commit

Permalink
Explained how now background notifications will still make a sound ev…
Browse files Browse the repository at this point in the history
…en if disabled, so the sound setting must manually be tweaked
  • Loading branch information
cprcrack committed Nov 28, 2020
1 parent 339840b commit 2a4474f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ function proxyNotifications(isBackgroundScript)
if (event != undefined && event.srcElement != undefined && typeof event.srcElement.title == "string" && event.srcElement.title.length > 0)
{
srcChatTitle = event.srcElement.title;

if (debug) console.info("WAT: Background notification click intercepted with srcChatTitle " + srcChatTitle);
}
window.postMessage({ name: "backgroundNotificationClicked", srcChatTitle: srcChatTitle }, "*");
Expand Down

0 comments on commit 2a4474f

Please sign in to comment.