Compare commits
2 Commits
ce7c68511b
...
bdda71229d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bdda71229d | ||
|
|
49b85bb695 |
|
|
@ -15,6 +15,7 @@
|
|||
padding-left: 10px;
|
||||
|
||||
.message-count {
|
||||
font-family: 'opensans-bold', sans-serif;
|
||||
padding-left: 5px;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ export class ChatService implements OnDestroy {
|
|||
name: message.channelName!,
|
||||
type: message.channelType!,
|
||||
unreadMessages: 0,
|
||||
totalMessages: 0
|
||||
totalMessages: 1
|
||||
}]);
|
||||
} else {
|
||||
found.totalMessages++;
|
||||
|
|
|
|||
|
|
@ -38,6 +38,9 @@ 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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user