Commit Graph

744 Commits

Author SHA1 Message Date
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