mirror of https://github.com/procxx/kepka.git
Fix crash in support switches.
This commit is contained in:
parent
92f6949ecc
commit
c522e047c6
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue