Commit Graph

921 Commits

Author SHA1 Message Date
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
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
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
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
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
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
levlam
099f66bbed Fix CE.
GitOrigin-RevId: d57e0ccbe66e9a1c13f9d43bbaef3b94c7da1b45
2018-07-06 23:44:42 +03:00
levlam
90f0f006b4 Check that storer unsafe doesn't overflows.
GitOrigin-RevId: ffbdcbbba7d26688b59cda00318d02fc06e402dc
2018-07-06 23:33:11 +03:00
levlam
4c404f3a68 Drop dialog unread counter when viewMessages is called.
GitOrigin-RevId: 0f6f4cfaaf6575383d0d0dcb4c5d3f71ca5c44bb
2018-07-06 03:10:50 +03:00
levlam
3a2ef50f91 Save only one copy of a key in a language pack.
GitOrigin-RevId: dc6446d597b90be974d7b18cadd2a79a0f0bd4ae
2018-07-06 02:42:25 +03:00
levlam
08db51cdce In-memory thread-safe cache for language pack strings.
GitOrigin-RevId: 71dc10a925f1000590501c4ddfc307806e242e51
2018-07-05 21:28:11 +03:00
levlam
f3aaff1e1a Pass language_pack, language_code and language_pack_version to LanguagePackManager.
GitOrigin-RevId: ba4be396d4da14a3169544d25ccb9850dbb9077a
2018-07-05 03:52:58 +03:00
levlam
f3f26b0783 Ignore message views when forward header isn't added.
GitOrigin-RevId: 41d611e4b2103a72802786c49e370624d9c30bee
2018-07-04 22:00:13 +03:00
levlam
321df81ebb Trying to repair broken Dialog, received from database.
GitOrigin-RevId: 39a0bc85a5edb557b598ac0486d287f0eb332aed
2018-07-04 19:55:54 +03:00
levlam
deecdb66bc Fix some td/actor/ includes.
GitOrigin-RevId: f9cf960b96018c4eb6169d2ec6cb5d3fbc16c0ec
2018-07-03 22:29:04 +03:00
levlam
b28ec40407 LanguagePackManager draft. getLanguagePack, getLanguagePackStrings methods.
GitOrigin-RevId: 959e1fd4a76eb5005d8a53c3e88abb3054fb9a5e
2018-07-03 20:28:00 +03:00
levlam
60c5b21ccb Add slightly more debug.
GitOrigin-RevId: 9f9bdbd8274b8c69134c1e85aef76f58501e9339
2018-07-03 02:49:43 +03:00
levlam
007c4cbc57 Move logging to INFO.
GitOrigin-RevId: 7369b95bcd6480731443925490459ab828a5b056
2018-07-03 02:34:47 +03:00
levlam
de7160f890 Make some arrays const.
GitOrigin-RevId: 6c7f0cf45fdc6736defb1559674242e1f1f29c91
2018-07-03 02:28:28 +03:00
levlam
4ebc21fe3d Get stickers_limit on construction.
GitOrigin-RevId: cb44a40f6dd47238bfeccc20d03171126fa87bd4
2018-07-03 02:10:57 +03:00
levlam
b4f72859d7 Better is_internal_config_option.
GitOrigin-RevId: 656dc4f1cd41f1a25da5fae8d13da9ac24d26c0d
2018-07-03 01:59:25 +03:00
levlam
296950f1cf Add suggested_language_code option.
GitOrigin-RevId: 67472e28774cb506f11687d0ac86b24cb707dfc9
2018-07-03 01:52:43 +03:00
levlam
9575ed5fbd Support language_pack in MTProto header.
GitOrigin-RevId: 75238791e517694bb3f430973e0d2556127f6bdd
2018-07-02 23:44:23 +03:00
levlam
9c8a6f9c65 Better MTProto header updates.
GitOrigin-RevId: f7df4c8259c286b699e27a7e33f2477515c6e798
2018-07-02 23:36:45 +03:00
levlam
dcdbf6854b Add is_dialog_muted function.
GitOrigin-RevId: caf78597b4711273e26f21b4276a3a604395b387
2018-07-02 04:21:18 +03:00
levlam
1e62b66677 Fix get_simple_config.
GitOrigin-RevId: f913ca35a86e2b45d4de510772a487e5689b5a59
2018-07-02 04:21:05 +03:00
levlam
db48e0abac Add updateUnreadChatCount.
GitOrigin-RevId: 151d11964c23443da8a975d32e343226e650bb9d
2018-07-02 04:02:30 +03:00
levlam
ac1d7a9657 Add prefer_ipv6 option.
GitOrigin-RevId: b20e8c699e20c4fb6ec76cd53aeaeee509cd2115
2018-07-01 17:19:59 +03:00
levlam
5a11dd6c58 Support prefer_ipv6 in Wget.
GitOrigin-RevId: 80740a20f38174235160e05b1854e7023ebe3677
2018-07-01 04:45:25 +03:00
levlam
9b0a138dd1 Add prefer_ipv6 parameter tp GetHostByNameActor.
GitOrigin-RevId: 727fc30d94657399f1e49efc208b6951a7677d2f
2018-07-01 04:12:20 +03:00
levlam
06481d89dd Fix G()-shared_config() usage.
GitOrigin-RevId: f372b36b83238ab2415c16e3fbd7bd5597b876b4
2018-06-30 16:35:37 +03:00
levlam
4fb3506792 Safe conversion to user_id in get_link_user_id.
GitOrigin-RevId: 3f0f81deef264b4b0a193cc18ef5bb344490751d
2018-06-30 02:51:13 +03:00
levlam
cfd1761a00 Use static IPs only for IPv4 Socks5 proxies.
GitOrigin-RevId: 797d7acdd16323bb61e15b67c13ada216abe31f1
2018-06-29 20:36:27 +03:00
levlam
139a858d80 Use CREATE_OK_REQUEST_PROMISE instead of simple RequestOnceActor.
GitOrigin-RevId: 7ba8db1c05ed06b9824e482ba6c12024c5a0106d
2018-06-29 00:06:17 +03:00
levlam
2f60d194cb Fix formatting.
GitOrigin-RevId: d9c6ce7fd301a1871fea0f1b19ffdeae8328edfb
2018-06-28 22:20:48 +03:00
levlam
0cd2e5be7e Remove CREATE_PROMISE parameter.
GitOrigin-RevId: b22c06169678c8bd147c05ee812d00ebb0696fdd
2018-06-28 22:17:38 +03:00
levlam
b301a35fce Add some CHECKs.
GitOrigin-RevId: 8959575d05c189d0a3e65e44a81d9e6954fe0a9e
2018-06-28 18:25:33 +03:00
Arseny Smirnov
80d4292493 BinlogHelper:: -> binlog_
GitOrigin-RevId: 94cf4585c4f61be2929c5a7cd1a3628b911bc4c5
2018-06-28 16:52:40 +03:00
levlam
05bb41b250 Rename Socks5 actor for ping.
GitOrigin-RevId: 6e41fef4b451feffa6376e6cc61fec434270e78d
2018-06-28 16:53:40 +03:00
levlam
002f4e31b0 Fix warning.
GitOrigin-RevId: c54303ab305fec0f7b30a5d231688add912b97d0
2018-06-28 16:50:43 +03:00
levlam
2a35816992 Fix warning.
GitOrigin-RevId: a2f981b2fb1a90947603c5cbdfcc95315c515987
2018-06-28 02:50:46 +03:00
levlam
4f1962f43d Fix CE.
GitOrigin-RevId: 33fdbcad74a216e804c22e7508591b5b42f5ff40
2018-06-28 02:45:06 +03:00
levlam
995928743f Increase generation just in case.
GitOrigin-RevId: 92f24329c8b10f321c514646627f198bb5e85045
2018-06-28 02:38:33 +03:00
levlam
c40cacfa34 Marked as unread support.
GitOrigin-RevId: b439d8365dad9580cf2d93f97037a2f37cd83adf
2018-06-28 00:08:44 +03:00
levlam
a3571b676e Allow to call deleteAccount before authorization. ConfirmPhone support.
GitOrigin-RevId: 36829ee37780ee82b1eb25cea594a673aa490dda
2018-06-27 21:26:52 +03:00
levlam
48740add28 Init some uninitialized Result variables.
GitOrigin-RevId: 48e15168e48d131c53a93a5c2971c7dadeeeb270
2018-06-27 19:24:42 +03:00
levlam
3b11e1818c Better check for suffix load done.
GitOrigin-RevId: d86a868ec5c1e7d596c5f81d26b62f4e683b91a2
2018-06-27 18:33:38 +03:00
levlam
c07bc54f34 Fix suffix_load_first_message_id when corresponding message is deleted.
GitOrigin-RevId: 025744f5120f7f6860f0af46dfcdc8870110f48a
2018-06-27 18:28:58 +03:00
levlam
4eb2981af6 Better handling of DeleteMessage log events.
GitOrigin-RevId: 205850a5258a7aeb135c1eaa0698905261080ae3
2018-06-27 18:17:33 +03:00
levlam
6bd1ee47a9 Add *_search_bot_username options.
GitOrigin-RevId: 969324d6b3443dd8f351173ed0fb87b2443eaf44
2018-06-27 02:35:32 +03:00
levlam
b20c77d459 Add message_*_length_max options.
GitOrigin-RevId: 27fc7c79b0820916daaf23745078a4204c3dc6c9
2018-06-27 02:28:49 +03:00
levlam
e806037eea Support dc_txt_domain_name.
GitOrigin-RevId: 6762d63f67b886cb990eae24536adcabda557316
2018-06-26 23:46:15 +03:00
levlam
7150cfc8b2 Add disable_top_chats option.
GitOrigin-RevId: 732ba115f67d19585b4e2f4aae024194c6e65174
2018-06-26 22:51:00 +03:00
levlam
46535703e0 Fix some includes.
GitOrigin-RevId: 901d167d7197e4c0222656e9fc1f9fc0e216e44b
2018-06-26 02:43:11 +03:00
levlam
aa13a57a3c Update layer to 82. Contact.vcard support.
GitOrigin-RevId: 302d65351cfaeb6b4e82c594565ab1aef18b2a42
2018-06-26 00:10:53 +03:00
levlam
fed222e11a Add add_user debug.
GitOrigin-RevId: 7e2bb3187f278cc664a720d1ce1d7689ba69d5d9
2018-06-25 04:06:20 +03:00
levlam
d2e4f74c52 Match new server parsing of # in URLs.
GitOrigin-RevId: f1e26ad10c80721db14132fd3fc3ba17aa2db509
2018-06-25 03:22:56 +03:00
levlam
a365284831 Support mailto emails.
GitOrigin-RevId: aca706aee9b1adb34f3f25700e91cd0d0880424f
2018-06-25 03:15:38 +03:00
levlam
28ddc0525c Fix DcOptionsSet::reset.
GitOrigin-RevId: 6c0b066c380ac45e2264605d91c09ca5d51bc52b
2018-06-25 03:08:37 +03:00
levlam
046ad3b752 Make TlStorerUnsafe buffer unsigned.
GitOrigin-RevId: 8bb19c10e4edd8b015d3a2be0449426c9c07f7df
2018-06-25 02:58:43 +03:00
levlam
b4d6662f71 Add some debug.
GitOrigin-RevId: 29b2efa626ed4a6a0c0eb2ac2cec2fb245e9e6b5
2018-06-25 01:51:15 +03:00
levlam
54d5b70abf Better INPUT_METHOD_INVALID logging.
GitOrigin-RevId: 81cff4d804281b64191faff56bc2678689c1c52d
2018-06-25 00:52:17 +03:00
levlam
45af3f53db Add ignore_inline_thumbnails option.
GitOrigin-RevId: 5721f8d0fd0a0adc3ba2c65c1c4af35690bdf47a
2018-06-24 23:48:48 +03:00
levlam
75a577e8a5 Better replacement for USER_IS_BOT error.
GitOrigin-RevId: 88dafd60d1bbdaa04f2e90877551db6a98ae1ba0
2018-06-24 20:41:19 +03:00
levlam
97e6e99eaf Allow smaller pts decrease.
GitOrigin-RevId: 31e2429ec98b9d64eb5d38b07a9a356b038cf94f
2018-06-23 02:19:22 +03:00
levlam
f18dea245c Remove names Status constructors.
GitOrigin-RevId: bd196c8a3d5657f2f8ce3e5ceaf3e64821177398
2018-06-21 23:20:32 +03:00
levlam
8b5b73508a Ignore error code of MSG_WAIT_FAILED.
GitOrigin-RevId: 501b759e3f1c33ec881723c15f155b0b0b1cf606
2018-06-21 22:32:56 +03:00
levlam
93afb805f1 Add SequenceDispatcher debug.
GitOrigin-RevId: 05f3333ff1caf102da58606af778f4e56a7ec751
2018-06-21 21:54:06 +03:00
levlam
b3499717a4 Fix reading of failed to send messages.
GitOrigin-RevId: 72b24013e2e15664d8dee7b7980e159fd4277dad
2018-06-21 21:21:09 +03:00
levlam
818d6dee0c Fix suffix load in presence of message unload.
GitOrigin-RevId: 0324254270c62f8ea97d1d787990490d148319d4
2018-06-21 20:55:59 +03:00
levlam
7ff339e804 Refactor ttl_read_history.
GitOrigin-RevId: 6d5c57716a332a88f30ff11c831371568768a125
2018-06-20 22:18:53 +03:00
levlam
4121f8d6ab Add ReadHistoryInSecretChatLogEvent.
GitOrigin-RevId: 92da5d4224dee274267123c2467704197d3cc3d4
2018-06-20 04:02:02 +03:00
levlam
1f9052f85b Better tg:// URL formatting.
GitOrigin-RevId: 766363c58886800c186bceabc8ce4746f1835bf6
2018-06-19 17:02:55 +03:00
levlam
1ef5c89a91 Allow tg URLs in text links and url buttons.
GitOrigin-RevId: 9708c3016375564e737bf5a8f79494807d61c10f
2018-06-19 13:23:52 +03:00
levlam
537d96cc8e Remove read history delay when there is no more messages to read.
GitOrigin-RevId: 08ec35c839c35bb33ea4e3bc5063e08b0f8c6cc0
2018-06-19 03:35:09 +03:00
levlam
4d5197d31c Edit message media.
GitOrigin-RevId: eba2f32f4e033720ea1143463a9f3d1eae54880d
2018-06-19 02:31:34 +03:00
Arseny Smirnov
69cf867d47 0xdd quick ack
GitOrigin-RevId: 3e35df493f46f91cd1cf81671819848d9640fedd
2018-06-17 20:52:40 +03:00
levlam
3827fb91eb Fix send_get_dialog_query.
GitOrigin-RevId: f1bee7dddc9a95daccc36cc5bb1e51f2627907de
2018-06-17 18:20:37 +03:00
levlam
aeaa195233 Update version to 1.2.4.
GitOrigin-RevId: 62fed13a16fc92dbb3fae722a5cb4c6ec58dbb09
2018-06-16 20:04:53 +03:00
levlam
8a6b550a86 New transport improvements.
GitOrigin-RevId: cc7b8aafe6a30009fd4d549ef969c373ce2b9d9a
2018-06-16 03:03:14 +03:00
levlam
70be2b6f85 Add chat.is_sponsored field and updateChatIsSponsored.
GitOrigin-RevId: 0100c868c410f9b4324b3e0de9912bec22d172d5
2018-06-15 22:52:52 +03:00
Arseny Smirnov
c02d4505e4 0xdd transport
GitOrigin-RevId: 241c2fcea3ebaac20fc68531692cbd299a9de95a
2018-06-15 21:54:22 +03:00
levlam
4aa5b0af02 Better private chat title.
GitOrigin-RevId: 0e2eea7961667d25810d14cb0db53806a9525e4e
2018-06-15 20:41:21 +03:00
Arseny Smirnov
e5c90f239f Secret chats: check that his_layer is monotonic
GitOrigin-RevId: cb6b50e768a90c5afcece185bea2e7209a9939f5
2018-06-14 18:00:10 +03:00
levlam
3a8c0f131e Rename promoted chat to sponsored.
GitOrigin-RevId: e385126253199a46b55fba7d350e0c115a8c333e
2018-06-14 00:07:24 +03:00
levlam
fe203b3d5c Fix on_alarm_timeout.
GitOrigin-RevId: 45151d440833becc478abe8606ddc1369be3f262
2018-06-13 21:21:29 +03:00
Arseny Smirnov
d4cc127f17 Use CancellationToken for ConnectionCreator::request_connection promises
GitOrigin-RevId: 14157bd3677f4720d37ef70f64500522e3674173
2018-06-13 19:20:42 +03:00
Arseny Smirnov
3c1698dddf Session: cache salt for temp keys, better on_mtproto_header
GitOrigin-RevId: 02ba02aaf86e36402536d98d7bb80fd198c68378
2018-06-13 18:17:27 +03:00
levlam
67641bfa76 Fix first_name to phone_number only if last_name is empty.
GitOrigin-RevId: 4f4732713400c56590d02338f0f1d1fb5fd83908
2018-06-12 02:15:02 +03:00
levlam
c0944f6bda Continue to load terms of service after they are accepted.
GitOrigin-RevId: c7dadcea4bf8b61f3d428999e034572c67ef8b3f
2018-06-09 02:00:15 +03:00
levlam
174eaf2817 Fix FileEncryptionKey.
GitOrigin-RevId: 59949d62ce074db7afe33e0b42666d7b8bd14973
2018-06-09 00:02:19 +03:00
Arseny Smirnov
ecce3b4f53 FileDownloader: bugfix
GitOrigin-RevId: 475a848c68497fdcfc43dfaad6019a271a78b10c
2018-06-08 23:15:04 +03:00
levlam
54e1a4f100 Fix sending secure files to secret chats.
GitOrigin-RevId: e5cafeb4d3e48c3b5c925c81dd3406d8b0ce44da
2018-06-08 22:23:49 +03:00
levlam
ea8d5dbda7 Add debug for INPUT_METHOD_INVALID and BOT_METHOD_INVALID.
GitOrigin-RevId: dfc4e6c81f80504d2299a59f21cd79633fd98daf
2018-06-08 21:42:04 +03:00
levlam
5d1323311a Disable updating notification settings for bots.
GitOrigin-RevId: 7562ea7dd624ba95af875f03b354f94dac95bbbb
2018-06-08 19:56:26 +03:00
levlam
1bed66122a Add is_update_new_chat_sent flag.
GitOrigin-RevId: bdc493e48f8ab1f9e5d50780edf98e7d63c8159c
2018-06-08 19:42:21 +03:00
levlam
69a3eecbcc Fix getTermsOfServiceUpdate for bots.
GitOrigin-RevId: 177f5362015dd78e8ef94cbbfc57b8dd49984655
2018-06-08 19:20:09 +03:00
levlam
427918d8f9 Fix CE.
GitOrigin-RevId: 24149e4f37e816c1034d237df4715fa299bdf024
2018-06-08 17:20:42 +03:00
levlam
ed06ae67f4 Delay applying user photos for bots.
GitOrigin-RevId: ee32e9f6e9445f439a5a21cafe1b726be86a0503
2018-06-08 17:13:54 +03:00
levlam
53f7e0cedf Terms of service update support.
GitOrigin-RevId: 3c4c34def98e06e9b6da5102614f797046ff0921
2018-06-08 01:19:34 +03:00
levlam
a72494d721 Support Terms of Service.
GitOrigin-RevId: 389c4ba590a4feb34ac6d801f9097291e87423d8
2018-06-07 21:42:17 +03:00
Arseny Smirnov
50a5098b0f FileLoadManager: hangup bugfix
GitOrigin-RevId: 7d8a922dfd3e07769507123e39df66d7ea3d00d3
2018-06-07 14:37:42 +03:00
levlam
abaaae5720 Fix need_merge_files usage.
GitOrigin-RevId: c584f7a67e7d442e84d206ce0930b23361e5515e
2018-06-06 18:16:02 +03:00
levlam
984b401489 Better cancel upload file.
GitOrigin-RevId: 7a50d7da953c8cc582a1e19d279fd113fd5f4a9d
2018-06-06 18:10:21 +03:00
levlam
c859a4eb78 Remove some logging.
GitOrigin-RevId: 20b3a4942bfd51dbbcb49f9b5ac973406c7163ac
2018-06-06 17:27:45 +03:00
levlam
58ae8cc587 Better condition for updating of last_database_message_id.
GitOrigin-RevId: 48fce1e008339da955bece831b4f1ba9254e0263
2018-06-06 17:01:01 +03:00
levlam
cb1e0374af Minor fixes.
GitOrigin-RevId: 7deac5583350d64cf6fd0e323f2291804e3ba995
2018-06-05 20:44:41 +03:00
levlam
60200b0b40 Add cancel_upload_message_content_files.
GitOrigin-RevId: c35ba525230eca2ab086ac3e109dc81cd96665f3
2018-06-05 19:54:33 +03:00
levlam
4806933832 Fix adding failed to send messages to dialog.
GitOrigin-RevId: 1d09e032a12bc4338f7d28b70b9d8a4086ec0f0c
2018-06-05 05:03:35 +03:00
levlam
dbe869e70c Better warning.
GitOrigin-RevId: dc260c72591e789431b23f9855232672d27daf5d
2018-06-05 03:23:48 +03:00
levlam
d6d923882b Move some logging to DEBUG.
GitOrigin-RevId: 0767598c3b43c024efa2e8437e330d3d8f9537c8
2018-06-05 02:40:00 +03:00
levlam
89c8bf819c Move some logging from INFO to DEBUG,
GitOrigin-RevId: f56140a9c03fcb0af8c8ecc381b3e111febf616f
2018-06-05 00:12:34 +03:00
levlam
9b946e7394 Do not use static IP for MTProto-proxy.
GitOrigin-RevId: e2be60b362b9254b700bbac0b97bf496fd0abcf1
2018-06-04 20:54:18 +03:00
levlam
ef2eb1c3cf Prefer IPv4 for connections through proxy.
GitOrigin-RevId: 5512d66191496bc964829f1a7bfe79d1d4474fef
2018-06-04 20:50:34 +03:00
levlam
2c5f5a8587 Improve PingConnection.
GitOrigin-RevId: be82fa18e2f9a154d3d276b5618d0ca72b9e4282
2018-06-04 19:58:54 +03:00
levlam
e5385cbd0b Better ping time calculation.
GitOrigin-RevId: d9cf250dae657ed498d932b2e335efbddb374c43
2018-06-04 19:35:29 +03:00
levlam
8253460dbb Better ping of main DC.
GitOrigin-RevId: f3231b9b8f558cfceef6d2b952b4f1f7051cb396
2018-06-04 18:55:38 +03:00
levlam
d774b6612f ConnectionCreator::get_transport_type.
GitOrigin-RevId: e73fa95b64f5cd36640ab574b3d0b30823ece001
2018-06-04 01:17:59 +03:00
levlam
13f17714fc DcOptionsSet::find_all_connections.
GitOrigin-RevId: ed921667bf1cbc57ad4a442e70a3fd307d839319
2018-06-03 02:35:32 +03:00
levlam
066e6a90e3 Allow 0 in pingProxy.
GitOrigin-RevId: c03522ac55da93543bf6bfefdfae28b280458233
2018-06-02 15:20:35 +03:00
levlam
56a2cac6ba Update layer to 81.
GitOrigin-RevId: c6579e02edaff656ab17b3d94695cab8c7960b2d
2018-06-01 23:15:13 +03:00
levlam
4a6b1fa4d3 Use 2 connections for file download.
GitOrigin-RevId: 04bc4b69b0e5a9608a49ec03e8b204ccc49bf349
2018-06-01 22:16:35 +03:00
levlam
98aba6304c Persistent getDialogQuery.
GitOrigin-RevId: e882cd049aac7aa86cf03750a78c3b92635f5379
2018-06-01 19:58:23 +03:00
levlam
d67f983d41 tg_cli: better file download time.
GitOrigin-RevId: 334e18befa7f0b34eb568bf8b010f74fca7e4e2e
2018-06-01 03:05:46 +03:00
levlam
cc08a179d5 tg_cli: debug download time.
GitOrigin-RevId: c3901a8761c23573b68100b4a9aec68da051f2b5
2018-06-01 02:12:36 +03:00
levlam
a038754fcb Allow to check code before entering first name on registration.
GitOrigin-RevId: be08dd29486959d4059f72af61c4c630afc812c3
2018-06-01 01:27:34 +03:00
levlam
8750c7a41a Better suggested name for sticker thumbnails.
GitOrigin-RevId: 5372a13825f558e47ee84bfaa705af6a9b587298
2018-06-01 01:23:07 +03:00
levlam
804827cfda tg_cli: sstt, as_input_thumbnail.
GitOrigin-RevId: 282f631ddfea2efee7c451a49c745ffc004b1de5
2018-06-01 01:22:27 +03:00
levlam
df900c867c Better merge_choose: prefer new.
GitOrigin-RevId: 9d737eeda18ece2cceb98f6e9f1dd95c0bd8294a
2018-06-01 01:21:35 +03:00
Arseny Smirnov
56d2beedc4 Fix use_pfs for different Sessions
GitOrigin-RevId: 99fab277c0909da33cfc8c4e1ee827186dd5ac32
2018-05-31 20:40:26 +03:00
Arseny Smirnov
bd9c88794e Use pfs for media download
GitOrigin-RevId: afaa0e04f02b2b3dfb8822dacd56c0473b019527
2018-05-31 16:56:06 +03:00
Arseny Smirnov
2ede0fc336 GenAuthKeyActor: bugfix
GitOrigin-RevId: 024409dfc36edcb18a9e166b231a290295a7a978
2018-05-31 10:04:05 +03:00
levlam
74b27edd11 tg_cli: clean_photos.
GitOrigin-RevId: 650df5c04eb4ad6dcaa9eea3226f2e16fb68d9e8
2018-05-30 22:45:42 +03:00
Arseny Smirnov
b38094e372 Files: bugfix
GitOrigin-RevId: 179f1b4864e78337455264c3468ec5d4eabdeb2d
2018-05-30 22:21:40 +03:00
levlam
faf9be4231 Better file download debug.
GitOrigin-RevId: f2e33254bca1c1012f2d8f333554b039b47be3ce
2018-05-30 20:50:11 +03:00
Arseny Smirnov
6188a6c118 SecureId: minor files upload/download bugfix
GitOrigin-RevId: 8ba92f2d0e6f9098d36c68700edf15f452dd1ffa
2018-05-30 19:57:49 +03:00
Arseny Smirnov
c783a946c3 Session: fix warning
GitOrigin-RevId: 6183ab2342222670680057843fc3d908b7995ce8
2018-05-30 19:38:17 +03:00
levlam
a532374f20 Fix calls to register_remote.
GitOrigin-RevId: a8d816f39065a30d840996b5b97b196377a38d25
2018-05-29 22:20:46 +03:00
levlam
4114d8769f Bugfix.
GitOrigin-RevId: edd102f69ba7b9a96ff969baa71c2303e05a1776
2018-05-25 21:26:04 +03:00
levlam
3631815cc6 Add country_code to getTermsOfService.
GitOrigin-RevId: 35480bdb801373122d7e0536b30becb45c312db4
2018-05-25 11:49:00 +03:00
levlam
266722112e Fix clearImportedContacts and getImportedContactCount.
GitOrigin-RevId: 295c524eab124ee19284841b2b6aa3083c850446
2018-05-25 00:37:43 +03:00
levlam
ef01eba051 Remove debug logging.
GitOrigin-RevId: 2141ef5fcea0a84e60db3dfaf397efdc05d5c597
2018-05-24 20:08:47 +03:00
levlam
13fe5c0adc Better logging.
GitOrigin-RevId: eae79256699ffeab8c8290b2b6cbb188e3294d77
2018-05-24 19:54:57 +03:00
levlam
dd40469ee8 Fix check_phone_number_rules.
GitOrigin-RevId: 9ecdc91dfc0b9f5f07af987a822cd607cbe690b1
2018-05-24 19:40:00 +03:00
levlam
3229ea3ce2 Fix send_update_new_message.
GitOrigin-RevId: 12d4f0c6aa9b84b91bb1438fb1ffecab48381471
2018-05-24 19:27:56 +03:00
levlam
0e48dd8a81 New ConfigRecoverer scheme.
GitOrigin-RevId: 1101ddc56b0836387faf089ca52fe7376db9f88f
2018-05-24 18:09:27 +03:00
levlam
ede1d58e0f Add is_closed_ guard to FileManager.
GitOrigin-RevId: b85edd5e07da24250516141f73e2313c31fe2cc3
2018-05-24 13:43:50 +03:00
levlam
3f8be23cd2 Fix calling file load callbacks on closing.
GitOrigin-RevId: 1b1bad8bdd255332cdca2ece6cffd3ce16cfc7e2
2018-05-24 01:30:47 +03:00
levlam
db6777c7f2 Use p_q_inner_data_dc.
GitOrigin-RevId: f1e57b83d850ac4233bf9508b6585aaf0efe1423
2018-05-23 19:49:05 +03:00
levlam
d763c755e1 Remove ConnectingToProxy state for MTProto-proxy.
GitOrigin-RevId: 21950ac6b0fc00f2b599ae158bb1b4414788d5c6
2018-05-23 18:51:58 +03:00
levlam
89d3b57265 Fix message_count_by_index when message content is changed.
GitOrigin-RevId: 1ac18955acfcce44881621932dbbf88bc59474da
2018-05-23 18:28:46 +03:00
levlam
d3b5029cba Optionally merge files in update_message_content.
GitOrigin-RevId: 785f1bca1360ab2330744ff55e93421eb7834801
2018-05-23 17:28:23 +03:00
levlam
5eea3d9c37 Update InitConnection request.
GitOrigin-RevId: b9785bf56bd4cb9c44c5a91f3cb07d2352bc6ca2
2018-05-22 14:09:58 +03:00
levlam
6f7d4b08bf Update layer to 80.
GitOrigin-RevId: fe59fee694886bd63e412fa8de33dd561302218c
2018-05-21 07:18:39 +03:00
levlam
407a8442f8 Fix null @extra in JSON interface.
GitOrigin-RevId: 1a470608d7cfbf58b55952eb3162e54d7ec245b7
2018-05-20 16:16:16 +03:00
levlam
004e562d0f Better JSON type names.
GitOrigin-RevId: 1d40b9f39a0850040820b90fcf874b42468edd2d
2018-05-20 15:30:36 +03:00
levlam
82df6d7625 Simpler ClientJson::send.
GitOrigin-RevId: 5f992052b2ac11385caee32d7dacc799036170cf
2018-05-20 02:56:41 +03:00
levlam
68dd5cece9 Fix debug bad parts.
GitOrigin-RevId: 867baaf16092b260f2695b94745fb9fe765b548a
2018-05-20 00:56:40 +03:00
levlam
8fb6edab2f Ping proxy fixes.
GitOrigin-RevId: cf6e8a2585fdfe7a7491109b8facf0dcad379d2c
2018-05-19 18:05:38 +03:00
Arseny Smirnov
3675e38605 Ping proxy
GitOrigin-RevId: ff4dfa54bee356a06b1ec076711fb28b894221cb
2018-05-18 23:43:38 +03:00
levlam
b3ca84fffb Delete unused fields. Add test.
GitOrigin-RevId: 6ce7ff71d926142a7c178d56a2f489f1634322b9
2018-05-18 19:44:46 +03:00
levlam
490c4e86a2 Minor fixes.
GitOrigin-RevId: f972e24191cc31262bf655774bc6193277b8842b
2018-05-18 15:57:40 +03:00
Arseny Smirnov
45a20f6929 Use persistend AuthKey in ConfigRecoverer
GitOrigin-RevId: 6c4ce6dc49d226de585c7c43d41471271c9fcca1
2018-05-18 14:38:49 +03:00
levlam
d9a89abd23 Fix raw_dc_id for test DC.
GitOrigin-RevId: 2fd4d78700d245b91a6b390df26568d910cbae37
2018-05-17 22:09:57 +03:00
levlam
cb6c46071e td_api::getProxyLink.
GitOrigin-RevId: 0d876446bbbb22467c452b088f4df24e7e1624a2
2018-05-17 21:08:51 +03:00
levlam
bf43893503 Fix false clang warning.
GitOrigin-RevId: 02f377c960d360f83452392d5cd76c3f6d4b02a1
2018-05-16 23:12:33 +03:00
levlam
f060f7da91 Remove CHECK_AUTH macros.
GitOrigin-RevId: 7560713096bfbf3a4c3ab1520961f3e190bfed95
2018-05-16 22:47:42 +03:00
levlam
67c00e02ea Complete pending preauthentication requests.
GitOrigin-RevId: 8e9b2ec7f8ba8e298f8d95ad7135f7607d440c2f
2018-05-16 22:35:27 +03:00
levlam
29ab63d063 Fix canceling alarms before init.
GitOrigin-RevId: 4ef53a7838c58b6bef1923f97cc0a2cc98786ef0
2018-05-16 18:40:26 +03:00
levlam
0fd4a3b780 Support for synchronous request and setAlarm before initialization.
GitOrigin-RevId: cd7c803d7755437a3240816f221817e08beb33d6
2018-05-15 23:04:27 +03:00
levlam
134849c906 Fix migrating to many proxies.
GitOrigin-RevId: b503ac549ff395143d521b0511fbf32f037df271
2018-05-15 19:44:24 +03:00
levlam
582d6e66a0 Remove logging.
GitOrigin-RevId: da24a4d5aede66cb14193cad28216f99e7f507dd
2018-05-15 15:21:53 +03:00
levlam
aeeef4ba74 Implement save_proxy_last_used_date.
GitOrigin-RevId: fa93bf71cdab89054c0576ca4256dbf9dd0bf0fb
2018-05-15 15:21:09 +03:00
levlam
e2504be79b tg_cli: fix "touch".
GitOrigin-RevId: 16654e7a90a33dcfdd8869616b51f28d6ca2ef66
2018-05-15 13:01:15 +03:00
levlam
cbef086816 Update version to 1.2.2.
GitOrigin-RevId: baed417ea9e9cdb4aa7b27be66ec2d70ba2fb3bd
2018-05-15 11:26:04 +03:00
levlam
105e0e3b84 Fix previous commit.
GitOrigin-RevId: 16029bdbf50092ff2e440869d5352b72e5628476
2018-05-14 22:11:48 +03:00
levlam
7de9a0c15d New Proxy API.
GitOrigin-RevId: 2f96b8d1732c25e10a7568c6cf2dbbe26a150e4a
2018-05-14 22:00:38 +03:00
levlam
b636b03e5d Do not set online timeout for bots.
GitOrigin-RevId: 7f1f0fb184a9349b17ab8f3a2b7347eb4bd47377
2018-05-14 20:44:23 +03:00
Arseny Smirnov
4a2b256ecd Secure file reuploading hotfix
GitOrigin-RevId: 8d64534b3afafeae35ff40531aaf1ba3b4d8a398
2018-05-11 22:13:18 +03:00
levlam
d61befbb1e Fix send_get_dialog_notification_settings_query.
GitOrigin-RevId: ed9f4abf5c2bb68c6fccc6cc1b55017e3c941296
2018-05-11 18:48:04 +03:00
levlam
bd7a53c936 Update version to 1.2.1.
GitOrigin-RevId: d1edb484c703d7ac1911bd6d45e73042917bf7ed
2018-05-10 22:11:20 +03:00
levlam
864a56626d Better load_messages.
GitOrigin-RevId: 514ccb557d906479f316094d92439635c831b2bb
2018-05-10 21:42:15 +03:00
levlam
fa99ec2875 Add promoted dialog to dialog list.
GitOrigin-RevId: db6936972df14739081b288cb270dc1560e46c61
2018-05-10 21:26:46 +03:00
levlam
1492467ab8 Notify sessions about mtproto header updates.
GitOrigin-RevId: 35ee6055c65c7656726a20672fa600823a13ac5f
2018-05-10 21:02:24 +03:00
levlam
47d5082253 Better repair_channel_server_unread_count.
GitOrigin-RevId: f89556066014dd7e9e6031f0157ae2a3ecd65ad6
2018-05-10 20:06:48 +03:00
levlam
9579edbd04 Fix compilation for Termux.
GitOrigin-RevId: d6ef97baaf2f48846189f89bc5c0c8ec824a2990
2018-05-10 10:49:47 +03:00
levlam
70438d829a Various fixes.
GitOrigin-RevId: dd3f4879617f42023c9c918d841d99299b13c7cf
2018-05-09 20:14:17 +03:00
levlam
c65b998cd6 All updatePromotedChat.
GitOrigin-RevId: 4a3c6283026ba15836cb7fa011c4b3ad21a64baa
2018-05-08 23:02:15 +03:00
levlam
5c1612e9eb Fix mtproto proxy secret.
GitOrigin-RevId: e561c27016d6f08f9923608ba7fc40ee419c6053
2018-05-08 18:08:26 +03:00
levlam
98289b9963 Add proxyMtproto to td_api.
GitOrigin-RevId: c872c063bc6e5d94c80ac1daa6b916f8ce5f4c23
2018-05-08 17:48:30 +03:00
levlam
63695490e0 Update layer 78.
GitOrigin-RevId: dfef982111d092425e56a400e0cc9f4c9cfcb2c9
2018-05-08 15:50:33 +03:00
levlam
5effa0f662 Fix CE.
GitOrigin-RevId: 7a8640af6bb30c1f079c85ef01ccc70023992432
2018-05-07 20:20:20 +03:00
levlam
c7cbecd2c1 Request only notification settings if they are needed.
GitOrigin-RevId: ecaacca6cc4ee5081859cd1120418a703b8d02b1
2018-05-03 17:21:49 +03:00
levlam
000e07e679 Combine getNotifySettings queries.
GitOrigin-RevId: 8a02e9513793c85cbc833d1b17d12bdbc6b416cb
2018-05-03 17:16:04 +03:00
levlam
fc4d401eb6 Better is_dialog_inited.
GitOrigin-RevId: ba385e0322e831362a612259c4315faf7338c14f
2018-05-03 16:29:33 +03:00
levlam
a37dfc406b Delay before sending read history request to server.
GitOrigin-RevId: 5452973469e6142cefa00d063ceef36add728f14
2018-05-03 15:36:05 +03:00
levlam
a82dfe4735 Remove allow_error from ReadHistoryQuery.
GitOrigin-RevId: 7f285eb790f55b3bcdddc5c912a1c1cb094719e7
2018-05-03 14:13:55 +03:00
levlam
821bc642cf Update layer 78.
GitOrigin-RevId: 8aac14c20fc90c6a0b118fbbe80d4b83034416a2
2018-05-03 13:18:07 +03:00
levlam
de0614891d Fix g++ CE and warning.
GitOrigin-RevId: 14b43cc16c2eac069bb19b6fe5a6adb964068970
2018-05-03 12:00:35 +03:00
levlam
1b64400167 Read chat history while scrolling.
GitOrigin-RevId: 0795d97634a7420d2d3784304ae314cd075ac1d5
2018-05-03 11:57:19 +03:00
levlam
5b1b1273b4 Implement calc_new_unread_count_from_the_end and repairing of server unread count.
GitOrigin-RevId: e11417e08db93814f3093677c60482fb14acbc53
2018-05-02 13:30:52 +03:00
levlam
6a3241dc12 Add dummy calc_new_unread_count_from_last_unread.
GitOrigin-RevId: eb66e452c3e99344180493491d588e0871b3fd91
2018-05-01 21:12:00 +03:00
levlam
eeb94af4df Refactor calculation of unread_count to calc_new_unread_count.
GitOrigin-RevId: f4cdce4e37db8d368074cb10dad13fef74b73dbf
2018-05-01 20:13:36 +03:00
Arseny Smirnov
d28a98ac38 bugfix
GitOrigin-RevId: acc271923c40176671e846d420c8883304bc9126
2018-04-30 20:38:30 +03:00
Arseny Smirnov
efc5cbb8ad Mtproto secret support
GitOrigin-RevId: 3efeb3f309b76074d6581d68e9a9b20df79e82ae
2018-04-30 20:01:18 +03:00
levlam
0fb07d3376 td_api::cleanFileName.
GitOrigin-RevId: e03cf634eb6a1e8f7191ea2e6a62f8b8990b21d0
2018-04-30 15:50:54 +03:00
levlam
4913915a8e Call getChannelFull when join channel.
GitOrigin-RevId: abda6c7886e298852ab3e5f1c332db1eb32f2c3c
2018-04-30 15:04:57 +03:00
levlam
b998431081 Persistent change_dialog_report_spam_state.
GitOrigin-RevId: 8a11181cc78b3fe2e7536c49a198c6fa99fa348c
2018-04-29 08:58:45 +03:00
levlam
0f2769bc77 get_erase_logevent_promise.
GitOrigin-RevId: 8e92413b65a9fdf9848680f4b65568752ea22365
2018-04-28 23:22:28 +03:00
levlam
6c17d7933c Persisitent resetAllNotificationSettings.
GitOrigin-RevId: a726d3d7ccdebb26d3aacdad9964725cb169aea9
2018-04-28 22:50:12 +03:00
levlam
0eb61a5687 Persistent UpdateScopeNotificationSettings.
GitOrigin-RevId: 3cbd98d3f6ff3aed617228bfc286bced9dc7249a
2018-04-28 22:31:42 +03:00
levlam
e9ba26c4f0 Default disable_notification support.
GitOrigin-RevId: 014a8b141dc1cff5126748c7785ea22d12aef7b3
2018-04-28 21:05:04 +03:00
levlam
19ba540336 Minor fixes.
GitOrigin-RevId: 84ddb085a4f086b5f4802620cb29a1e3a51d936f
2018-04-28 11:56:10 +03:00
levlam
118cdd1530 Fix passport credentials.
GitOrigin-RevId: d33a340286f13b2f8dede37c227f102794ebad8b
2018-04-28 01:54:45 +03:00
levlam
7d9003980f tg_cli: touch.
GitOrigin-RevId: e2e469b9b09bf5d4343318c715adbe51f37a283c
2018-04-27 20:41:10 +03:00
levlam
ffe1b67fff Better add_message_to_dialog.
GitOrigin-RevId: 86cbe6e6a9222879e640d1d8bbe67e69c7451437
2018-04-27 20:21:18 +03:00
levlam
6b60ac613f Fix auto_read in addLocalMessage.
GitOrigin-RevId: 776a4c5dc012c482751ba2603ce4722df6b3f701
2018-04-27 19:51:11 +03:00
levlam
68484e6c98 Update layer 79.
GitOrigin-RevId: 9ff40bab645f4c4f08fc0ee7699749c2eb64fd89
2018-04-27 15:38:02 +03:00
levlam
62d668674b Remove fileTypeSecureEncrypted.
GitOrigin-RevId: 33adf461aeea26cf5c4cbb1d28ade3a258b61126
2018-04-27 11:00:56 +03:00
levlam
4e7b07508f Various PassportData fixes.
GitOrigin-RevId: 7c8ce3d564c37dcc75715b5dac7886749e0ed9d3
2018-04-26 23:41:34 +03:00
levlam
febdf70626 DcOption.secret initial support.
GitOrigin-RevId: fa067f8467db8c07906925bd6a794c2cf00ddb7d
2018-04-24 21:17:21 +03:00
levlam
06a89db640 More passport data fixes.
GitOrigin-RevId: b9d0c3244b5ce3a170679645e7ccb54fc0ad7ce2
2018-04-24 20:10:12 +03:00
levlam
1a0c874a67 Update layer to 79. Some fixes.
GitOrigin-RevId: 9356eee58e48d7c191a1bccb7e25d6875a07fb51
2018-04-24 19:21:47 +03:00
levlam
b03fff4ff0 Fix passportData error codes.
GitOrigin-RevId: 810153b5ddb4dac536c9b5d9d0558841f7f2e19e
2018-04-24 00:01:05 +03:00
levlam
11dc52463f tg_cli: improve as_input_passport_data.
GitOrigin-RevId: 8b3a9fa5d3f63487baf1ce5a466b6a0a1c68fc19
2018-04-23 23:33:51 +03:00
levlam
8048bb7f1f Fix CE.
GitOrigin-RevId: 866ad66e13510546b560d961a3d3d06e64561e27
2018-04-23 21:41:34 +03:00
levlam
2b75f6030f Various improvements.
GitOrigin-RevId: e2480ad06ef003e2d0e8db769c837d5b713d96c1
2018-04-23 20:51:59 +03:00
levlam
a4f664e697 Remove temporary debug logging.
GitOrigin-RevId: e427491fc36fc6a6299eb0bed3a036638605ca5a
2018-04-23 18:05:02 +03:00
levlam
8ce75591b7 Support recent hashtags in caption.
GitOrigin-RevId: 66c02489587582f78a8ff8a606d366d4ceb10547
2018-04-23 17:50:44 +03:00
levlam
9b49092162 Add get_message_content_text.
GitOrigin-RevId: df44be6b215c945100f86d0d8cbb2397d90546ce
2018-04-23 02:02:29 +03:00
levlam
01d13bf005 Update recent hashtags when message is edited.
GitOrigin-RevId: ba6dc7bda612d96f9417516fe684d053e68a9e24
2018-04-23 01:50:07 +03:00
levlam
bb1fdeacd8 Always cancel chat action from bots.
GitOrigin-RevId: 3da4ae8a288420202d1137cd8824764beb07fc71
2018-04-23 01:25:07 +03:00
levlam
f758d592dd Better iterators increment.
GitOrigin-RevId: 5da2e57210ce62f78ab938005a4683d2c1e26547
2018-04-23 01:14:49 +03:00
levlam
8cb1a682cc Ignore negative cache in getWebPageInstantView.
GitOrigin-RevId: 3d4b5f4db209e6c82ed576360ef5867f2c85b9a7
2018-04-22 20:26:00 +03:00
levlam
8fdb19e06e DatedFile support.
GitOrigin-RevId: d38c3711f66f07ab2beab1c96ac0b9896138f7ec
2018-04-20 17:48:17 +03:00
levlam
c8c8de0260 Add debug.
GitOrigin-RevId: c26da5c5cd48c0afba747b4e33319056e98cd215
2018-04-19 20:52:47 +03:00
levlam
2c4678a1e3 Send NetQuery to callback when closing.
GitOrigin-RevId: 6e564fd9401ae4352471d2938058d02e54c73f05
2018-04-19 20:21:26 +03:00
levlam
a09e94370b Move NetActorOnce to NetActor.h.
GitOrigin-RevId: e439137323dda416b07e091c4218eba0a4c73961
2018-04-19 19:00:54 +03:00
levlam
ece337342b Fix closing of CallActor, PasswordManager, PrivacyManager and SecureManager.
GitOrigin-RevId: 511d025620ecc9fedcf6081b0bbfb9713a78251b
2018-04-19 18:39:30 +03:00
levlam
056569f497 Add deletePaasportData implementation.
GitOrigin-RevId: 5e5efcd544a7d9cd57abb7a78cd33a4d5c6722f0
2018-04-19 17:31:25 +03:00
levlam
2b19d388b9 Minor fixes.
GitOrigin-RevId: 619b0fa38647168dd44d5c2f99729ecb61d4f11f
2018-04-19 16:43:09 +03:00
levlam
d80148afae Explicitly specify enum underlying type.
GitOrigin-RevId: 65a7cc4df6b07fe095e898c06ad53deb5e188df3
2018-04-19 16:08:30 +03:00
levlam
8524a99faa Fix getter names.
GitOrigin-RevId: 19b6d420475d7ca7161fbb19658dcefa73de094f
2018-04-19 15:23:54 +03:00