mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix crash in sending games from inline bots.
Regression was introduced in 2d1fb0562d
.
This commit is contained in:
parent
eb29b6bffe
commit
10f1ae152d
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ not_null<HistoryItem*> SendGame::makeMessage(
|
||||||
const Result *owner,
|
const Result *owner,
|
||||||
not_null<History*> history,
|
not_null<History*> history,
|
||||||
HistoryItemCommonFields &&fields) const {
|
HistoryItemCommonFields &&fields) const {
|
||||||
return history->addNewLocalMessage(std::move(fields), _game);
|
return history->makeMessage(std::move(fields), _game);
|
||||||
}
|
}
|
||||||
|
|
||||||
QString SendGame::getErrorOnSend(
|
QString SendGame::getErrorOnSend(
|
||||||
|
|
Loading…
Add table
Reference in a new issue