buffer: separate unread and notification

This commit is contained in:
Lorenz Hübschle-Schneider 2016-10-13 16:09:10 +02:00
parent cbc158af4c
commit 6359e726ce
2 changed files with 3 additions and 2 deletions

View file

@ -221,7 +221,7 @@ input[type=text], input[type=password], #sendMessage {
display: none;
}
#sidebar .buffer.unread .badge {
#sidebar .buffer.unread .badge, #sidebar .buffer.notification .badge {
display: inline-block;
border-radius: 0;
margin-right: -10px;

View file

@ -272,7 +272,8 @@ $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out rel
</form>
</li>
<li class="buffer" ng-class="{'active': buffer.active,
'unread': (buffer.notification || buffer.unread),
'unread': buffer.unread,
'notification': buffer.notification,
'highlight': search && search_highlight_key === key,
'indent': buffer.indent,
'channel': buffer.type === 'channel',