diff options
Diffstat (limited to 'abaddon.cpp')
-rw-r--r-- | abaddon.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/abaddon.cpp b/abaddon.cpp index 2c8a839..0c4575a 100644 --- a/abaddon.cpp +++ b/abaddon.cpp @@ -249,11 +249,10 @@ void Abaddon::ActionListChannelItemClick(Snowflake id) { m_main_window->UpdateChatActiveChannel(id); if (m_channels_requested.find(id) == m_channels_requested.end()) { m_discord.FetchMessagesInChannel(id, [this, id](const std::vector<Snowflake> &msgs) { - if (msgs.size() > 0) { + if (msgs.size() > 0) m_oldest_listed_message[id] = msgs.back(); - m_main_window->UpdateChatWindowContents(); - } + m_main_window->UpdateChatWindowContents(); m_channels_requested.insert(id); }); } else { |