increment mentionCount for linux instead

This commit is contained in:
Jesse Hallam
2018-10-12 08:45:12 -04:00
parent cbe7889f20
commit 037c5c4333

View File

@@ -79,7 +79,7 @@ function showBadgeOSX(sessionExpired, unreadCount, mentionCount) {
function showBadgeLinux(sessionExpired, unreadCount, mentionCount) {
if (remote.app.isUnityRunning()) {
if (sessionExpired) {
remote.app.setBadgeCount(1);
remote.app.setBadgeCount(mentionCount + 1);
} else {
remote.app.setBadgeCount(mentionCount);
}