mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
@@ -195,11 +195,8 @@ void ApiWrap::refreshProxyPromotion() {
|
||||
getProxyPromotionDelayed(now, next);
|
||||
return;
|
||||
}
|
||||
const auto proxy = Global::UseProxy()
|
||||
? Global::SelectedProxy()
|
||||
: ProxyData();
|
||||
const auto key = [&]() -> std::pair<QString, uint32> {
|
||||
if (!Global::UseProxy()) {
|
||||
if (Global::ProxySettings() != ProxyData::Settings::Enabled) {
|
||||
return {};
|
||||
}
|
||||
const auto &proxy = Global::SelectedProxy();
|
||||
|
Reference in New Issue
Block a user