refactor channel listing

This commit is contained in:
ouwou
2020-09-17 02:26:33 -04:00
parent b8b47b429e
commit 72d0a0d2a0
5 changed files with 295 additions and 251 deletions

View File

@@ -105,8 +105,7 @@ void MainWindow::UpdateMembers() {
}
void MainWindow::UpdateChannelListing() {
auto &discord = Abaddon::Get().GetDiscordClient();
m_channel_list.SetListingFromGuilds(discord.GetGuilds());
m_channel_list.UpdateListing();
}
void MainWindow::UpdateChatWindowContents() {