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

Fix build with GCC.

This commit is contained in:
John Preston
2022-07-19 22:32:15 +03:00
parent 45b875f1a1
commit b14b69272a
8 changed files with 3 additions and 12 deletions

View File

@@ -389,7 +389,6 @@ void ActivateBotCommand(
case ButtonType::SwitchInlineSame:
case ButtonType::SwitchInline: {
const auto session = &item->history()->session();
if (const auto bot = item->getMessageBot()) {
const auto fastSwitchDone = [&] {
const auto samePeer = (button->type