From a1d4d88905695414c788e1ed90ad7fe7f5b6953e Mon Sep 17 00:00:00 2001 From: Ramiro Saenz Date: Tue, 2 May 2017 17:14:32 -0300 Subject: [PATCH] Fixed bug related with Notifications badges --- app/ux/WebView.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/ux/WebView.js b/app/ux/WebView.js index 0ee78298..a9bbdbc4 100644 --- a/app/ux/WebView.js +++ b/app/ux/WebView.js @@ -415,9 +415,7 @@ Ext.define('Rambox.ux.WebView',{ if (Array.isArray(event.args) === true && event.args.length > 0) { var count = event.args[0]; if (count === parseInt(count, 10)) { - me.tab.setBadgeText(Rambox.util.Format.formatNumber(count)); - - me.doManualNotification(count); + me.setUnreadCount(count); } } }