2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Fix sending stickers from inline bots.

Fixes #8020.
This commit is contained in:
John Preston
2020-06-16 20:53:44 +04:00
parent 1024f38944
commit 099482574e
27 changed files with 192 additions and 79 deletions

View File

@@ -3364,7 +3364,9 @@ void HistoryBlock::refreshView(not_null<Element*> view) {
Expects(view->block() == this);
const auto item = view->data();
auto refreshed = item->createView(HistoryInner::ElementDelegate());
auto refreshed = item->createView(
HistoryInner::ElementDelegate(),
view);
auto blockIndex = indexInHistory();
auto itemIndex = view->indexInBlock();