disable notification sound for now

This commit is contained in:
or-else
2018-03-24 18:45:56 -07:00
parent ac89af9850
commit 3cba22ae22
+4 -2
View File
@@ -1754,10 +1754,12 @@
// New message received
// Skip update if the topic is currently open, otherwise the badge will annoyingly flash.
if (this.props.topicSelected !== cont.topic) {
POP_SOUND.play();
// Disable sound for now. Need to add a config option.
// POP_SOUND.play();
this.resetContactList();
} else if (document.hidden) {
POP_SOUND.play();
// Disable sound for now.
// POP_SOUND.play();
}
} else if (what === "recv") {
// Explicitly ignoring "recv" -- it causes no visible updates to contact list.