John Preston
357caf8007
Keep separate MTP::Config's for separate accounts.
2020-06-23 21:53:41 +04:00
John Preston
91f50e8bdc
Move some more code to lib_mtproto.
2019-12-02 16:11:22 +03:00
John Preston
a16c6ca41a
Support more request types.
2019-10-01 23:59:46 +03:00
John Preston
6343221d7b
Remove many includes from stdafx.pch.
2019-09-06 19:31:07 +03:00
John Preston
c5df4db621
Fix possible race conditions in msgid().
2019-07-15 16:00:30 +02:00
John Preston
68b1024dd4
Sync local time with HTTP 'Date' header value.
2019-07-15 16:00:29 +02:00
John Preston
ce760f0534
Comment out App type in SpecialConfigRequest.
2019-06-07 18:43:06 +03:00
John Preston
a59353df9f
Fix possible crash in DomainResolver.
...
App::CallDelayed() could be queued twice for a single key, if before
the delayed call we cleared entry in _attempts and created it again.
2019-03-20 13:23:16 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
John Preston
dd81f5d59f
Replace base::lambda with shorter term.
...
base::lambda -> Fn (type alias for std::function).
base::lambda_once -> FnMut (type alias for base::unique_function).
base::lambda_guarded -> crl::guard.
base::lambda_call_type_t -> crl::deduced_call_type.
2018-06-04 18:38:27 +03:00
John Preston
f2a5a29d12
Alpha version 1.2.21: Fix build for Xcode.
2018-05-18 21:07:31 +03:00
John Preston
4478c0a143
Resolve domain names for proxy servers.
...
Also use dc_id-checked auth key creation.
Fixes #4695 .
2018-05-18 10:57:11 +03:00
John Preston
db7041f2dc
Send different dns requests for simple config.
2018-05-05 21:55:38 +03:00
John Preston
4bf66cb6e9
Better special config implementation.
2018-05-05 21:55:38 +03:00
John Preston
38c20fc3c2
Return one old way for requesting special config.
2018-03-20 18:21:36 +04:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
8ae159dd66
Add special dc options config request.
2017-06-29 11:40:07 +03:00