summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2020-09-05 23:04:11 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2020-09-05 23:04:11 -0400
commitaf82a8df8e469739765918b1627de20948186eb4 (patch)
tree4c9f93c9e917d54f9928deae77cc98bd3a322942 /windows
parentde482d6cb7a57c804e771d14dcb1c592b5f07402 (diff)
downloadabaddon-portaudio-af82a8df8e469739765918b1627de20948186eb4.tar.gz
abaddon-portaudio-af82a8df8e469739765918b1627de20948186eb4.zip
better member list, role color, some fixes
Diffstat (limited to 'windows')
-rw-r--r--windows/mainwindow.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/windows/mainwindow.cpp b/windows/mainwindow.cpp
index 827cba6..cb607e1 100644
--- a/windows/mainwindow.cpp
+++ b/windows/mainwindow.cpp
@@ -125,9 +125,10 @@ Snowflake MainWindow::GetChatActiveChannel() const {
}
void MainWindow::UpdateChatNewMessage(Snowflake id) {
- if (m_abaddon->GetDiscordClient().GetMessage(id)->ChannelID == GetChatActiveChannel())
+ if (m_abaddon->GetDiscordClient().GetMessage(id)->ChannelID == GetChatActiveChannel()) {
m_chat.AddNewMessage(id);
- m_members.UpdateMemberList();
+ m_members.UpdateMemberList();
+ }
}
void MainWindow::UpdateChatMessageDeleted(Snowflake id, Snowflake channel_id) {