Fix bug with onlyUnread and buffer with notifications without unread
messages
This commit is contained in:
parent
33ee9bd951
commit
45a0d0cd21
|
@ -436,7 +436,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
|
||||||
if (models.getActiveBuffer() == buffer) {
|
if (models.getActiveBuffer() == buffer) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return buffer.unread > 0;
|
return buffer.unread > 0 || buffer.notification > 0;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue