fix typo, bump versin and rebuild
This commit is contained in:
+12
-5
@@ -857,7 +857,7 @@ module.exports = JSON.parse("{\"en\":{\"archived_contacts\":\"Archived contacts
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PACKAGE_VERSION", function() { return PACKAGE_VERSION; });
|
||||
var PACKAGE_VERSION = "0.16.0-rc3";
|
||||
var PACKAGE_VERSION = "0.16.0-rc4";
|
||||
|
||||
/***/ }),
|
||||
|
||||
@@ -4757,14 +4757,21 @@ var TinodeWeb = function (_React$Component) {
|
||||
} else if (what == 'read') {
|
||||
this.resetContactList();
|
||||
} else if (what == 'msg') {
|
||||
if (this.state.topicSelected != cont.topic) {
|
||||
if (this.state.messageSounds) {
|
||||
var topic = this.tinode.getTopic(cont.topic);
|
||||
var archived = topic && topic.isArchived();
|
||||
|
||||
if (document.hidden) {
|
||||
if (this.state.messageSounds && !isArchived) {
|
||||
POP_SOUND.play();
|
||||
}
|
||||
|
||||
this.resetContactList();
|
||||
} else if (this.state.topicSelected != cont.topic) {
|
||||
if (this.state.messageSounds && !isArchived) {
|
||||
POP_SOUND.play();
|
||||
}
|
||||
|
||||
this.resetContactList();
|
||||
} else if (document.hidden && this.state.messageSounds) {
|
||||
POP_SOUND.play();
|
||||
}
|
||||
} else if (what == 'recv') {} else if (what == 'gone' || what == 'unsub') {
|
||||
if (this.state.topicSelected == cont.topic) {
|
||||
|
||||
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user