mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-06 20:15:19 +03:00
pass around snowflake instead of MessageData
This commit is contained in:
@@ -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