Fix bug with onlyUnread and buffer with notifications without unread

messages
with-route-provider
Tor Hveem 12 years ago
parent 33ee9bd951
commit 45a0d0cd21
  1. 2
      js/websockets.js

@ -436,7 +436,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
if (models.getActiveBuffer() == buffer) {
return true;
}
return buffer.unread > 0;
return buffer.unread > 0 || buffer.notification > 0;
}
return true;
};

Loading…
Cancel
Save