Merge pull request #4214 from sha1sum/#4161_classes-on-unread-and-ping

Classes for channels in list with unread counts and highlights
This commit is contained in:
Max Leiter 2021-05-06 19:09:53 -07:00 committed by GitHub
commit d097370316
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,8 @@
{active: active}, {active: active},
{'parted-channel': channel.type === 'channel' && channel.state === 0}, {'parted-channel': channel.type === 'channel' && channel.state === 0},
{'has-draft': channel.pendingMessage}, {'has-draft': channel.pendingMessage},
{'has-unread': channel.unread},
{'has-highlight': channel.highlight},
{ {
'not-secure': 'not-secure':
channel.type === 'lobby' && network.status.connected && !network.status.secure, channel.type === 'lobby' && network.status.connected && !network.status.secure,