Commit Graph

812 Commits

Author SHA1 Message Date
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
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
c02ed05cfb Fix documentation.
GitOrigin-RevId: 1e06e4a1b26162faedb16d9f4ad9392cd1a9d25b
2018-06-29 18:36:10 +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
b74ca51b36 Better fields documentation.
GitOrigin-RevId: 346206d64f05125b7b46bd695b0988b01d088d21
2018-06-28 02:54:28 +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
fa80e98227 Simplify Java getConstructor.
GitOrigin-RevId: c26fe30c837a09e50810b86d407ba14fe906afa0
2018-06-25 17:30:15 +03:00
levlam
2fdf013504 Java documentation generator improvements.
GitOrigin-RevId: 7c63fd8d816707b45fdee5b852a16e64a084df58
2018-06-25 17:23:56 +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
231c00ed9f Java: return this.CONSTRUCTOR from getConstructor.
GitOrigin-RevId: 152401286b24ec03a25339f3a704cbe2923e9b44
2018-06-24 21:22:51 +03:00
levlam
75a577e8a5 Better replacement for USER_IS_BOT error.
GitOrigin-RevId: 88dafd60d1bbdaa04f2e90877551db6a98ae1ba0
2018-06-24 20:41:19 +03:00
levlam
8c45bd919e Fix pad_size type.
GitOrigin-RevId: 3ec3f1f14a3a54fc28131f3b4bc7bda383e3a704
2018-06-24 19:50:09 +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
44bc3d5f08 Add debug to send_query.
GitOrigin-RevId: 2ac237e8288335acad7f9f8f0a3ab6ef686210b7
2018-06-21 22:14:52 +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
Arseny Smirnov
9d5dd09fd7 mtproto::Transport: bugfix
GitOrigin-RevId: ea53041b64a84292830e25e111bdbd31d21f1911
2018-06-20 00:00: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
levlam
744df9f511 Minor fixes.
GitOrigin-RevId: fb737b1ddcb72ce4c6393d9e282336184285dafd
2018-06-17 22:56:21 +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
Arseny Smirnov
fdd898124b Ignore inbound unencrypted packets padding (0xdd transport)
GitOrigin-RevId: 7da991cb741b65fe2ade26ccc4fc3ef3c788db7a
2018-06-15 21:11:07 +03:00
Arseny Smirnov
d07c172ec8 Padding in unencrypted packets
GitOrigin-RevId: e547cedd27afebc8023afaca5ef0a7af6e2f3075
2018-06-15 18:11:48 +03:00
Arseny Smirnov
b44c7cfcb8 Fix alignment of recieved packet
GitOrigin-RevId: 8cbb24dabb7cf8050cecd47364df496b122db559
2018-06-15 17:30:32 +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