2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Respect peer_types in the switch inline button.

Fixes #26274.
This commit is contained in:
John Preston
2023-05-24 19:36:58 +04:00
parent 8a99de16f6
commit 7877463468
7 changed files with 70 additions and 10 deletions

View File

@@ -117,7 +117,7 @@ void CheckForSwitchInlineButton(not_null<HistoryItem*> item) {
if (!windows.empty()) {
Api::SwitchInlineBotButtonReceived(
windows.front(),
QString::fromUtf8(button.data));
button.data);
}
return;
}