mirror of
https://github.com/uowuo/abaddon.git
synced 2026-08-15 05:19:58 +00:00
pass around snowflake instead of MessageData
This commit is contained in:
1 parent
6c04a0a86d
commit
f69b0e6155
7 files changed
+45
-35
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user