mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 08:55:59 +00:00
Fix inline bots with secondary usernames.
This commit is contained in:
@@ -493,10 +493,7 @@ InlineBotQuery ParseInlineBotQuery(
|
||||
result.lookingUpBot = true;
|
||||
}
|
||||
}
|
||||
if (result.lookingUpBot) {
|
||||
result.query = QString();
|
||||
return result;
|
||||
} else if (result.bot
|
||||
if (result.bot
|
||||
&& (!result.bot->isBot()
|
||||
|| result.bot->botInfo->inlinePlaceholder.isEmpty())) {
|
||||
result.bot = nullptr;
|
||||
|
Reference in New Issue
Block a user