pass around snowflake instead of MessageData

This commit is contained in:
ouwou committed 2020-09-04 00:48:38 -04:00
1 parent 6c04a0a86d
commit f69b0e6155
7 files changed
+45 -35

No files matched your search

+1 -1
View File
@@ -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);
}