From 34f8af599d76c74b719821e92d60937d9dcc01e3 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Thu, 14 Apr 2022 00:11:39 -0400 Subject: fix tab titles --- src/components/channeltabswitcherhandy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/channeltabswitcherhandy.cpp') diff --git a/src/components/channeltabswitcherhandy.cpp b/src/components/channeltabswitcherhandy.cpp index 37ac927..e359896 100644 --- a/src/components/channeltabswitcherhandy.cpp +++ b/src/components/channeltabswitcherhandy.cpp @@ -70,7 +70,7 @@ void ChannelTabSwitcherHandy::ReplaceActiveTab(Snowflake id) { const auto channel = discord.GetChannel(id); if (!channel.has_value()) return; - hdy_tab_page_set_title(page, ("#" + *channel->Name).c_str()); + hdy_tab_page_set_title(page, channel->GetDisplayName().c_str()); ClearPage(page); m_pages[id] = page; -- cgit v1.2.3