Commit Graph

1241 Commits

Author SHA1 Message Date
levlam
4b2e3619f7 Use fail_send_message directly if possible.
GitOrigin-RevId: f537f3f2517a7775d5714e38b57a7ce11b2042f6
2018-09-19 19:59:23 +03:00
levlam
91950e9452 Fail to forward old messages after restart.
GitOrigin-RevId: 948954d3f6b9e3c7c4a8479233c95115cc676620
2018-09-19 19:43:01 +03:00
levlam
dccef30582 Automatically fail to resend very old messages.
GitOrigin-RevId: 6c39972e266b8be8be74f25de63a0008317de42e
2018-09-19 19:18:10 +03:00
levlam
29e65aab4a Add file_index to td_api::passportElementErrorSourceFile.
GitOrigin-RevId: d77d21361dfece0867bfe880d93aa9c8a2898ac9
2018-09-19 03:00:29 +03:00
levlam
900eab129b Make Binlog helper template functions non-static.
GitOrigin-RevId: db82e3468f8bf3e1bd0835721c57a72c97a0b859
2018-09-19 01:35:45 +03:00
Arseny Smirnov
ef7b70338e Fix emscripten build
GitOrigin-RevId: 68db203083f4a5e242b3f8efb2e7e86fa31f70bb
2018-09-18 18:13:19 +03:00
Arseny Smirnov
2766e7d16b emscripten: td_get_timeout
GitOrigin-RevId: 920dac2d11ed999019e7faafe47cadf96d06900f
2018-09-18 16:43:16 +03:00
levlam
66d5c69453 Make dates parser more flexible.
GitOrigin-RevId: 470fa8cec93b036ae586ba390a14ed6b3dd1149c
2018-09-17 21:49:26 +03:00
levlam
7c447551fb Add enabled_proxy_id option.
GitOrigin-RevId: 3153f71d13740429a9153205e96329e49e82b91f
2018-09-17 21:15:11 +03:00
levlam
144b46ec3b Fix Address.postal_code to/from JSON.
GitOrigin-RevId: 757d34d4c79023a9c1503b8075f0a0471673a87f
2018-09-17 21:07:26 +03:00
levlam
e1415facf2 Allow to call getStorageStatistics before authorization.
GitOrigin-RevId: f801124c6e2646a165a1951598efcba71cc1cc38
2018-09-17 20:48:05 +03:00
levlam
2d05be04dd Follow new server-side limits on first/last name and title length.
GitOrigin-RevId: 89fe4eb85c42859974142fd163ea9fd062fde459
2018-09-17 07:00:19 +03:00
levlam
10063f39f4 Fix inheritors of TdCallback.
GitOrigin-RevId: a356594a86e79118dc32b1a09b0c4747dd331c59
2018-09-15 19:33:27 +03:00
levlam
b480409927 Do not allow changing of some options by unauthorized users or bots.
GitOrigin-RevId: 0a86c99779a8df3e300ae798c0e0f46b1c7fe813
2018-09-15 15:52:03 +03:00
levlam
559b20840a tg_cli: support for proper closing.
GitOrigin-RevId: 904b5a87c64bdd2d097a8a81f7c39bd31063097b
2018-09-15 15:24:25 +03:00
levlam
5dfeb9adf4 Fix CE.
GitOrigin-RevId: 762719f8093a862b93bd77c1e8e28d7feb4486e0
2018-09-14 23:03:26 +03:00
levlam
47bf1bf060 Remove explicit inline specifier on template functions.
GitOrigin-RevId: 196841ba4ace538853e42f8e1be908f6d6f38b00
2018-09-14 21:41:03 +03:00
levlam
c081f6c79c Rename scheduler_ field to concurrent_scheduler_.
GitOrigin-RevId: c760e0fab2ed8c1d93d32260f4a1d9b9b70359d9
2018-09-14 21:40:33 +03:00
levlam
7b2684b3ed Add "me" to example.
GitOrigin-RevId: 945f8ca30b3ca9f8667d4f481d5bd7070c9b2fcd
2018-09-14 21:03:36 +03:00
Arseny Smirnov
da118270bd Remove TdCallback::on_closed
GitOrigin-RevId: e08d6c10e4147c39f2d6f5ea795f92875644f1a7
2018-09-14 19:58:13 +03:00
levlam
03a11bc2ec Client improvements.
GitOrigin-RevId: 85b45a31fbb7b7b84a87d3951086332d750de01c
2018-09-14 19:35:34 +03:00
Arseny Smirnov
5ee113439f Simplify Client.cpp
GitOrigin-RevId: 1a109f7f08dc73123b5d4fb7bfb4c75c19419f9b
2018-09-14 16:14:40 +03:00
levlam
7e2053fcf5 Fix some includes.
GitOrigin-RevId: 3e3323045c44976ceea99b218d6806d3c836bbf2
2018-09-14 01:00:21 +03:00
levlam
02eff935ec Remove legacy declarations.
GitOrigin-RevId: d2dcb086a609b2f11cf9476b7e4b9ca8d63c9fe0
2018-09-13 23:08:13 +03:00
levlam
0d40ecd40b Make function static.
GitOrigin-RevId: 6adf0dfbc3da005e9f6cd77a26621230a5fc37cd
2018-09-13 23:07:30 +03:00
levlam
95808d2230 Add debug.
GitOrigin-RevId: dc68c9353478ff31fb9ffdfade356c3770b6fbc4
2018-09-13 23:06:59 +03:00
levlam
b4a287068f Remove InputQueue from Client.
GitOrigin-RevId: f3e4a39b13c99926e9f75b4f9b678a30c6150ac8
2018-09-13 22:42:03 +03:00
levlam
0a2191e6fd Fix rmrf CE.
GitOrigin-RevId: a19461f482d3aaa5d61dbdbc0796bc6c82bb260f
2018-09-13 21:50:23 +03:00
levlam
56f5f4e263 Simplify reader_wait and fix some includes.
GitOrigin-RevId: 32a91a6aa25934b2eeeddd99470a24871f38d219
2018-09-13 21:22:25 +03:00
levlam
3745cec3cb Pass std::function as callback in walk_path.
GitOrigin-RevId: 80da4073e3b1d7d2b2b136efecac8b26a774157b
2018-09-13 20:41:26 +03:00
levlam
0e7fdac841 Fix FileLog under UWP.
GitOrigin-RevId: 4e3f01195c9980922f05e5b92f3b8eea940bdbf8
2018-09-13 14:26:22 +03:00
Arseny Smirnov
02e83aad78 EventFd: wait
GitOrigin-RevId: 1ae5d1c3d1316a7c5a868c4246b406182915b399
2018-09-13 16:27:09 +03:00
Arseny Smirnov
9225edd757 Fix Client.cpp
GitOrigin-RevId: bf4de7283b1d5a4b230c20cae1f7b0d2bb89c919
2018-09-13 14:55:55 +03:00
Arseny Smirnov
63ffada352 Fix tests
GitOrigin-RevId: 829b0485d9b1eebc6e53f7d1f035bd702187fdf9
2018-09-13 13:26:14 +03:00
levlam
86ef95e0a8 Fix CE and some includes.
GitOrigin-RevId: e181d67a6ed36c9cbd444cf2282902b6a90881be
2018-09-13 06:08:49 +03:00
levlam
f207b1eed4 Update version to 1.3.1.
GitOrigin-RevId: 2311e7c80565133d1d95cdf92dd234232ee5c88b
2018-09-13 03:15:06 +03:00
levlam
ed33e23c40 Make pread and DataView const.
GitOrigin-RevId: 4267ba93a1e83be55361c9f284f717151eb740cd
2018-09-13 03:12:40 +03:00
levlam
a4f98024a0 Add date to user profile photos.
GitOrigin-RevId: 70ed9117d9cfc5a0e0db4746e645f2e704599a1b
2018-09-12 23:59:10 +03:00
levlam
78bd4b0447 Fix setting online before setTdlibParameters.
GitOrigin-RevId: f8a1038415100667de798e88fb484d850aa2da32
2018-09-12 22:51:34 +03:00
levlam
f7405f8f86 Fix invalidating of chat invite links.
GitOrigin-RevId: d32dc810da18f379ad95b1d0ed07f0acdb2af700
2018-09-12 22:30:25 +03:00
levlam
9073ce4570 Do not add local photo sizes if photo could be changed.
GitOrigin-RevId: 6c19826a4c64a391a9254f261712529493fbe18c
2018-09-12 20:35:22 +03:00
Arseny Smirnov
16b2c5969d Fix walk_path. Test works
GitOrigin-RevId: c09c177e1e6a85efce931c0eb1e59d2aab3a4042
2018-09-12 15:24:21 +03:00
Arseny Smirnov
f72bcd230f Update test for walk_path. It is CE now
GitOrigin-RevId: 850f17f25c3f1e8e3b63fc93936455883be35c4f
2018-09-12 15:07:54 +03:00
levlam
f8568f0400 Fix some includes.
GitOrigin-RevId: 253f114339c6b05b08705c188df1cb4c917537d2
2018-09-12 06:26:05 +03:00
levlam
90888e3b98 Remove rest of Fd.cpp.
GitOrigin-RevId: 8f6696a0092eb200a7ed4bb7e4fcd4b36886ac1d
2018-09-12 04:58:49 +03:00
levlam
d2171a77e1 Fix StdStreams initialization in UWP.
GitOrigin-RevId: 3f916079a8ad17eeec7a02c7caeb2e0f143f2341
2018-09-12 04:53:04 +03:00
levlam
1832683ec0 Fix walk_path.
GitOrigin-RevId: 8461f7331f565dd257794f91953e500d7f1986bc
2018-09-12 03:21:23 +03:00
levlam
31333b5b7f Fix warnings.
GitOrigin-RevId: 1b76215c3fdfd5a05581ab0122704b4e422de410
2018-09-11 22:28:10 +03:00
levlam
2f90c47d03 Add explicit walk_path test.
GitOrigin-RevId: ec04003641d149168abe0b8c09af056ce50f48b6
2018-09-11 22:17:01 +03:00
levlam
fd96a6722d Add get_ipv4 test.
GitOrigin-RevId: fe8d79634d3d4e5114cc8b03b0a38d988923c2ba
2018-09-11 21:49:39 +03:00