Update NotificationSounds.plugin.js

This commit is contained in:
Mirco Wittrien 2024-03-06 17:56:26 +01:00
parent 2b6f00681a
commit 7aa6ae35f0
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
* @name NotificationSounds * @name NotificationSounds
* @author DevilBro * @author DevilBro
* @authorId 278543574059057154 * @authorId 278543574059057154
* @version 3.9.4 * @version 3.9.5
* @description Allows you to replace the native Sounds with custom Sounds * @description Allows you to replace the native Sounds with custom Sounds
* @invite Jx3TjNS * @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien * @donate https://www.paypal.me/MircoWittrien
@ -260,7 +260,7 @@ module.exports = (_ => {
if (isCurrent && BDFDB.LibraryStores.NotificationSettingsStore.getNotifyMessagesInSelectedChannel()) { if (isCurrent && BDFDB.LibraryStores.NotificationSettingsStore.getNotifyMessagesInSelectedChannel()) {
this.fireEvent("message3"); this.fireEvent("message3");
!document.hasFocus() && this.playAudio("message3"); this.playAudio("message3");
return; return;
} }
else if (!guildId) { else if (!guildId) {