summaryrefslogtreecommitdiff
path: root/windows/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'windows/mainwindow.cpp')
-rw-r--r--windows/mainwindow.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/windows/mainwindow.cpp b/windows/mainwindow.cpp
index d4453af..8dde16f 100644
--- a/windows/mainwindow.cpp
+++ b/windows/mainwindow.cpp
@@ -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() {