bug due to a typo

This commit is contained in:
or-else
2018-09-09 11:46:57 +03:00
parent 1318f399e6
commit dd9fd8e345
+1 -1
View File
@@ -4629,7 +4629,7 @@ class TinodeWeb extends React.Component {
} else if (what == "msg") {
// New message received
// Skip update if the topic is currently open, otherwise the badge will annoyingly flash.
if (this.this.topicSelected != cont.topic) {
if (this.state.topicSelected != cont.topic) {
if (this.state.messageSounds) {
POP_SOUND.play();
}