forked from OpenGamers/abaddon
join/leave guild updates without reloading entire channel list
This commit is contained in:
@@ -116,6 +116,14 @@ void MainWindow::UpdateChannelListing() {
|
||||
m_channel_list.UpdateListing();
|
||||
}
|
||||
|
||||
void MainWindow::UpdateChannelsNewGuild(Snowflake id) {
|
||||
m_channel_list.UpdateNewGuild(id);
|
||||
}
|
||||
|
||||
void MainWindow::UpdateChannelsRemoveGuild(Snowflake id) {
|
||||
m_channel_list.UpdateRemoveGuild(id);
|
||||
}
|
||||
|
||||
void MainWindow::UpdateChatWindowContents() {
|
||||
auto &discord = Abaddon::Get().GetDiscordClient();
|
||||
auto allmsgs = discord.GetMessagesForChannel(m_chat.GetActiveChannel());
|
||||
|
||||
@@ -11,6 +11,8 @@ public:
|
||||
void UpdateComponents();
|
||||
void UpdateMembers();
|
||||
void UpdateChannelListing();
|
||||
void UpdateChannelsNewGuild(Snowflake id);
|
||||
void UpdateChannelsRemoveGuild(Snowflake id);
|
||||
void UpdateChatWindowContents();
|
||||
void UpdateChatActiveChannel(Snowflake id);
|
||||
Snowflake GetChatActiveChannel() const;
|
||||
|
||||
Reference in New Issue
Block a user