disable notification sound for now
This commit is contained in:
+4
-2
@@ -1754,10 +1754,12 @@
|
|||||||
// New message received
|
// New message received
|
||||||
// Skip update if the topic is currently open, otherwise the badge will annoyingly flash.
|
// Skip update if the topic is currently open, otherwise the badge will annoyingly flash.
|
||||||
if (this.props.topicSelected !== cont.topic) {
|
if (this.props.topicSelected !== cont.topic) {
|
||||||
POP_SOUND.play();
|
// Disable sound for now. Need to add a config option.
|
||||||
|
// POP_SOUND.play();
|
||||||
this.resetContactList();
|
this.resetContactList();
|
||||||
} else if (document.hidden) {
|
} else if (document.hidden) {
|
||||||
POP_SOUND.play();
|
// Disable sound for now.
|
||||||
|
// POP_SOUND.play();
|
||||||
}
|
}
|
||||||
} else if (what === "recv") {
|
} else if (what === "recv") {
|
||||||
// Explicitly ignoring "recv" -- it causes no visible updates to contact list.
|
// Explicitly ignoring "recv" -- it causes no visible updates to contact list.
|
||||||
|
|||||||
Reference in New Issue
Block a user