levlam
|
b6a8624c60
|
Move DraftMessage to separate files.
GitOrigin-RevId: acf4722d7c1328ee4048f8ca162060923e0be6fe
|
2018-09-29 02:45:43 +03:00 |
|
levlam
|
4cf6aba717
|
Move MessageContent and InputMessageText implementations to corresponding files.
GitOrigin-RevId: d308007a3c850f1969b64a08865787ee7b340b34
|
2018-09-28 23:57:34 +03:00 |
|
levlam
|
362fc331c7
|
Add get_message_content_deleted_user_id.
GitOrigin-RevId: fe1c4db7920238eb623d5557277472af93523ca1
|
2018-09-28 19:22:30 +03:00 |
|
levlam
|
58b724c5c0
|
Add get_message_content_pinned_message_id.
GitOrigin-RevId: ab4fcbe42fdcb177575cdc167a446ea6b334f331
|
2018-09-28 19:16:03 +03:00 |
|
levlam
|
6539fbcff6
|
Add get_message_content_new_participant_count.
GitOrigin-RevId: b4c884cdd8d947af3a5a8a3263da2b3bc547be4d
|
2018-09-28 19:07:14 +03:00 |
|
levlam
|
d5683ee224
|
Static create_text_message_content.
GitOrigin-RevId: 9def379214c944dce0d42c2fcf08198a49ea1db5
|
2018-09-28 18:48:03 +03:00 |
|
levlam
|
c061da558b
|
Make create_input_message_content static.
GitOrigin-RevId: ca85aeed0a712ddaff7f44d14f75d119f0feb3b0
|
2018-09-28 17:50:02 +03:00 |
|
levlam
|
09beaef806
|
Make process_input_message_text static.
GitOrigin-RevId: 3e7989ecb8ba90da7324748022ebc77b3ebc7660
|
2018-09-28 17:39:07 +03:00 |
|
levlam
|
12a21587ab
|
Add MessagesManager::get_input_caption.
GitOrigin-RevId: 4145fde2f54092c358c49fc891707186cca277f3
|
2018-09-28 17:21:05 +03:00 |
|
levlam
|
bfde2f0e32
|
Add MessagesManager::create_input_message_content.
GitOrigin-RevId: e230e6c6069777e05dde34230492981846064646
|
2018-09-28 16:59:29 +03:00 |
|
levlam
|
99862b4834
|
Make create_inline_message_content static.
GitOrigin-RevId: 59768937beb97c7ecb0571f2a28b950e59fd9992
|
2018-09-28 13:57:56 +03:00 |
|
levlam
|
10e4f008b8
|
Return pointer from get_message_content_text.
GitOrigin-RevId: c1556ee6e58e13e574881585f889744c4be1d4a4
|
2018-09-28 05:09:28 +03:00 |
|
levlam
|
4451d8d2ed
|
Add add_message_content_dependencies.
GitOrigin-RevId: 10c2cafe4de13907cad62c7f5df55f008fffbc94
|
2018-09-28 04:29:55 +03:00 |
|
levlam
|
4597689060
|
Add Dependencies.h.
GitOrigin-RevId: 791b4dc804a8c0b734b027ff348b16bbfceede5c
|
2018-09-28 04:21:20 +03:00 |
|
levlam
|
144816b469
|
Add static {g,s}et_message_content_web_page_id.
GitOrigin-RevId: 98d95d47e0e1d01ed42be3eede01650474e138d9
|
2018-09-28 04:10:44 +03:00 |
|
levlam
|
cb9e935dee
|
Add static merge_message_content_file_id function.
GitOrigin-RevId: 0f43afe01427e71bb0496b877a857974148b1029
|
2018-09-28 03:38:45 +03:00 |
|
levlam
|
9b9ea5c58c
|
Implement on_update_sent_text_message using merge_message_contents.
GitOrigin-RevId: 823a468eb953686ce3ecbcbfe0eab78513aca36e
|
2018-09-28 03:15:12 +03:00 |
|
levlam
|
9ec9377815
|
Make more functions static.
GitOrigin-RevId: 70c3e1fee2af9620ef61e4d337ba8126ca41634c
|
2018-09-28 02:16:49 +03:00 |
|
levlam
|
8236bb8c0e
|
Seaprate static method for merge_message_contents.
GitOrigin-RevId: 7228109e708462483b73e46ed5dc60631f0e0420
|
2018-09-28 01:39:12 +03:00 |
|
levlam
|
02893fff41
|
Make most MessageContent-handling methods static.
GitOrigin-RevId: 31d8d7e25c835afbab2a65e649b2a533902b0223
|
2018-09-27 22:44:40 +03:00 |
|
levlam
|
c1f4e9d292
|
Make get_*_duration const.
GitOrigin-RevId: 85b5eb4cb221c2144318989d4d93b45784adcdf4
|
2018-09-27 21:14:32 +03:00 |
|
levlam
|
073541718d
|
Separate method for InlineQueriesManager::create_inline_message_content.
GitOrigin-RevId: 6ea0152a182ef09cc1960f1fd16b081c1654dc1e
|
2018-09-27 20:23:48 +03:00 |
|
levlam
|
6ac930139b
|
Const-correct unique_ptr.
GitOrigin-RevId: 938cf4b0261cfea123066ae1fc4197754da11e68
|
2018-09-27 19:51:45 +03:00 |
|
levlam
|
b3bae546ec
|
Various fixes.
GitOrigin-RevId: 52699dbd5280b63c6bb32da44ea5bfa3157a7922
|
2018-09-27 16:37:15 +03:00 |
|
levlam
|
f948956bf7
|
Use td::unique_ptr instead of std::unique_ptr whenever possible.
GitOrigin-RevId: 424beb72dc62efdefdbffb75f1036ba9417f84cb
|
2018-09-27 04:19:03 +03:00 |
|
levlam
|
83be04a5f4
|
Fix caching of passport secret.
GitOrigin-RevId: 72abee3b842afc5ef8f5e5c63322d89090b98909
|
2018-09-27 01:48:12 +03:00 |
|
levlam
|
875541b673
|
Fix misprints and improve logging and errors.
GitOrigin-RevId: d8a48fc5e5427a20fcfa932f928f37a58df2cdfd
|
2018-09-26 18:48:14 +03:00 |
|
levlam
|
eb4c85a797
|
Fix CE.
GitOrigin-RevId: 0bb7986447b8c9fcdc80b8caf1feb03f8a945d90
|
2018-09-26 03:54:37 +03:00 |
|
levlam
|
b7c2248c72
|
Add td_api::testSetLogTagVerbosityLevel method.
GitOrigin-RevId: 763fcf9156671857c71967741b9ce8c67f4a7ea0
|
2018-09-26 02:59:29 +03:00 |
|
levlam
|
a3b6aca07d
|
Speculatively update cached channel administrators.
GitOrigin-RevId: b30a7bbf1ec74a446bf77245772236b94be135cb
|
2018-09-25 18:32:39 +03:00 |
|
levlam
|
7b5e6b9362
|
Split td_api::getPassportAuthorizationForm into two requests.
GitOrigin-RevId: 77fc44704061109014b522d9396935ac47e4f6f9
|
2018-09-25 05:12:41 +03:00 |
|
levlam
|
81c0afafa3
|
Allow limit == -offset in getChatHistory.
GitOrigin-RevId: 8a050a75c0428304bb61c36a2c284b6309c6a8ea
|
2018-09-24 04:25:24 +03:00 |
|
levlam
|
86bc53bb0e
|
Fix usages of full_split.
GitOrigin-RevId: 17a750e4a9a7add83302694ad2e8771bf8ed6199
|
2018-09-23 02:46:09 +03:00 |
|
levlam
|
8610734232
|
Fix full_split.
GitOrigin-RevId: 0204740d8ba45faf9f2da5ddca7323c88287a160
|
2018-09-22 14:24:02 +03:00 |
|
levlam
|
9c9ee999c4
|
Simplify InlineQueriesManager::get_inline_message_content.
GitOrigin-RevId: bf32b2756b899513afa6d935820d5ad37d158267
|
2018-09-22 03:47:40 +03:00 |
|
levlam
|
a23d62905b
|
Better MessageContentType output to StringBuilder.
GitOrigin-RevId: f755a36dc462db448a7ca584f8e061b161d3defd
|
2018-09-22 02:29:33 +03:00 |
|
levlam
|
a4d5cc9419
|
Fix warnings.
GitOrigin-RevId: 19e068a8579356722d116a7646980cf580721b7a
|
2018-09-22 02:15:13 +03:00 |
|
levlam
|
b11542ce6a
|
Rename MessageContent.get_id() to get_type.
GitOrigin-RevId: 3f718e571537875b66c9886d71cfc5c66213c8a7
|
2018-09-22 00:51:29 +03:00 |
|
levlam
|
946b46ad8c
|
Strong typing for MessageContent type.
GitOrigin-RevId: b89a431f6252ec47ebf2c3653eafbf71abbd7678
|
2018-09-22 00:33:41 +03:00 |
|
levlam
|
f08c0180b4
|
Const-correct tl::unique_ptr.
GitOrigin-RevId: b72a92a7169973c2d95e410cfbfed668a412e7e7
|
2018-09-21 20:52:22 +03:00 |
|
levlam
|
dd9964ae3a
|
Don't crash on nullptr passed to td_json_client.
GitOrigin-RevId: b064ab5d839a5747d9bf1d289238fa77da219585
|
2018-09-21 16:41:22 +03:00 |
|
levlam
|
5322a65c1b
|
Remove unnecessary static_cast.
GitOrigin-RevId: df5259458cd0d8d4a1b72da6950ea39553979c68
|
2018-09-21 11:26:35 +03:00 |
|
levlam
|
1362f0bd0a
|
Make ContactsManager::get_current_state const.
GitOrigin-RevId: b86cb9e05bed37fff06c77f235fc3039c8626334
|
2018-09-21 10:34:15 +03:00 |
|
levlam
|
e086b4f740
|
Add MessagesManager::get_current_state.
GitOrigin-RevId: c5bcea8ae60503a50ab9707b61fcc082ebc89f79
|
2018-09-21 10:15:07 +03:00 |
|
levlam
|
8e0f49dc62
|
Support updateTermsOfService in getCurrentState.
GitOrigin-RevId: b12f653432e0ee5b9ed3c7a7e8cb39e6dec7800b
|
2018-09-20 23:08:55 +03:00 |
|
levlam
|
e1812c6531
|
Add AnimationsManager::get_current_state.
GitOrigin-RevId: 77349703eb55cf61b13941dba7bd513068c8519c
|
2018-09-20 22:38:19 +03:00 |
|
levlam
|
f9de09833c
|
Add StickersManager::get_current_state.
GitOrigin-RevId: 52c53d43d72150d297f2c511c0e49cb83d22b873
|
2018-09-20 22:25:09 +03:00 |
|
levlam
|
f8894dbff9
|
Add ContactsManager::get_current_state.
GitOrigin-RevId: 108cab6899368e264684aab79d488384be968e48
|
2018-09-20 21:37:35 +03:00 |
|
levlam
|
b2f9a33832
|
Send option "version" before all other updates.
GitOrigin-RevId: 6f9e36dd474ce191ff53a91aafeb95c8792aa300
|
2018-09-20 20:41:22 +03:00 |
|
levlam
|
db14b2da4e
|
Add dummy td_api::getCurrentState.
GitOrigin-RevId: 31ea0cfdc0c715fec52ef27340bed7358b13e042
|
2018-09-20 19:33:41 +03:00 |
|
levlam
|
2c5ce9591d
|
Fix td_api::setOption.
GitOrigin-RevId: d8974fa15c882d3a90ec9f5574f64c70957e547a
|
2018-09-20 15:07:01 +03:00 |
|
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
|
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
|
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
|
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
|
56f5f4e263
|
Simplify reader_wait and fix some includes.
GitOrigin-RevId: 32a91a6aa25934b2eeeddd99470a24871f38d219
|
2018-09-13 21:22:25 +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 |
|
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 |
|
levlam
|
f8568f0400
|
Fix some includes.
GitOrigin-RevId: 253f114339c6b05b08705c188df1cb4c917537d2
|
2018-09-12 06:26:05 +03:00 |
|
levlam
|
31333b5b7f
|
Fix warnings.
GitOrigin-RevId: 1b76215c3fdfd5a05581ab0122704b4e422de410
|
2018-09-11 22:28:10 +03:00 |
|
levlam
|
fd96a6722d
|
Add get_ipv4 test.
GitOrigin-RevId: fe8d79634d3d4e5114cc8b03b0a38d988923c2ba
|
2018-09-11 21:49:39 +03:00 |
|
levlam
|
c20e1612d8
|
Remove thread 4 from tg_cli.
GitOrigin-RevId: eca37443e076ab504e6be0f8852ae91049cf0bb3
|
2018-09-11 13:37:44 +03:00 |
|
Arseny Smirnov
|
25b209fec1
|
bugfix
GitOrigin-RevId: 85798ce644ab01e9123558d47b40eee865d5c6ca
|
2018-09-11 10:31:05 +03:00 |
|
levlam
|
9971b52b81
|
Make subscribe a static method of Scheduler.
GitOrigin-RevId: e80024cfa63a37fb9b64f514ac3407d4e97c7302
|
2018-09-11 01:20:41 +03:00 |
|
levlam
|
a165b42575
|
Minor fixes.
GitOrigin-RevId: 793bc74ee1c82b5a86e044be65e4be0e5ce00336
|
2018-09-10 21:45:34 +03:00 |
|
Arseny Smirnov
|
982369c495
|
BufferdStdin: support posix
GitOrigin-RevId: eac3b2429f6680fb6246fecefc8bed7b4c48bd14
|
2018-09-10 18:09:08 +03:00 |
|
levlam
|
00b4fe3bc3
|
Mark PollableFdInfo default members as deleted.
GitOrigin-RevId: c16b8d57ac94f67018209af78518db0b95697932
|
2018-09-10 15:42:46 +03:00 |
|
levlam
|
fc0cbae579
|
Fix some includes.
GitOrigin-RevId: 9b36a638202fb8b34e13494efd6b4a48ff7f4845
|
2018-09-10 04:08:15 +03:00 |
|
levlam
|
cfea83b4c5
|
Move set_is_blocking method to NativeFd.
GitOrigin-RevId: 09040e5993647fb6626917bd3b07421e9a717af3
|
2018-09-10 02:08:12 +03:00 |
|
levlam
|
fd90bf435e
|
A lot of fixes.
GitOrigin-RevId: c7c16991da51e09a685537a444385852e8e93af4
|
2018-09-07 03:41:21 +03:00 |
|
Arseny Smirnov
|
5923d6d41b
|
tg_cli works under windows
GitOrigin-RevId: 30810ab2d69390c5ec842cfffd686bfa2043ef59
|
2018-08-17 17:00:44 +03:00 |
|
Arseny Smirnov
|
bf15a5ac12
|
tg_cli works under posix
GitOrigin-RevId: 632e05de183a55b045f74e09ca8d41060f55ad41
|
2018-08-17 16:41:51 +03:00 |
|
Arseny Smirnov
|
8a28e4b461
|
Almost compiles
GitOrigin-RevId: aad536022caddba0446a761e7ab1f3b4ac64f53b
|
2018-08-14 10:42:40 +03:00 |
|
Arseny Smirnov
|
89fe455514
|
Support td_api::close and td_api::destroy in WaitParameters state
GitOrigin-RevId: dc2ab631b2ae4151eec285fcdc54e93d9838a7cc
|
2018-09-11 20:04:10 +03:00 |
|