2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 22:55:11 +00:00

Support tg://proxy links.

This commit is contained in:
John Preston
2018-04-27 20:16:50 +04:00
parent dc9483e07a
commit 8e99135f37
7 changed files with 45 additions and 10 deletions

View File

@@ -236,6 +236,10 @@ namespace {
_MsStarter _msStarter;
}
bool ProxyData::ValidSecret(const QString &secret) {
return QRegularExpression("^[a-fA-F0-9]{32}$").match(secret).hasMatch();
}
namespace ThirdParty {
void start() {