Compare commits
No commits in common. "bdda71229d9bc864fd58719864e0a225e9539d4b" and "ce7c68511b7ddf14ab86adaaf6cade51d0a78d24" have entirely different histories.
bdda71229d
...
ce7c68511b
|
|
@ -15,7 +15,6 @@
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
|
|
||||||
.message-count {
|
.message-count {
|
||||||
font-family: 'opensans-bold', sans-serif;
|
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -107,7 +107,7 @@ export class ChatService implements OnDestroy {
|
||||||
name: message.channelName!,
|
name: message.channelName!,
|
||||||
type: message.channelType!,
|
type: message.channelType!,
|
||||||
unreadMessages: 0,
|
unreadMessages: 0,
|
||||||
totalMessages: 1
|
totalMessages: 0
|
||||||
}]);
|
}]);
|
||||||
} else {
|
} else {
|
||||||
found.totalMessages++;
|
found.totalMessages++;
|
||||||
|
|
|
||||||
|
|
@ -38,9 +38,6 @@ export class NameFormatService {
|
||||||
if (channel.type === 'DM' || channel.type === 'SPY') {
|
if (channel.type === 'DM' || channel.type === 'SPY') {
|
||||||
return this.chatService.userNameMap().get(channel.name) ?? channel.name;
|
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;
|
return channel.name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user