Commit Graph

805 Commits

Author SHA1 Message Date
levlam
3d05d44be8 Update layer to 85.
GitOrigin-RevId: 0a32bd0287e3d09dd484c8dbe230f29b92d19771
2018-08-10 19:39:48 +03:00
levlam
00fabb8f97 Update layer to 84.
GitOrigin-RevId: a2057596f00201ee967e7d038e048b618f6e629d
2018-08-10 16:22:48 +03:00
levlam
73aa76dc5f Pre-check DH parameters.
GitOrigin-RevId: 98a488559b95651eab0c43b747a1f1fae2b716a5
2018-08-09 23:41:01 +03:00
levlam
466ebd2908 Add DhHandshake::check_config method.
GitOrigin-RevId: 1f9bbd0539454c2e6acbfe3be514614985a2d713
2018-08-09 22:56:24 +03:00
levlam
c44361fb60 Add functions for getting BigNum parameters of DhHandshake.
GitOrigin-RevId: 7ad8d822f5d4c696769b5585b6fc6533ba56d0e0
2018-08-08 22:57:37 +03:00
levlam
cdecbe9b3e Add TODO.
GitOrigin-RevId: f195a07fe83d66e6b348291c7c497ce94425d748
2018-08-08 22:55:54 +03:00
levlam
b2ff3570c1 Use server specified random data,
GitOrigin-RevId: 7bb82f481b9095b3644b0d768e602976ed62d524
2018-08-07 22:43:29 +03:00
levlam
caa48e00ab Fix CE.
GitOrigin-RevId: 665876ce71338e0a0f31a4a846a9501cba613847
2018-08-06 20:29:40 +03:00
levlam
ee8d7a94ec Return custom language packs in getLanguagePackInfo.
GitOrigin-RevId: 77ef71acb97f85b4bf71c8966d8c0200e4b122d3
2018-08-06 20:18:28 +03:00
levlam
f1295eba9b Add more debug logging.
GitOrigin-RevId: 047dbe63624ba0e810b245689c305e600e0a87f2
2018-08-06 19:04:21 +03:00
levlam
ff593d2ce8 Properly fix resolving proxy IP.
GitOrigin-RevId: cb385b8d0753da6f76dcdb237b2001143a23c94f
2018-08-06 18:28:56 +03:00
levlam
7c145a412b Custom language packs support.
GitOrigin-RevId: e7f76319dae5be3e20f81b41a0226e5f96f91ba1
2018-08-06 17:22:22 +03:00
levlam
3616f205bb Add crash in get_saved_animations_hash debug.
GitOrigin-RevId: a4e2f469c4ddcb91101d93490bb1c6fade3837f7
2018-08-05 17:03:08 +03:00
levlam
f15105bd9a ADd more parse_sticker debug.
GitOrigin-RevId: bcec43b2720f9ea9c6c9d1bc8ab090186a7fd794
2018-08-05 16:20:35 +03:00
levlam
710c548015 Add more debug to get_message_id_by_random_id.
GitOrigin-RevId: 3a2d2acfceb1f6b5f78cc46a04fd3ffb2772d6a5
2018-08-05 01:29:53 +03:00
levlam
a82fbad806 Fix misprint.
GitOrigin-RevId: fbfa91572c5f42248ed3b12bf8ebb9979477c6c4
2018-08-05 00:52:52 +03:00
levlam
debb0cf186 Use online status in ConfigRecoverer.
GitOrigin-RevId: ffc119b35bd2a42a236de90e3393c325d36478a9
2018-08-05 00:35:50 +03:00
levlam
72d2235f6e Improve get_next_message_id.
GitOrigin-RevId: af978d83a85415439a6168964e7f05335c16b76d
2018-08-05 00:05:29 +03:00
levlam
b97570b817 Fix handling of some message contents in on_message_ttl_expired_impl.
GitOrigin-RevId: 1ad333a8f050f1d86bf769158a55f6cf113b66f3
2018-08-04 23:46:43 +03:00
levlam
2465356c2e Add some debug.
GitOrigin-RevId: 5d2387379188dce1fd52cc9561a349f87e4fc240
2018-08-04 23:08:36 +03:00
levlam
c9c2760173 Update layer to 83.
GitOrigin-RevId: 2220a0399ed081441fefc06069b06efa11b8447b
2018-08-04 09:55:49 +03:00
levlam
f162aa55ad Set error on invalid Dialog logevent.
GitOrigin-RevId: a1b91622061a1117b15d7e668c109f6bbe0a2469
2018-08-02 15:45:58 +03:00
levlam
b00a0b4ebb Add required actor name to MultiTimeout.
GitOrigin-RevId: 918ad6358dd5c0056452df5da694e8b94c63a47a
2018-08-01 20:31:20 +03:00
levlam
c01dcf9a99 Add temporary ignoring of duplicate user/channel log events.
GitOrigin-RevId: ecd17421d9f2c3591ce4a4d84970949954f8496e
2018-08-01 17:10:07 +03:00
levlam
986652a1ae Change Telegram Passport API object and function names.
GitOrigin-RevId: 8e7d3602146dab76f62aa86f7539187559d2ca92
2018-08-01 16:52:07 +03:00
levlam
e691803f21 More robust check_language_code_name.
GitOrigin-RevId: 43576730594d92b63eddc6c5408126a8bdf0c1f1
2018-08-01 02:34:59 +03:00
levlam
6dd751ab10 Fix duplicated stickers.
GitOrigin-RevId: 138fddeb69af48ce77a6e3005e7d356165b897f9
2018-07-31 23:48:54 +03:00
levlam
7626c1a6dc Add more get_stickers debug.
GitOrigin-RevId: dd0cef99c5866ed59f7f6db1a7e365b57b4e8d1e
2018-07-31 20:48:38 +03:00
levlam
d67645a2cb Add get_stickers debug.
GitOrigin-RevId: c82190d2e03712a2a716608fd5ab40b1908e023a
2018-07-31 20:17:46 +03:00
levlam
7706e8614b Fix get_dialog_mute_until.
GitOrigin-RevId: eb198090119d8d8be3716ac6765eed6f5e75cf16
2018-07-30 23:24:50 +03:00
levlam
b339257c89 Add add_local_message debug.
GitOrigin-RevId: 893cddc5a8388bf47eaaf62e1f9ec9dc1fe6bb45
2018-07-28 10:08:00 +03:00
levlam
10b7862dfd Add even more denug.
GitOrigin-RevId: 6b30a16e43b4278abe04ac8030d0b05aa23067b6
2018-07-27 18:47:51 +03:00
levlam
1ab13463bf Add td_api::editProxy.
GitOrigin-RevId: aae0664d65ce0731b1a9ede9615453cfe0822619
2018-07-27 18:10:45 +03:00
levlam
f0070c093a Fix some includes.
GitOrigin-RevId: abe527ca92b2136ee6a95b046ef53bdde32be6d5
2018-07-27 16:19:46 +03:00
levlam
5e6672ee26 Better HTTP max_wait calculation.
GitOrigin-RevId: 36a149e8d4a2b46ee5e2d23514a8a78d6ad696fc
2018-07-27 12:15:29 +03:00
levlam
8de0bcd0a6 Add support for HTTP-only HTTP proxies.
GitOrigin-RevId: 7b8e3e7afb0f26c8e8fa97b0ffff5d1ad0267b5c
2018-07-27 03:54:25 +03:00
levlam
a547f42886 Add support for transparent HTTP proxies.
GitOrigin-RevId: 5ae836625a60d1f84b0ca8df2c41bf07e8ba59fd
2018-07-26 16:49:18 +03:00
levlam
2ca3c7eeed Add TransparentProxy abstract class.
GitOrigin-RevId: 77ced69b5d87c17a1bbc6d654bb0206a4e32e69d
2018-07-26 03:28:02 +03:00
levlam
c63aaf7cde Add source to ttl_unregister_message.
GitOrigin-RevId: d25685de6cbb92569f29f22e111b612d76e4fcb9
2018-07-25 16:49:44 +03:00
levlam
cf1ece71a0 Do not return error for delete messages and close in closed secret chats.
GitOrigin-RevId: c63a155a6fe056dfcbe6204b5ca25de95eb1f23f
2018-07-25 16:21:53 +03:00
levlam
86c9234388 Fix can_delete_for_everyone flag in closed secret chats.
GitOrigin-RevId: 4db2dd4ac884d65c9f7f93a9dff19ee4f207766d
2018-07-25 02:59:05 +03:00
levlam
302d2aa671 Allow to delete messages without error in closed secret chats.
GitOrigin-RevId: 37304c857e2c634ce9f794be3ad7c8a1414c041e
2018-07-25 02:52:31 +03:00
levlam
ec1ae551d8 Better support for secret_api::decryptedMessageService8.
GitOrigin-RevId: f3d46446f2dd0ecd0c9b3630ffca6a5cacf6b075
2018-07-24 20:14:04 +03:00
levlam
09ad42fa82 Fix left chats in searchChatsOnServer.
GitOrigin-RevId: 304be4cf1be8e229532a4faa2115030b2d7250bd
2018-07-24 19:02:12 +03:00
levlam
88dae19d7e Remove unaccessible for reading chats from recent list.
GitOrigin-RevId: ac80c4d127f28fb72ef3cb44f15464ce72dd241f
2018-07-24 18:30:04 +03:00
levlam
3717a2b132 Do not use ScopeGuard to not unblock Client::receive by exception.
GitOrigin-RevId: e5ae94129923da1ea17688860c9d2295d7775b90
2018-07-24 18:20:59 +03:00
levlam
e171c6490f Fix updating ScopeNotificationSettings on server.
GitOrigin-RevId: 017ca08db0c37d951887e77a25484b71f838c5cd
2018-07-24 18:17:28 +03:00
levlam
2ffabd63ba Add some logging.
GitOrigin-RevId: f0529ad4470507d96a22d820b14e2f0358bbd81b
2018-07-24 18:03:04 +03:00
Arseny Smirnov
45754209d8 SecretChats: better closing
GitOrigin-RevId: b7112abe401a3375c9bbfc50969b606a4a65cec4
2018-07-24 12:43:37 +03:00
levlam
bd726dd4a2 Fix warning.
GitOrigin-RevId: 37d3ab8ee20d5fd4dc1e0b832847bd7effb19ff3
2018-07-24 03:13:24 +03:00
levlam
05810a11d4 Improve logging in replay secret chat events.
GitOrigin-RevId: 02e498c5a864d2acb5825dbe46f1f061306744e0
2018-07-24 02:23:59 +03:00
levlam
7fd2a81a38 Fix some secret chat actions on closing.
GitOrigin-RevId: 055965d9dd24f42c16826d18c88ef1205d9b808e
2018-07-24 01:45:44 +03:00
levlam
9882a8a619 Support decryptedMessageService8. Don't fail secret chat on closing.
GitOrigin-RevId: 627ea95e7994513d10aa19d026fc87170362e711
2018-07-24 00:12:53 +03:00
levlam
4717e5529a Add td_api::getLanguagePackString.
GitOrigin-RevId: 37ee2203264bb78ed3de88c21350a99212d89c3e
2018-07-23 20:29:14 +03:00
levlam
5e12e43b06 Load language pack strings from database.
GitOrigin-RevId: 47048d4712b6259d17a1dbadeb7b722d5dbbe809
2018-07-23 14:45:31 +03:00
levlam
a5cb3bfade Fix include.
GitOrigin-RevId: f8824dc7bbf597cc2535becf67ee2b8ba26cdf2b
2018-07-23 00:27:00 +03:00
levlam
7c183449a8 Save language packs to database.
GitOrigin-RevId: 2c40013068881e3170821585c25d29edcc78528c
2018-07-22 20:22:19 +03:00
Arseny Smirnov
a7c2a401b8 fix
GitOrigin-RevId: 20f47274a3545fe85c26067a650232fa6f87cdc4
2018-07-23 00:24:42 +03:00
Arseny Smirnov
8bd8f4a136 Client: check if Client::receive is called in a thread safe manner
GitOrigin-RevId: 6f2af0811b43d3e2d14177963e48dfd99853c6d2
2018-07-22 23:59:18 +03:00
levlam
9b6382d5d0 Check language_pack and language_code for validness.
GitOrigin-RevId: bc4907a06f74af8bdda9e8bdec82e7a3ce788580
2018-07-22 03:29:48 +03:00
levlam
77f3b9d400 Save only SqliteDb in LanguageDatabase.
GitOrigin-RevId: 7bac17996ad17d9e895a4fb21ed41d53f77a8539
2018-07-22 01:59:13 +03:00
levlam
e8f4c31586 Open language database.
GitOrigin-RevId: 9765471da4bae835d7159ca90aa99106a251b654
2018-07-20 20:50:38 +03:00
levlam
92c04286e3 Add language_pack_database option.
GitOrigin-RevId: 99f4b3f75f396d5b25287f4a98bae2dfdda9df00
2018-07-20 16:15:19 +03:00
levlam
846ecc89a7 Fix documentation.
GitOrigin-RevId: 7540e43da08e932e98acd99ce8fe64faf66606e4
2018-07-20 03:02:55 +03:00
levlam
15828a2329 Add members filter to searchChatMembers.
GitOrigin-RevId: 8d553d6c73e32446eaa7e6ebb5bdf562458d258d
2018-07-20 03:00:17 +03:00
levlam
28672b750c Fix CE.
GitOrigin-RevId: 4b8004a7f4b920deac9f069bac03ef7784fc5670
2018-07-19 17:45:30 +03:00
levlam
fc966adca9 Add exclude_secret_chats parameter to clearAllDraftMessages.
GitOrigin-RevId: 7b08fe3e954d9e361d7e20c4341575e2101e6dbc
2018-07-19 17:23:18 +03:00
levlam
460675316c Add td_api::getChatMessageCount method.
GitOrigin-RevId: f2257074e276e12084b43a63db17f852fb5f500e
2018-07-19 16:58:09 +03:00
levlam
c87fd6e7ee Update documentation,
GitOrigin-RevId: 4ba39bfec9053afb32185eb93e4c1b8140c085f9
2018-07-19 02:17:14 +03:00
levlam
7b656da0c8 Get dialog unread marks only after getDifference.
GitOrigin-RevId: a0c12f5d4ed032c4e221945130f3c487bae101c0
2018-07-19 01:33:04 +03:00
levlam
6ca79487e2 Clear language pack info when all language pack managers are closed.
GitOrigin-RevId: 2c08722e00ae6209fb90f912b9265ce30bc3aad6
2018-07-19 01:14:20 +03:00
levlam
f25bcd8d70 Remove unnecessary semicolons after namespace end.
GitOrigin-RevId: bf290001b072fd390fe2cada06722a3b90309cca
2018-07-18 04:30:29 +03:00
levlam
46ebd1b240 Include SqliteKeyValue only in cpp.
GitOrigin-RevId: b89c988f6da1d480f68ecb71ef5390e9376faac1
2018-07-18 04:11:48 +03:00
levlam
b0dfc088ae Fix CE.
GitOrigin-RevId: 6117160e2ee0045bb0c7dc8e3e048a5aae2626f1
2018-07-17 16:49:57 +03:00
levlam
1aa94575e8 Minor fixes.
GitOrigin-RevId: 33b0f159e7003d7b9dce28033a7e90169a9421bc
2018-07-17 14:27:24 +03:00
levlam
4594885e61 Update layer 82: chatReportReasonCopyright, clearAllDraftMessages.
GitOrigin-RevId: 79d9adf61a17b11996eeecfa94c205d1cdc34a51
2018-07-17 06:46:27 +03:00
levlam
e819a0ed56 Support for language pack updatimg. td_api::updateLanguagePack.
GitOrigin-RevId: edc3bf65914b73d168d33eea38ff05cc2efd80ec
2018-07-17 05:58:34 +03:00
levlam
ec2f70cb19 Return debug in on_message_ttl_expired_impl.
GitOrigin-RevId: b82816793bf1a142757b65b54396796cad5efe63
2018-07-16 06:08:57 +03:00
levlam
bdbe8f990c Add more debug.
GitOrigin-RevId: cfc7b2526233caa5beb2a1ed3d145224354ba3ae
2018-07-15 12:29:28 +03:00
levlam
091c2fdf44 Improve documentation.
GitOrigin-RevId: 3ecbb6d86f53c299a55b0f0f6ed09741358db289
2018-07-15 11:48:24 +03:00
levlam
8e1667281e Add get_message_by_random_id debug.
GitOrigin-RevId: 77fe532243e1a6bb065ca25e65900852e66100a0
2018-07-15 11:47:57 +03:00
levlam
c6665dc30e Add timeout on call key exchange.
GitOrigin-RevId: 3fc6d5e90493188ff3ae18b19e60d36bcdad9746
2018-07-13 05:06:04 +03:00
levlam
bae9ccf76b Abort requestCall when receive error/discard call.
GitOrigin-RevId: 7a3a5b52c66e206739a5f4442bbe6cdbb82d32f3
2018-07-13 02:43:57 +03:00
levlam
e9066f09ce Fix misprint.
GitOrigin-RevId: 9cea95112e12fd73faa10da098351fe2d0fe6ca8
2018-07-12 17:44:22 +03:00
levlam
f57ebd9d26 Mention message_*_length_max options in the documentation.
GitOrigin-RevId: 07ac7f75bdb78e7e84e3fe3015b675dcb6bbce63
2018-07-12 03:54:22 +03:00
levlam
1a82e6d3f1 Add default values for message_text_length_max and message_caption_length_max options.
GitOrigin-RevId: 4f2d3d087d17ec5e7aeb62933c5525a7e12d6ca7
2018-07-12 03:50:58 +03:00
levlam
e72368d208 Add more debug logging to calls handling.
GitOrigin-RevId: 38a4864b7018a67194f517dfbfc806c90ca79a0f
2018-07-11 23:37:40 +03:00
levlam
15ac0f9c47 Return some debug.
GitOrigin-RevId: 14ee37ad972013a1b9da22d07f83c372874ba585
2018-07-10 21:02:44 +03:00
levlam
3f63b15a9b Add more debug.
GitOrigin-RevId: 2c90e851b9ac93ef7398c030f58e192854247058
2018-07-10 20:49:59 +03:00
levlam
8501dbedf8 Fix check_dialog_username.
GitOrigin-RevId: 47dd0a62c10f0bc8e91748f8197676f7b72aab2e
2018-07-10 16:56:37 +03:00
levlam
1a65b79a69 Remove unused Client::on_notify.
GitOrigin-RevId: 908dec690d3745fa9d0a75b81b6f1f5a6d7b19ab
2018-07-09 22:12:45 +03:00
levlam
de557cbc3d Fix Message.can_be_edited flag.
GitOrigin-RevId: c17a38381a629c8ede1729241fea88bb12e67a8b
2018-07-09 16:14:21 +03:00
levlam
71069a4667 Delete unused default members from Client::Impl.
GitOrigin-RevId: 5d5afa0b5df874d0ab2c8b156723955568fcf24f
2018-07-09 02:36:44 +03:00
levlam
e0c7e0b930 Add TextUrl messages to Shared Links.
GitOrigin-RevId: bc2d5f952a792cb3c863b9e4093bce335a143cc9
2018-07-08 18:20:13 +03:00
levlam
ecc774367b Add add_channel source debug.
GitOrigin-RevId: 9785f3f33bf7cd55650b9874e6167620e2a6ce85
2018-07-08 16:32:05 +03:00
levlam
e2a90b9edf Fix some string to Slice conversions.
GitOrigin-RevId: 79ddee1a90c633cc1b1df5c8e3d9917027bad0f3
2018-07-08 02:47:46 +03:00
levlam
1ab40c7278 Better get_first_url.
GitOrigin-RevId: d153fcd3291758f29a99421f42c1193a51cc248b
2018-07-07 18:01:20 +03:00
levlam
05aab44742 Fix CHECK.
GitOrigin-RevId: 08037c7315fc89e8504dc935848f78e4b1afbe3d
2018-07-07 17:07:16 +03:00
levlam
145c55ad12 Force get channel difference if receive new message id evidence.
GitOrigin-RevId: 4c2f7cf65687e99d7fbf10a7ebf514fead9485bd
2018-07-07 05:18:50 +03:00
levlam
8e75107bf5 Allow ordinary users to edit messages with reply markup.
GitOrigin-RevId: 1c526e779dfada1266f737277aceda5347dc6355
2018-07-07 03:03:01 +03:00