mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Add 'Use proxy for calls' option.
This commit is contained in:
@@ -568,6 +568,7 @@ struct Data {
|
||||
std::vector<ProxyData> ProxiesList;
|
||||
ProxyData SelectedProxy;
|
||||
bool UseProxy = false;
|
||||
bool UseProxyForCalls = false;
|
||||
base::Observable<void> ConnectionTypeChanged;
|
||||
|
||||
int AutoLock = 3600;
|
||||
@@ -692,6 +693,7 @@ DefineVar(Global, bool, TryIPv6);
|
||||
DefineVar(Global, std::vector<ProxyData>, ProxiesList);
|
||||
DefineVar(Global, ProxyData, SelectedProxy);
|
||||
DefineVar(Global, bool, UseProxy);
|
||||
DefineVar(Global, bool, UseProxyForCalls);
|
||||
DefineRefVar(Global, base::Observable<void>, ConnectionTypeChanged);
|
||||
|
||||
DefineVar(Global, int, AutoLock);
|
||||
|
Reference in New Issue
Block a user