From dd9fd8e34524faf5306200623306a197dfffe1e3 Mon Sep 17 00:00:00 2001 From: or-else Date: Sun, 9 Sep 2018 11:46:57 +0300 Subject: [PATCH] bug due to a typo --- src/webapp.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webapp.jsx b/src/webapp.jsx index ad0df8c2..c95acf1a 100644 --- a/src/webapp.jsx +++ b/src/webapp.jsx @@ -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(); }