mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-04 00:15:42 +00:00
Fix crash in support switches.
This commit is contained in:
@@ -3739,9 +3739,10 @@ void HistoryWidget::handleSupportSwitch(not_null<History*> updated) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
crl::on_main(
|
const auto setting = Auth().settings().supportSwitch();
|
||||||
this,
|
if (auto method = Support::GetSwitchMethod(setting)) {
|
||||||
Support::GetSwitchMethod(Auth().settings().supportSwitch()));
|
crl::on_main(this, std::move(method));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void HistoryWidget::inlineBotResolveDone(
|
void HistoryWidget::inlineBotResolveDone(
|
||||||
|
Reference in New Issue
Block a user