mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Prepare Data::Histories for requests interdependencies.
This commit is contained in:
@@ -41,6 +41,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "data/data_user.h"
|
||||
#include "data/data_scheduled_messages.h"
|
||||
#include "data/data_file_origin.h"
|
||||
#include "data/data_histories.h"
|
||||
#include "history/history.h"
|
||||
#include "history/history_item.h"
|
||||
#include "history/history_message.h"
|
||||
@@ -1706,6 +1707,7 @@ void HistoryWidget::showHistory(
|
||||
return;
|
||||
}
|
||||
updateSendAction(_history, SendAction::Type::Typing, -1);
|
||||
session().data().histories().sendPendingReadInbox(_history);
|
||||
cancelTypingAction();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user