summaryrefslogtreecommitdiff
path: root/windows/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'windows/mainwindow.cpp')
-rw-r--r--windows/mainwindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/windows/mainwindow.cpp b/windows/mainwindow.cpp
index 2594abc..743b2a2 100644
--- a/windows/mainwindow.cpp
+++ b/windows/mainwindow.cpp
@@ -110,6 +110,10 @@ void MainWindow::UpdateChatNewMessage(Snowflake id) {
m_chat.AddNewMessage(id);
}
+void MainWindow::UpdateChatPrependHistory(const std::vector<MessageData> &msgs) {
+ m_chat.AddNewHistory(msgs);
+}
+
void MainWindow::SetAbaddon(Abaddon *ptr) {
m_abaddon = ptr;
m_channel_list.SetAbaddon(ptr);