diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-09-04 00:48:38 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-09-04 00:48:38 -0400 |
commit | f69b0e61558680d9fdcaafd5c184b2c45fc06fce (patch) | |
tree | 87499f456700f365eb04cb19772f75f08eed614b /windows/mainwindow.cpp | |
parent | 6c04a0a86d832217dc6d08652430cd84b09ff1db (diff) | |
download | abaddon-portaudio-f69b0e61558680d9fdcaafd5c184b2c45fc06fce.tar.gz abaddon-portaudio-f69b0e61558680d9fdcaafd5c184b2c45fc06fce.zip |
pass around snowflake instead of MessageData
Diffstat (limited to 'windows/mainwindow.cpp')
-rw-r--r-- | windows/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/windows/mainwindow.cpp b/windows/mainwindow.cpp index 67e33fb..a714c1a 100644 --- a/windows/mainwindow.cpp +++ b/windows/mainwindow.cpp @@ -131,7 +131,7 @@ void MainWindow::UpdateChatMessageEditContent(Snowflake id, Snowflake channel_id m_chat.UpdateMessageContent(id); } -void MainWindow::UpdateChatPrependHistory(const std::vector<MessageData> &msgs) { +void MainWindow::UpdateChatPrependHistory(const std::vector<Snowflake> &msgs) { m_chat.AddNewHistory(msgs); } |