Post-merge fixes
This commit is contained in:
parent
76eb907aba
commit
b19ea0c1e8
4 changed files with 6 additions and 10 deletions
|
|
@ -28,4 +28,4 @@ Expect a lot of breaking changes.
|
|||
[//]: # (LINKS)
|
||||
[telegram_desktop]: https://desktop.telegram.org
|
||||
[telegram_desktop_readme]: https://github.com/telegramdesktop/tdesktop/blob/dev/README.md
|
||||
[docs_ubuntu_16]: https://github.com/kotatogram/kotatogram-desktop/blob/dev/docs/building-cmake-ktg.md
|
||||
[docs_ubuntu_16]: https://github.com/kotatogram/kotatogram-desktop/blob/dev/docs/building-cmake-ktg.md
|
||||
|
|
|
|||
|
|
@ -39,11 +39,11 @@ rpl::producer<TextWithEntities> Text2() {
|
|||
lt_gpl_link,
|
||||
rpl::single(Ui::Text::Link(
|
||||
"GNU GPL",
|
||||
"https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE")),
|
||||
"https://github.com/kotatogram/kotatogram-desktop/blob/master/LICENSE")),
|
||||
lt_github_link,
|
||||
rpl::single(Ui::Text::Link(
|
||||
"GitHub",
|
||||
"https://github.com/telegramdesktop/tdesktop")),
|
||||
"https://github.com/kotatogram/kotatogram-desktop")),
|
||||
Ui::Text::WithEntities);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -9,10 +9,10 @@ using "basic.style";
|
|||
using "dialogs/dialogs.style";
|
||||
using "ui/widgets/widgets.style";
|
||||
|
||||
minPhotoSize: 100px;
|
||||
minPhotoSize: 200px;
|
||||
minVideoSize: 160px;
|
||||
maxMediaSize: 430px;
|
||||
maxStickerSize: 256px;
|
||||
maxStickerSize: 128px;
|
||||
maxGifSize: 320px;
|
||||
maxVideoMessageSize: 240px;
|
||||
maxSignatureSize: 144px;
|
||||
|
|
|
|||
|
|
@ -49,10 +49,7 @@ constexpr auto kUserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) "
|
|||
|
||||
const auto &DnsDomains() {
|
||||
static auto result = std::vector<QString>{
|
||||
qsl("google.com"),
|
||||
qsl("www.google.com"),
|
||||
qsl("google.ru"),
|
||||
qsl("www.google.ru"),
|
||||
qsl("dns.google.com"),
|
||||
};
|
||||
return result;
|
||||
}
|
||||
|
|
@ -327,7 +324,6 @@ void SpecialConfigRequest::performRequest(const Attempt &attempt) {
|
|||
url.setQuery(qsl("name=%1&type=ANY&random_padding=%2"
|
||||
).arg(Global::TxtDomainString()
|
||||
).arg(GenerateRandomPadding()));
|
||||
request.setRawHeader("Host", "dns.google.com");
|
||||
} break;
|
||||
default: Unexpected("Type in SpecialConfigRequest::performRequest.");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue