mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix switch-inline bot buttons in topics.
This commit is contained in:
parent
856c537335
commit
8dcb69ccdd
1 changed files with 1 additions and 1 deletions
|
@ -1782,7 +1782,7 @@ bool HistoryWidget::notify_switchInlineBotButtonReceived(const QString &query, U
|
||||||
const auto to = bot->isBot()
|
const auto to = bot->isBot()
|
||||||
? bot->botInfo->inlineReturnTo
|
? bot->botInfo->inlineReturnTo
|
||||||
: Dialogs::EntryState();
|
: Dialogs::EntryState();
|
||||||
const auto history = to.key.history();
|
const auto history = to.key.owningHistory();
|
||||||
if (!history) {
|
if (!history) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue