2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-01 15:15:13 +00:00

Add 'Use proxy for calls' option.

This commit is contained in:
John Preston
2018-05-07 00:29:53 +03:00
parent d2fa8ef0b0
commit 48c1576d7f
14 changed files with 201 additions and 66 deletions

View File

@@ -245,6 +245,10 @@ bool ProxyData::valid() const {
return true;
}
bool ProxyData::supportsCalls() const {
return (type == Type::Socks5);
}
ProxyData::operator bool() const {
return valid();
}