mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +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()
|
||||
? bot->botInfo->inlineReturnTo
|
||||
: Dialogs::EntryState();
|
||||
const auto history = to.key.history();
|
||||
const auto history = to.key.owningHistory();
|
||||
if (!history) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue