Compare commits

..

No commits in common. "bdda71229d9bc864fd58719864e0a225e9539d4b" and "ce7c68511b7ddf14ab86adaaf6cade51d0a78d24" have entirely different histories.

3 changed files with 1 additions and 5 deletions

View File

@ -15,7 +15,6 @@
padding-left: 10px;
.message-count {
font-family: 'opensans-bold', sans-serif;
padding-left: 5px;
}
}

View File

@ -107,7 +107,7 @@ export class ChatService implements OnDestroy {
name: message.channelName!,
type: message.channelType!,
unreadMessages: 0,
totalMessages: 1
totalMessages: 0
}]);
} else {
found.totalMessages++;

View File

@ -38,9 +38,6 @@ export class NameFormatService {
if (channel.type === 'DM' || channel.type === 'SPY') {
return this.chatService.userNameMap().get(channel.name) ?? channel.name;
}
if (channel.type === 'SERVER') {
return channel.name.charAt(0).toUpperCase() + channel.name.slice(1);
}
return channel.name;
}