Fix: Notification settings not affecting playSound

This commit is contained in:
Paul
2021-06-24 22:06:30 +01:00
parent e03c2f88af
commit 51ac1f599c
2 changed files with 2 additions and 2 deletions

View File

@@ -192,7 +192,7 @@ function Notifier(props: Props) {
client.removeListener("message", message);
client.users.removeListener("mutation", relationship);
};
}, [client, guild_id, channel_id, showNotification]);
}, [client, playSound, guild_id, channel_id, showNotification]);
useEffect(() => {
function visChange() {