mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-13 20:18:50 +03:00
improve MESSAGE_UPDATE handling (hopefully)
This commit is contained in:
@@ -146,9 +146,9 @@ void MainWindow::UpdateChatMessageDeleted(Snowflake id, Snowflake channel_id) {
|
||||
m_chat.DeleteMessage(id);
|
||||
}
|
||||
|
||||
void MainWindow::UpdateChatMessageEditContent(Snowflake id, Snowflake channel_id) {
|
||||
void MainWindow::UpdateChatMessageUpdated(Snowflake id, Snowflake channel_id) {
|
||||
if (channel_id == GetChatActiveChannel())
|
||||
m_chat.UpdateMessageContent(id);
|
||||
m_chat.UpdateMessage(id);
|
||||
}
|
||||
|
||||
void MainWindow::UpdateChatPrependHistory(const std::vector<Snowflake> &msgs) {
|
||||
|
||||
Reference in New Issue
Block a user