From b4433a06090b9cb0159f60f6da344b5ee6f68c47 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Fri, 7 Feb 2020 19:17:37 +0100 Subject: [PATCH] Do not show [cspacer] within the "your talking in Channel...." --- shared/js/ui/frames/chat_frame.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/js/ui/frames/chat_frame.ts b/shared/js/ui/frames/chat_frame.ts index fbac1adc..1bccaebe 100644 --- a/shared/js/ui/frames/chat_frame.ts +++ b/shared/js/ui/frames/chat_frame.ts @@ -120,7 +120,7 @@ namespace chat { if(channel) { if(channel.properties.channel_icon_id != 0) client.handle.fileManager.icons.generateTag(channel.properties.channel_icon_id).appendTo(html_tag); - $.spawn("div").text(channel.channelName()).appendTo(html_tag); + $.spawn("div").text(channel.formattedChannelName()).appendTo(html_tag); this.update_channel_limit(channel, html_limit_tag); } else { @@ -148,7 +148,7 @@ namespace chat { if(channel) { if(channel.properties.channel_icon_id != 0) this.handle.handle.fileManager.icons.generateTag(channel.properties.channel_icon_id).appendTo(html_tag); - $.spawn("div").text(channel.channelName()).appendTo(html_tag); + $.spawn("div").text(channel.formattedChannelName()).appendTo(html_tag); this.update_channel_limit(channel, html_limit_tag); } else if(channel_tree && current_channel_id > 0) {