Commit Graph

3308 Commits

Author SHA1 Message Date
levlam
07be10f6f9 Delete dice options for bots.
GitOrigin-RevId: f52bc6629d7befc1ab9eabcaabcc4346b7d23db1
2020-04-21 20:12:35 +03:00
levlam
851d23f06c Add messageDice.success_animation_frame_number.
GitOrigin-RevId: d0afff34c7d74fe5e06b008b7a8438be4aebe88b
2020-04-21 19:08:01 +03:00
levlam
7336134ff3 Implode dice emojis after parsing.
GitOrigin-RevId: 6b1616409a240566a634c1e71fb194824e4c97b8
2020-04-21 15:45:33 +03:00
levlam
e2998f79b6 Allow to delete dice just for self.
GitOrigin-RevId: 5ab4db809bc33c67f99c95f2a0267e3be84b59ac
2020-04-21 15:39:36 +03:00
levlam
8109988247 Add messageDice.need_success_animation.
GitOrigin-RevId: 1c308f71d628d896321ce331c634a6868f504bc0
2020-04-21 14:51:46 +03:00
levlam
c1a5285b47 Fix warning.
GitOrigin-RevId: 040b2879b6f120cc948ad6020f91c8ab5995134e
2020-04-21 13:51:17 +03:00
levlam
5ee6a4ea6b Ignore invalid stickers stored in the database.
GitOrigin-RevId: ad7a1a976f37b4864a990538e568d9c4a4b4e555
2020-04-21 11:07:50 +03:00
levlam
8681b76de2 Minor fixes.
GitOrigin-RevId: b75bac1586ed36b91b7c2ab64c386f94f18d8539
2020-04-21 03:29:20 +03:00
levlam
35e421a23d Do not apply expired message content early.
GitOrigin-RevId: e49ba509e615a0f088b5aba7f03d722248ae9af0
2020-04-21 01:39:44 +03:00
levlam
c6d06e41db Increase version to 1.6.3.
GitOrigin-RevId: fe4df4857dd5fe028d98e40c105f22bd3d387a90
2020-04-20 01:05:39 +03:00
levlam
67565c9c34 Allow to delete local and scheduled messages.
GitOrigin-RevId: 5cc1fbe54fb0ea55fbc46e1f7ed1b1b138fd1edd
2020-04-20 00:59:09 +03:00
levlam
84ecb75f5d Automatically load dice stickers.
GitOrigin-RevId: cc5478256fdfa9d898f54b8a372437e0ad2a2c34
2020-04-20 00:41:26 +03:00
levlam
b698019f36 Add SpecialStickerSetType::get_dice_emoji.
GitOrigin-RevId: 6f61536c84fdb19a743d9ed78d5bf514db04c353
2020-04-19 21:21:17 +03:00
levlam
0fe8cc5250 Support arbitrary dice sticker sets.
GitOrigin-RevId: 46e3d636c79dfddf15dadf9794fb900a6b27a53a
2020-04-19 16:30:04 +03:00
levlam
87afb93b93 Fix some ID spelling.
GitOrigin-RevId: cdd8cdb93696c690cf7bdb9b2df175bb926a7510
2020-04-19 13:45:37 +03:00
levlam
822bc95d13 Reget users to restore their online status after removing them from privacy restrictions.
GitOrigin-RevId: e29832c5a056cdc5708c02ce31e77570ff335ced
2020-04-19 12:53:07 +03:00
levlam
38de2b016e Never drop correct poll option and quiz explanation.
GitOrigin-RevId: 5cd600cd0bb1a5c4200eb74d62ace5da6425ca7d
2020-04-19 11:27:40 +03:00
levlam
fc3a8105a3 Add updateDiceEmojis.
GitOrigin-RevId: 8495528763939fda21e04eac8555aaed975ded62
2020-04-19 11:17:51 +03:00
levlam
d27bf642eb Add MessageDice::is_valid().
GitOrigin-RevId: 924ffa6d43cda4b32994f22b2300cf0f79ab7458
2020-04-19 09:47:37 +03:00
levlam
4a5320e2e5 Partial support of new MessageDice.
GitOrigin-RevId: 075d457a264bb00d28194e80b709205711b32c69
2020-04-18 08:45:41 +03:00
levlam
06135cccf9 Add parameters offset and limit to getTrendingStickerSets.
GitOrigin-RevId: 360c14f4cd357d23c3537ab26ee55a5b5ed29e81
2020-04-18 01:55:54 +03:00
levlam
b343e148e8 Do not iniitalize stickers manager before authorization.
GitOrigin-RevId: 497a09aeb0c7f8cadb00902d1ceeceaa144c0885
2020-04-17 16:12:12 +03:00
levlam
6225237cb9 Add td_api::updateStickerSet.
GitOrigin-RevId: 4c4299138929e45a2c5a044895f18bd49045256a
2020-04-17 15:56:57 +03:00
levlam
34eb79bbb5 Add StickerSet.need_save_to_database.
GitOrigin-RevId: 90a1be59896d9cc5c49af536f6329791de3fe9d1
2020-04-17 15:06:08 +03:00
levlam
3bcf9ad301 Update layer 112.
GitOrigin-RevId: 9d2b213ecf8a60ffa9af17512c026ee0c71730b6
2020-04-16 21:46:58 +03:00
levlam
4905a851f0 Add clear_draft parameter to inputMessageDice.
GitOrigin-RevId: 2ff67cf4fe198241f7713103f46d7d724d51e591
2020-04-13 14:18:46 +03:00
levlam
d83a85038f Add tz_offset support.
GitOrigin-RevId: 4b3a1b1d214bf163ce6a72901726fde4243adb50
2020-04-09 00:09:55 +03:00
levlam
54279d23cd Reget poll once after close.
GitOrigin-RevId: c92d691661bbdd63ca038fa2c35ed8ce04078c8c
2020-04-05 05:35:52 +03:00
levlam
16b372bbba Automatically close polls by timeout.
GitOrigin-RevId: 708729b3bb75397716ce6df1bcc0a5a7019145bb
2020-04-05 04:31:59 +03:00
levlam
b4efcc6697 Pass correct dialog_id.
GitOrigin-RevId: 0e81418d9ef01cc90f5550f42fe8ec26a1455c16
2020-04-04 01:13:59 +03:00
levlam
fda0fc0adc Improve Poll.open_period field name.
GitOrigin-RevId: 733b05bbb08cece27ddba88875e9a8493e974081
2020-04-04 00:05:35 +03:00
levlam
4e7cd24285 Add support for quiz explanation.
GitOrigin-RevId: ab4346fe3abe5c5abd7234d5b4b3937e995494af
2020-04-03 23:39:50 +03:00
levlam
bb75ea35da Update layer to 112.
GitOrigin-RevId: 9d18b24ce8aeb86624a61c04e55ca5b4a42634ce
2020-04-03 16:50:10 +03:00
levlam
5da08f8bb1 Remove unsupported include_sponsored_chat_to_unread_count option.
GitOrigin-RevId: dcedd9c37b8e5453590e092a3651456a4c62ad1c
2020-04-14 00:20:04 +03:00
levlam
65c6ac69eb Add get_dialog_public_order overload from DialogList.
GitOrigin-RevId: 9ac90c9f041a756b4adbd1c9e632f97cf43edf66
2020-04-13 04:48:21 +03:00
levlam
6dd455449e Use folder_id in MessagesManager::get_dialog_public_order.
GitOrigin-RevId: 70d6b38ceec67bdb3b0439454a9637f0d6178ee2
2020-04-13 01:39:47 +03:00
levlam
cd7a9d7b3a Fix updating of last_successful_force_reupload_time_.
GitOrigin-RevId: c213f39ba0bb75d541f8c007cebb4dfa81de03fc
2020-04-11 03:56:19 +03:00
levlam
97c9cdc996 Do nothing if pending profile photo is not changed.
GitOrigin-RevId: fe980a5902fb9407437c1df56f15a76a64fba319
2020-04-11 01:44:22 +03:00
levlam
737afc8c7e Move get_message logging to INFO.
GitOrigin-RevId: dd86fd3ca2d535fd3d6f2d2ce24cd69dbe5bb534
2020-04-11 01:08:55 +03:00
levlam
c044770022 Simplify messages.sendMedia creation.
GitOrigin-RevId: 8a8ad7b0e88e459f30104d2f6dd6084ddbac8a36
2020-04-10 04:16:50 +03:00
levlam
ba5e5f0ece Allow to reupload file again after successful merge.
GitOrigin-RevId: 46bc9d002f804fe6c39e1ba8844740141e0a6f9f
2020-04-10 03:43:35 +03:00
levlam
b3594169b5 Fix MessagesManager::update_sent_message_contents.
GitOrigin-RevId: 5265e6d357109065790d6b6e85ddee09d25b025d
2020-04-10 02:38:56 +03:00
levlam
00a70b466d Do not add file source from self-destructing messages.
GitOrigin-RevId: 5ac703d188ec532a52efa8549ee8c7e63a78a78b
2020-04-09 18:43:27 +03:00
Arseny Smirnov
5c0be2f24f FileManager: trying to cancel upload/download in run_{upload,download} before any other checks
GitOrigin-RevId: 3df57338d0a0fcec3fb04a11ff21b090909c9c83
2020-04-09 12:53:00 +03:00
levlam
8aae040e21 Return 429 from ImportContacts if no one was imported.
GitOrigin-RevId: 9fc2b4c929fc549872585df5f007504f8956e034
2020-04-08 02:48:34 +03:00
levlam
301ff466e1 Fix secret chats test.
GitOrigin-RevId: b8c4dca1b8937a8b07ce6fdd625b5a8f55284979
2020-04-08 02:27:53 +03:00
levlam
f42a955d75 Replace some offending characters in all strings.
GitOrigin-RevId: a942e9a71db7b5bc3c1be6b15f9b21d767c3d803
2020-04-08 01:23:05 +03:00
levlam
2cd73ca028 Skip empty contacts.deleteByPhones request.
GitOrigin-RevId: e9a2f30b9d2d149bcb699604e2fdb836e17c83ce
2020-04-08 00:54:41 +03:00
levlam
ad752d27bd Do not allow to set need_phone_number_privacy_exception to true for contacts.
GitOrigin-RevId: b769afe07d879334a608e6c6bb6034b39ed37b45
2020-04-08 00:49:18 +03:00
levlam
b6ac360875 Invalidate cache of users deleted from contacts to repair their online status.
GitOrigin-RevId: b6775e9156385d7ca80fe627b395053eed24b155
2020-04-08 00:36:57 +03:00
levlam
fef67252d1 Reload ChannelFull before getting channel statistics if needed.
GitOrigin-RevId: 0730f4a8411bf2e5e2841bc95f1960b6619742c6
2020-04-07 23:11:44 +03:00
levlam
1d8004d279 Add force to get_user_full.
GitOrigin-RevId: 182ab8a99142a12c51662ee0928480f6a3e03f91
2020-04-07 03:23:53 +03:00
levlam
9df4c5dcf9 Silence expected error.
GitOrigin-RevId: 1a9c9390b385e63ad91807ee6ed02e088b060154
2020-04-07 03:06:25 +03:00
levlam
4334f5e63a Remove unnecessary logging.
GitOrigin-RevId: 33419021cffedb85336c51b3d1f783ceeac9f415
2020-04-07 02:41:46 +03:00
levlam
3f6485fb39 Require ability to send stickers for dice.
GitOrigin-RevId: 61d61df0d56653d366ef82a86adb6e92046b8362
2020-04-04 02:45:36 +03:00
levlam
1e4c1f16b9 Fix handling errors to setPollAnswer.
GitOrigin-RevId: 686a76db9a69d7c19bda0c07d294ce9a448d09d4
2020-04-04 02:44:25 +03:00
levlam
1cb2141fee Add force to get_channel_full.
GitOrigin-RevId: 76bc8e90bc5aba1443739199800074bf52e7d8d3
2020-04-02 04:33:04 +03:00
levlam
d8f18bd694 Add MessagesManager::add_sponsored_dialog.
GitOrigin-RevId: 8d786b88b5d2e551988aebb164d787bff3f4ea5b
2020-04-02 03:03:17 +03:00
levlam
b99f88ed77 Move logging to a better place.
GitOrigin-RevId: a61a8c10179635477447eee7d222b3906545254c
2020-04-02 01:05:57 +03:00
levlam
bf7f9e9bef Improve logging.
GitOrigin-RevId: 6bc8d2e6a80629535839344f0832c871a5de5721
2020-04-02 00:43:54 +03:00
levlam
679bc7c84b Adjust first_database_message_id after receiving messages from database.
GitOrigin-RevId: 2b27f0eebf0fd0f30fb1231df50ee808933a6f21
2020-04-02 00:15:23 +03:00
levlam
c8345a6131 Drop database message IDs if failed to load messages from the database.
GitOrigin-RevId: 269e0e46b896d37188326275323f521261d727c5
2020-04-01 21:36:09 +03:00
levlam
84cd8a8e3c Load only 10 messages from database when repairing last message.
GitOrigin-RevId: f48e3418190b5253b53dfadab55a97a3ae61185a
2020-04-01 20:35:44 +03:00
levlam
3b2c06e520 Improve chat statistics.
GitOrigin-RevId: a55d3a62bbeded1000f58a348c1ab7225b85d39a
2020-04-03 03:53:33 +03:00
Fela Ameghino
81babdf915
Implemented chat statistics (#981) 2020-04-02 16:06:05 +03:00
levlam
d2b441f812 Disable profile photos debug warnings.
GitOrigin-RevId: abe2ea6b184027f6e23b1193d8d61e51ed580c65
2020-03-31 03:13:59 +03:00
levlam
aefab830b1 Use better type in static_cast.
GitOrigin-RevId: 6babad6d6340d428cf73cbbe914c3e1fd4b30040
2020-03-31 03:02:51 +03:00
levlam
2a1717cc18 Do not warn on chat version gap.
GitOrigin-RevId: 21afbfc8616ed851cf807a8210150dda6431ae95
2020-03-31 02:58:50 +03:00
levlam
f5ede0b528 Add debug warning in drop_user_photos.
GitOrigin-RevId: d886262d3d8fdff8cbb476a5e1b19e78f485b229
2020-03-31 02:50:50 +03:00
levlam
e65dddef7e Apply pending profile photo before getting full list of photos.
GitOrigin-RevId: e03d728b9ba9012662c819fce24dca591b659f41
2020-03-31 02:46:04 +03:00
levlam
09f2dc8e9d Improve error message.
GitOrigin-RevId: a0da9ac936aad83d95f1f13a18560728f9bf5ba7
2020-03-31 02:21:26 +03:00
levlam
62a9eac907 Suppress logging of MESSAGE_DELETE_FORBIDDEN errors.
GitOrigin-RevId: f131ae1323ba35367198f7b3e45f653bf84c29dd
2020-03-31 02:17:57 +03:00
levlam
29c81b4252 Warn on DcId change only for server locations.
GitOrigin-RevId: 04f11a63d84882f7c1ccd15a79845b7482c6a451
2020-03-31 02:16:23 +03:00
levlam
409fd70c15 Silence expected reply markup change warnings.
GitOrigin-RevId: abbc161a87e09cabebeadd13b50399f266d8fffc
2020-03-31 01:19:10 +03:00
levlam
8dd4358ad9 Improve comment message.
GitOrigin-RevId: 037a91723ebf80ce0540b2872cf7470858cb2708
2020-03-31 00:55:00 +03:00
levlam
bcc8dbc158 Use Global::is_expected_error whenever appropriate.
GitOrigin-RevId: aba8ee6e3dc1ab6e680a5ae10f6c3d217ab0a8dc
2020-03-31 00:35:58 +03:00
levlam
4cfb7c56d2 Add Global::is_expected_error.
GitOrigin-RevId: afa4741a772ad99844195a583ee40d3fc50fef4f
2020-03-31 00:22:52 +03:00
levlam
f432d403e7 Remove logging of some expected errors.
GitOrigin-RevId: 2a6e4704d57743da1dba740dc9333cc649c679ee
2020-03-31 00:02:43 +03:00
levlam
efd22eff7e Add temporarily debug warning.
GitOrigin-RevId: aaa63a04daac08c75a0210a7055054c9251e150f
2020-03-30 23:29:12 +03:00
levlam
7932ea08eb Invalidate list of poll voters if full list size is different from the expected total count.
GitOrigin-RevId: 544e9c4ae8b76bb10399c8370269940eb45a4684
2020-03-30 22:43:04 +03:00
levlam
e8e546a721 Fix retries in getBasicGroupFullInfo.
GitOrigin-RevId: acd566f171998c130f0e3a0544b11e6430148f07
2020-03-30 22:20:34 +03:00
levlam
10b1ac1c8a Remove wrong migrate prefixes.
GitOrigin-RevId: c42b3dd184d6da5b3316d36e4de409ee2e931965
2020-03-30 21:03:25 +03:00
levlam
f0d22df81f Fix hack with total_timeout_limit.
GitOrigin-RevId: c012eb2e24e3fda4647e7d9560029c2c69e314ab
2020-03-30 21:01:13 +03:00
levlam
aad96d536e Fix CHECK.
GitOrigin-RevId: 02effd6bbb16e7b84c9df3f47a98dad94844ddc7
2020-03-30 15:20:37 +03:00
levlam
a599557c9d Support some updates before authorization.
GitOrigin-RevId: 21bd7a06bf41ebc81005b35a0695988d82e6b4a3
2020-03-30 01:48:44 +03:00
levlam
12a6bc9c04 Rename Die to Dice.
GitOrigin-RevId: 16b7b2915163103891d9813e034762fb6a8f6bff
2020-03-30 00:34:37 +03:00
levlam
9679cef0bb Increase version to 1.6.2.
GitOrigin-RevId: 165c44595b49d153fbf4315953c8a8f3ee32bf87
2020-03-28 16:52:26 +03:00
levlam
ce4b2a5082 Add td_api::setCommands.
GitOrigin-RevId: 13284b798b074402096a1c6d8fd149d67ded0df1
2020-03-28 01:43:52 +03:00
levlam
f153539ea2 Support creation of animated sticker sets by bots.
GitOrigin-RevId: d75133cf70b667cbdf6dc555cc06f2b43f9c8609
2020-03-23 18:03:13 +03:00
levlam
2f850bc834 Fix warnings.
GitOrigin-RevId: 25c5aaaf29fd1284427f354291a6e664847413ea
2020-03-20 17:32:58 +03:00
levlam
05253ca35e Add td_api::setStickerSetThumbnail.
GitOrigin-RevId: 1083c307cf89744c4dcfa16f89eaec1d2660309f
2020-03-20 16:36:07 +03:00
levlam
e1ff669682 Add support for die messages.
GitOrigin-RevId: 2ce7260b01ebe12599831df785ec6d777ddbd10e
2020-03-14 19:56:39 +03:00
levlam
d6850e891e Add "animated_dice_sticker_set_name" option.
GitOrigin-RevId: b20ac808e74435c39acdb9f051ba11f77aa236af
2020-03-14 03:47:19 +03:00
levlam
3d07b45a21 Update layer to 111.
GitOrigin-RevId: 47862200a12f3b5b9e5058192d5e9a9cdca862aa
2020-03-14 01:56:47 +03:00
levlam
b89034d78b Fix disable_web_page_preview flag of copied messages.
GitOrigin-RevId: 7b4c01436ab4bb8375307e57dd7b702cea5c289f
2020-03-28 02:35:07 +03:00
levlam
8e666c2d7a Add has_message_content_web_page.
GitOrigin-RevId: 3bc382c77754a6a517616235d7b2572cfdfda607
2020-03-28 01:49:59 +03:00
Arseny Smirnov
36cc950820 RequestActor: add checks
GitOrigin-RevId: 16b850d775030948afcaea79695e5961d9652c70
2020-03-27 14:37:33 +03:00
levlam
a0a446f987 Correctly send updateChatOrder when sponsored chat changes.
GitOrigin-RevId: 0e2184406b689df860926817d4b4966869a5d05d
2020-03-26 19:04:48 +03:00
levlam
302485d673 Repair dialog action bar with delay to not receive outdated data.
GitOrigin-RevId: 74c3cb3ae95e5204153b91fd220b3e6b62bd87df
2020-03-24 03:47:33 +03:00
levlam
f0a8af3b2d Ignore notifications about messages, which can't be added to the dialog.
GitOrigin-RevId: 6e5780e843760b4ff39aee751249455b9d926b01
2020-03-24 01:49:04 +03:00
levlam
1310aa7f2c Improve logging.
GitOrigin-RevId: d1c9c742981fa37ebe691aa569e8b6a9fc50d3c1
2020-03-24 01:36:43 +03:00
levlam
ca585ad181 Do not hide live location edit date.
GitOrigin-RevId: feb0d2b9b642ee507770cc58a9ad06d37c833957
2020-03-24 01:33:50 +03:00
levlam
487cb20597 Ignore web remote locations instead of crash.
GitOrigin-RevId: 0ab5d749eeff28bc25befd6610038a7aa43206a5
2020-03-24 01:12:23 +03:00
levlam
2d9eb0c00b Do not create *Full if there is no corresponding User/Chat/Channel.
GitOrigin-RevId: 8f046c4fb85d5d406f59569a6be2ef7988d3e452
2020-03-24 00:59:14 +03:00
levlam
c5b7a92e78 Do not warn on animated sticker size changes.
GitOrigin-RevId: 256c201cb91e2ee99f23abd2464cc586a27d66c5
2020-03-24 00:36:22 +03:00
levlam
76558f0802 Add can_delete_message method.
GitOrigin-RevId: 87fd876f8155d6e93f1b2f50e03d610626c8ede0
2020-03-20 03:59:09 +03:00
levlam
c4023a3f9b Use KB instead of kB for 1024 bytes.
GitOrigin-RevId: 163ebf3f28f5e6f6710b3ff85bdfc21996c67acb
2020-03-20 03:20:07 +03:00
levlam
61d0b113d9 Do not add sponsored chat to ordered_dialogs_.
GitOrigin-RevId: b0b9f90f2018bbe4f32597cd5b4077056ac901e7
2020-03-20 01:15:15 +03:00
levlam
3caaddc98d Do not allow to pin chats not from chat list.
GitOrigin-RevId: 05cc829da14c54b73f7e5425c08647b70ddf2a49
2020-03-20 00:22:11 +03:00
levlam
33b87d1b13 Add MessagesManager::is_removed_from_dialog_list.
GitOrigin-RevId: a0d49b0a9c945110b6a7365489795c2fb9b73126
2020-03-19 23:52:09 +03:00
levlam
f14b83f367 Minor.
GitOrigin-RevId: cbffbf1a1918a86140c1b4b06a9e8a97627d46d3
2020-03-19 02:53:04 +03:00
levlam
0578d58d93 Minor improvements.
GitOrigin-RevId: 6c87ee82034d077c1f16f053948a0d89b4c2cd71
2020-03-19 01:54:59 +03:00
levlam
b9fd8fd5d6 More need_unread_counter usages.
GitOrigin-RevId: 50f1daa84a2e19a257a1f357454b3ea363afe1d4
2020-03-19 00:52:53 +03:00
levlam
443924ca11 Simplify MessagesManager::set_dialog_order.
GitOrigin-RevId: a91e590024087f71146637064b5a44a4a2da9960
2020-03-18 23:19:23 +03:00
levlam
fd10b27847 Improve logging.
GitOrigin-RevId: d03e6ce64b2e88389f0e3df1ecfec4efb5711e75
2020-03-18 20:51:02 +03:00
levlam
cd8c63f073 Simplify update_dialog_pos calls.
GitOrigin-RevId: 60f274d8149a650a04e2a9f289b7aba2992583b3
2020-03-18 19:41:18 +03:00
levlam
a1a7fc7a4d Remove unneeded function parameters.
GitOrigin-RevId: d7e13769e18a6949bbae73da050b664fe09cc1f0
2020-03-17 04:29:24 +03:00
levlam
62863e9280 Minor fixes.
GitOrigin-RevId: e7b9ea9cb76d5c65c00a5ca86c85c6c8984e1d3c
2020-03-16 22:00:44 +03:00
levlam
eea23e4255 Fix formatting.
GitOrigin-RevId: 9d7abcae840a94912b8c0316c37a2553a38fa864
2020-03-16 19:42:10 +03:00
levlam
7a649c23f1 Fix chat order comparison.
GitOrigin-RevId: bf16c396fd837410124b59ea97f2953dcefd0bbc
2020-03-16 16:32:27 +03:00
levlam
07d6f17f33 Fix dialog order comparisons.
GitOrigin-RevId: c3d0a23d3e8d894532fa2dcf708175242e715c80
2020-03-16 04:12:34 +03:00
levlam
784836f3b6 Decrease maximum total_timeout_limit for bots.
GitOrigin-RevId: 8d42ef41c28e8a5a276f4a1b6058c3391419146e
2020-03-16 04:09:17 +03:00
levlam
aac59710b4 Move fetch_result to corresponding files.
GitOrigin-RevId: e553631e87f81f466ce8ebc353820acd82dd8510
2020-03-16 01:42:24 +03:00
levlam
d06a786a16 Simplify NetQueryCreator and remove mtproto dependency on telegram_api.
GitOrigin-RevId: 2edfc9d6d80eab8716dfd3722f6aebe53dba1e47
2020-03-16 01:01:14 +03:00
levlam
b8848a2ab4 Simplify NetQuery creation.
GitOrigin-RevId: a01e72f8e196b405dd28dfd75d16cadc7127ec4a
2020-03-16 00:17:11 +03:00
levlam
2bd330a5aa Add NetQueryCreator.create_guest_dc.
GitOrigin-RevId: e8b0fffb5bb762ce288a9cbf1c446d584c7258e1
2020-03-15 05:22:43 +03:00
levlam
8d01251f8b Add NetQueryCreator::create_unauth.
GitOrigin-RevId: 79043a3662b0353f000f388b3ee2763abf49fe2d
2020-03-15 04:51:14 +03:00
levlam
c4c9e51157 Make all fields required in full NetQueryCreator methos.
GitOrigin-RevId: aa8ebb5cc46b9f3b7c0b606c012ace5fafe2bbf2
2020-03-15 04:15:54 +03:00
levlam
0d08895871 Simplify NetQuery creation in SecretChatActor.
GitOrigin-RevId: a6d00cb5175552f9aa6dc7b38462fc00eb5b78f7
2020-03-15 03:43:42 +03:00
levlam
ad3c28932b Remove manual Gzip flag specification in query creation; support uploaded files pack.
GitOrigin-RevId: 46ddfc230182615517eac7b611a79284559bd694
2020-03-15 02:49:10 +03:00
levlam
968689157c Make max_compression_ratio required parameter in gzencode.
GitOrigin-RevId: c787fdeae202d3b80944412e7db4209f35adcd07
2020-03-15 01:56:48 +03:00
levlam
b4138231ec Remove total_timeout_limit parameter from NetQuery creator.
GitOrigin-RevId: 5c5a15654176061a64c0f167633a7842192200ba
2020-03-15 01:44:21 +03:00
levlam
a157cbf8d7 Replace NetQueryCreator.create_result with create_update.
GitOrigin-RevId: 21523bbd42a847b26359e49d6b70556599319121
2020-03-15 01:24:11 +03:00
levlam
7d71ec447a tg_cli: remove file_reference logging from WARNING,
GitOrigin-RevId: 06483fd96b69f5ef74660adeec21e46fed99bbb3
2020-03-14 20:38:09 +03:00
levlam
3d85a7f304 Fix possible crash.
GitOrigin-RevId: 33fdfa3f92b9dfe393aac934f1307be00d7c308b
2020-03-13 02:50:29 +03:00
levlam
6518f0448c Fix warnings.
GitOrigin-RevId: 42ec38520b8ed0a040680df56750493bbe4eccc3
2020-03-12 20:34:06 +03:00
levlam
9c0f2b0b90 Add "always_parse_markdown" option.
GitOrigin-RevId: d2eaef75272af9073fac5f49c37643cd544f43e8
2020-03-12 20:20:59 +03:00
levlam
8ca5e11e3f Add draftMessage.date.
GitOrigin-RevId: 5fea574e388a14fed3186b5c97a2a830181d6e98
2020-03-12 19:56:42 +03:00
levlam
01de03a3ee Improve logging.
GitOrigin-RevId: 26f1002bdf0e437da17d5132e7a6963f39548fdf
2020-03-12 19:44:29 +03:00
levlam
9b01faa1fd Add logging on check fail.
GitOrigin-RevId: 98322776755f5155b450b27040679d778505298f
2020-03-12 18:37:25 +03:00
levlam
90d2203dab Improve logging on check fail.
GitOrigin-RevId: 91812e6f8c92ee58b503dd93126695b37f7c5950
2020-03-12 18:36:47 +03:00
levlam
9c67f42682 Add td_api::getMarkdownText.
GitOrigin-RevId: b463cc2c92052c552d66d774450ffa7bb4bc132e
2020-03-12 06:22:14 +03:00
levlam
ed7e486668 Improve parse_markdown_v3 test and fix parse_text_url_entities_v3.
GitOrigin-RevId: 337b87cbb885f92f30c9c95603b0ac37693d104f
2020-03-12 01:44:42 +03:00
levlam
ee0e60e097 Allow to output FormattedText to StringBuilder.
GitOrigin-RevId: 8ffffb2305ebe531f5dcb9118f9333367afb1238
2020-03-11 04:09:23 +03:00
levlam
1433b3d82a Do not allow to archive saved messages and 777000.
GitOrigin-RevId: 570ec48d7347ebaf4ea3a35847d95714b5fcf741
2020-03-11 01:36:47 +03:00
levlam
a0bf46a4d8 Fix wrong saved legacy time_diff.
GitOrigin-RevId: 4ab3c37713c8d2b1d9f469cea4b13f0aab7558ac
2020-03-11 01:24:07 +03:00
levlam
3e559e457c Improve names of RSA methods.
GitOrigin-RevId: b6f61f141987f282b5cf4faa9ff6cdf1219e8562
2020-03-10 18:27:43 +03:00
levlam
08a5f1b874 Add fast path for ". " in match_urls.
GitOrigin-RevId: 306419ea1e076f527e924721ef6caa4347c955ff
2020-03-10 17:53:55 +03:00
levlam
83cf2b3dd1 Add text_length function.
GitOrigin-RevId: bf58e5427e0c354e6fdddd4756e67cf7eeaf49a9
2020-03-10 17:43:07 +03:00
levlam
08d32673a3 Add sort_entities function.
GitOrigin-RevId: 0026fb224c77cd895ed8f5c38a99a267efb95f84
2020-03-10 17:38:07 +03:00
levlam
532567a475 Resort entities if needed after rtrim.
GitOrigin-RevId: f3124b2dc72e1b7858dde90133c5313025103603
2020-03-10 17:22:57 +03:00
levlam
718067e218 Remove wrong check from remove_invalid_entities.
GitOrigin-RevId: 843dea6a6668de87287a23532d95e9c6712c5b09
2020-03-10 17:06:22 +03:00
levlam
b2a175463f Improve logging on failed check_is_sorted check.
GitOrigin-RevId: 756039b50c69c4b3d5d07ff7b671801726e4a6dc
2020-03-10 16:43:09 +03:00
levlam
6417510d51 Return all entities in get_message_entities.
GitOrigin-RevId: b08c7a9ab0cfa9a78e450d5cbf3567203abd7d67
2020-03-10 03:51:56 +03:00
levlam
1068cac8f0 Add synchronous td_api::parseMarkdown method.
GitOrigin-RevId: 89f59eda7076959a6bed9db006f895298e2fd66c
2020-03-09 23:55:32 +03:00
levlam
c04ae16bda Fir readin histoyr delay.
GitOrigin-RevId: 816dde71f13aefa00750ab9cb4baea455de40c9d
2020-03-08 02:32:24 +03:00
levlam
5ae8f3bc43 Do not delete files from being readded message.
GitOrigin-RevId: cccec0ad3b816f400b7fc61d510719ef9f78e90f
2020-03-07 21:00:10 +03:00
levlam
35bc27c028 Do not warn on wrong unread counter in nonjoined chats.
GitOrigin-RevId: f81f747679a9beab19defeb6ab36d9c5ed0ca6ea
2020-03-05 20:12:50 +03:00
levlam
f8abeef8ad tg_cli: add spgttl and SMU.
GitOrigin-RevId: d9dc7e88a596faea73852bdb97f58b14a134c41b
2020-03-05 20:11:35 +03:00
levlam
d11882c0cb Prefer continuous ranges as a bank card number.
GitOrigin-RevId: 77eb573fd9580cd79964cecfe879a91178d5a43c
2020-03-05 16:56:17 +03:00
levlam
22c1a88a79 Add support for back to top anchor links.
GitOrigin-RevId: 4d1c15db95eca645e90df08e19b8cefd569ee158
2020-03-05 03:36:30 +03:00
levlam
82e43bc7eb Add url to richTextRefernce/AnchorLink.
GitOrigin-RevId: 68d814307eb4906c0429cd6674939460b6b9173c
2020-03-05 03:24:57 +03:00
levlam
cc8d876589 Add ignore_default_disable_notification option.
GitOrigin-RevId: 9386d08601bce5b6cd3ef3413033439a30f99362
2020-03-05 00:17:19 +03:00
levlam
afde9cf6b8 Add anchor to referenced texts.
GitOrigin-RevId: 035ed463fc05184e8ff1df1dd9460cd894569c9c
2020-03-04 16:38:22 +03:00
levlam
5e2ad0a814 Never return self twice in searchChatMembers.
GitOrigin-RevId: 79b104de48f8b0e20c9110fd57e5e9a5bc847e87
2020-03-04 03:35:49 +03:00
levlam
692fddfe91 tg_cli: allow username as supergroup_id.
GitOrigin-RevId: ffd0fcdd4e17be3151aeb3cd5e3c51e466e68c59
2020-03-04 03:10:50 +03:00
levlam
5bea5f83b2 Better error message on incorrect inputMessageContact.
GitOrigin-RevId: 0bd74bbb6cd42b6a68d436e8f40317a4ed180972
2020-03-04 01:45:37 +03:00
levlam
f752f3fade Fix warning.
GitOrigin-RevId: e36b575836941252e7c91d6fcf9498d80af9977b
2020-03-03 16:21:46 +03:00
levlam
4f402851b2 Hide drafts in chats, to which the user is unable to write.
GitOrigin-RevId: 7d50bacb483e726b7d6464168b849933f2b898f0
2020-03-03 15:55:23 +03:00
levlam
bb02dfacd6 Add protection from references inside richTextReference.
GitOrigin-RevId: 2ed62fd49af95559c3e8453ee03374106d08b7d5
2020-03-03 01:33:06 +03:00
levlam
0ab2b00533 Use display_url instead of url for domain detection.
GitOrigin-RevId: e966418ddd25b33dc878b19f3e77f589e9db777a
2020-03-03 01:24:25 +03:00
levlam
fa475244f7 Add support for Youtube hashtags in WebPage description.
GitOrigin-RevId: 51819b0adacd5bb32748bcbf46c8152eaa29079b
2020-03-03 00:53:15 +03:00
levlam
5dee42c734 Improve handling of Instant View anchors.
GitOrigin-RevId: 9293ea4c1c7f4767c7f91421b3719e00d836470c
2020-03-03 00:40:52 +03:00
levlam
c36b6948b0 Add explicit Context to WebPageBlock methods.
GitOrigin-RevId: b3e9b9994091e16ae789311ed598067ae5f1fa3d
2020-03-02 22:31:01 +03:00
levlam
ae5588bf11 Make webPage.description a formatted text.
GitOrigin-RevId: b64cf0e915f9fdeeadc8cdee8280fcbb236c92bb
2020-03-02 16:05:18 +03:00
levlam
7ec4c26514 Improve error messages.
GitOrigin-RevId: 336ef2751e51381c4dd7905ef5b050b691b91e08
2020-03-02 12:52:13 +03:00
levlam
a1e93ebba5 Add optimizeStorage.return_deleted_file_statistics.
GitOrigin-RevId: f7533781027891624017c605b1d3ac3e91da5086
2020-03-02 11:59:47 +03:00
levlam
bd0621eeff Optimize adding new files to FileStats.
GitOrigin-RevId: bceb6a4540f45339fed92c1a83b19d1981634836
2020-03-02 02:55:08 +03:00
levlam
0b30530260 Minor file GC improvements.
GitOrigin-RevId: a14b6e219ad90537875108b3e42473bf33267855
2020-03-02 02:41:47 +03:00
levlam
751dae9e64 Remove now unneded dummy parameters.
GitOrigin-RevId: 4ffd517ab80431c0d52b2c0a1b01b0216383aefd
2020-03-02 02:15:12 +03:00
levlam
dc89a85449 Remove view counter from sent scheduled messages.
GitOrigin-RevId: e6d17a4f740708d8e1e29fdec67b73dad5b4716e
2020-03-02 01:33:28 +03:00
levlam
01bb9073d8 Fix warning.
GitOrigin-RevId: 8f4e58bed82ba340b440f4cfd828e8a9cd6884ea
2020-02-29 21:57:42 +03:00
levlam
c0c87e5560 Add notificationTypeNewPushMessage.is_outgoing.
GitOrigin-RevId: c7ef758bef2b49cd08cab73520c2814e039e2154
2020-02-29 21:42:02 +03:00
levlam
44b31537aa Add "disable_sent_scheduled_message_notifications" option.
GitOrigin-RevId: ad57858024b07b51b89d7b3c28faf20c3e7577da
2020-02-29 21:17:30 +03:00
levlam
0a5d563a2f Fix MessagesManager::get_next_yet_unsent_scheduled_message_id.
GitOrigin-RevId: 2a3a76652e809d46b5395f8cfd505ae625e30459
2020-02-29 20:36:49 +03:00
levlam
d83d8a4977 Supress updateNewMessage for scheduled messages from database and received before first return of the scheduled messages list.
GitOrigin-RevId: e04e707c23259ce1ea9b651164ddf7df91ccb4a1
2020-02-28 23:01:30 +03:00
levlam
dd6e52418c Better repair of has_scheduled_server_messages.
GitOrigin-RevId: eb1ebac91773ce3a7306a252afe98d2a1a9686fa
2020-02-28 21:40:31 +03:00
levlam
cf8254b2c9 Update has_scheduled_server_messages after receiving all scheduled messages.
GitOrigin-RevId: 5eb7947469f5470c4670c9d2db794d07cd81dcce
2020-02-28 17:39:26 +03:00
levlam
e48199f6c0 Add get_dialog_has_scheduled_messages.
GitOrigin-RevId: 1733e3d3878950e196a2f7a31436f16c5ec4c6d0
2020-02-27 22:39:06 +03:00
levlam
5fef27af1b Add parameter force to get_dialog_scheduled_messages.
GitOrigin-RevId: 1876be0d4de852aa3508810c491e3bb073ae0384
2020-02-27 21:31:19 +03:00
levlam
fe462698bc Repair scheduled messages after deletion of last known scheduled message.
GitOrigin-RevId: 5ccb76b94ed954d7067033a932e248501b8e2fd0
2020-02-27 21:15:55 +03:00
levlam
92df8f9827 Remove unneeded brackets.
GitOrigin-RevId: 0b8a2ae21d28e6c276db8b45ffb4d127800f5d73
2020-02-26 18:15:19 +03:00
levlam
c3f802f55f Monor fixes.
GitOrigin-RevId: 54ffc796bf71a9337476e2d2c43b3b83da53487a
2020-02-26 17:42:56 +03:00
levlam
24e2dcd590 Reregister edited scheduled messages.
GitOrigin-RevId: 72d2f5804fb6fb7dc5e4fb026dd1ef6640ee63f6
2020-02-26 16:26:25 +03:00
levlam
63f8828003 Fix Mozilla DNS.
GitOrigin-RevId: fe9b90187b5c688272ef399799b7faa029cdcd95
2020-02-26 16:17:43 +03:00
levlam
801137dcf3 Repair scheduled messages after receiving opposite server flag.
GitOrigin-RevId: 5cead2b4fd6c52835b5dc775efaa9c855d72feb3
2020-02-26 00:28:03 +03:00
Arseny Smirnov
8e0baa9b16 get_emojis_fingerprint: simplified, uses bswap64 now
GitOrigin-RevId: a5ac0742dfa45fc9fb59e75d8cfd302fe666f483
2020-02-25 12:47:31 +01:00
levlam
c407b244a0 Prevent extensive pinned message loading from the database.
GitOrigin-RevId: 4365b7bf0c95a89f616731a78017a2f4a15bd1d9
2020-02-25 05:14:43 +03:00
levlam
e14d15196c Repait broken entities instead of clearing.
GitOrigin-RevId: 7044b000997b7415f55caa1610c418a76c7ea793
2020-02-25 01:46:30 +03:00
levlam
4cb43a2786 Add support for entities in captions of incoming secret chat messages.
GitOrigin-RevId: 126de54c7b346431fc901a953fcc72f3bc88985c
2020-02-25 00:30:47 +03:00
levlam
0d45de3ffb Add support for entities in captions of outgoing secret chat messages.
GitOrigin-RevId: a7267004625b2c1d7235d961ade06587f107420a
2020-02-25 00:07:39 +03:00
levlam
182caecccc Simplify get_message_content/get_secret_message_content implementation.
GitOrigin-RevId: 833a59386271a665050c57b5737a12bd2e336f97
2020-02-25 00:06:29 +03:00
levlam
81d0172f33 Correctly merge new entities.
GitOrigin-RevId: 6ca976a3c17030cffb0c32119389ea5a8c1050ff
2020-02-24 20:26:08 +03:00
levlam
419ecd5904 Remove useless forward declarations.
GitOrigin-RevId: 4cc2b0e76ff6af8408a261858292053c7b15a17a
2020-02-23 23:00:51 +03:00
levlam
c5f3b2223c Add more logging in to_unix_time.
GitOrigin-RevId: 1e191c31e4be4a29584844f27b098a21811daffd
2020-02-22 19:31:08 +03:00
levlam
04a002d9f3 Add source to register_message_content.
GitOrigin-RevId: 035429321a0fa15ea8918c634b19f12c21fc1d61
2020-02-22 19:21:58 +03:00
levlam
283a82cfa3 Disable automatic dialog action timeout in chats with bots.
GitOrigin-RevId: 69e0d54d329a2bef15269623d14e0770dffd120e
2020-02-22 19:03:52 +03:00
levlam
adfedb169d Move some logging from INFO to connections.
GitOrigin-RevId: 304da251bcc1860e8b13fb0c38077a9c7d44c13c
2020-02-22 18:53:56 +03:00
levlam
8bece302a8 Fix network stats since_date by authorization date.
GitOrigin-RevId: 6842226e768d1d500e60eec1491b6adbda1098a5
2020-02-22 18:46:16 +03:00
levlam
6a56320b06 Fix saving new channels to database.
GitOrigin-RevId: 77074cfbec8299dfc0be9ba70a79afc1e7c3256a
2020-02-22 17:04:15 +03:00
levlam
6b21b27cae Add random fix_formatted_text test.
GitOrigin-RevId: 35d2bf822bfebe4221a3495bb83fb2555a984a1c
2020-02-21 16:22:40 +03:00
levlam
185d0fd22f Add more fix_formatted_text tests.
GitOrigin-RevId: c24e52c88921226d63fead4dbf7331921bd8f185
2020-02-21 14:56:26 +03:00
levlam
962ea55765 Support splitting and combining entities and Blockquote entities.
GitOrigin-RevId: ebbc6988020afda9dded513f16ab1f7ca3b9ea35
2020-02-21 12:38:24 +03:00
levlam
48b9f38d4a Return error on incorrect text entities.
GitOrigin-RevId: 46862113571eb16a80ef3bcdf3a6352593dee0dc
2020-02-20 02:26:36 +03:00
levlam
b80bb038d9 Copy channel.member_count from database.
GitOrigin-RevId: 84c8dd3fda25029d882dc84989499c0416cfc2e2
2020-02-19 20:24:37 +03:00
levlam
dafbedaefe Improve reading chat history.
GitOrigin-RevId: 82e2fc0ca2cbf1c59507fb74120732433ac15603
2020-02-19 20:02:42 +03:00
levlam
9862652e14 Use the exact file size instead of the real file size in fast storage statistics on Windows, because the real file size is smaller then expected before the file is synced.
GitOrigin-RevId: 451231c899c1b6c6b80b46e2cb42bd3b94def0a5
2020-02-19 17:57:30 +03:00
levlam
58dc8dd207 Fix initialization order.
GitOrigin-RevId: 659420ed3d74c5980a0a577ffbd78fdcfbee6fb2
2020-02-19 05:26:45 +03:00
levlam
e72346cb6f Make repair_channel_server_unread_count persistent.
GitOrigin-RevId: f99be75116f3e5bbfa2224d74723ec4fa5feaa91
2020-02-19 04:14:58 +03:00
levlam
9be2629d24 Update unread_count id last_read_inbox_message_id is not changed.
GitOrigin-RevId: 0c0d82d21ab4401748dddecd26f5a2e544a410a7
2020-02-19 04:02:56 +03:00
levlam
e8af355da9 Do not try to repair unread count in chats not from the chat list.
GitOrigin-RevId: e0743710087c8f35b2772bbac13f1ddad82cc2a3
2020-02-19 03:26:37 +03:00
levlam
fb37825688 Fix last_read_inbox_message_id received through getChannelDifference.
GitOrigin-RevId: 393c920b8c1ff4e5b3469bf8f605111df22c86cb
2020-02-19 03:16:57 +03:00
levlam
6356d8193c Repair again server unread count until it is successfully repaired.
GitOrigin-RevId: 6ec55caaba86e8374a56aeeb22c6486a5b19f508
2020-02-19 03:09:18 +03:00
levlam
6c34d4628d Add source to set_dialog_pinned_message_notification.
GitOrigin-RevId: db3c87f7a5b9c36db19db8346161d95e72a78bbf
2020-02-18 20:28:16 +03:00
levlam
1f01e5ad43 Additional case for pinned message preloading.
GitOrigin-RevId: 038c9b4c1242afaa87487af8c4e4c51be24af537
2020-02-18 20:17:16 +03:00
levlam
c2526c67c8 Add sender_name to notificationTypeNewPushMessage.
GitOrigin-RevId: 6fd18136c30e23787e4c7e60ad8c8e81c12eebb3
2020-02-18 16:04:37 +03:00
levlam
545ed2a683 Increase version to 1.6.1.
GitOrigin-RevId: d6886dc57f9f9ae3ceb3659810ea4b4afdc25f1b
2020-02-16 00:54:03 +03:00
levlam
1ead70a883 Fix warning.
GitOrigin-RevId: 4beca3cc956fcee81cc96beffb1630c11c5b1a98
2020-02-15 22:42:19 +03:00
levlam
7b87d84c39 Add find_bank_card_numbers test.
GitOrigin-RevId: 0905d918980d52267fb5cfea627737d22c8ea1d2
2020-02-15 04:07:19 +03:00
levlam
bde94f0940 Simplify adding new entities.
GitOrigin-RevId: 9595a284ae710299161bab639df10f49d49cb386
2020-02-15 03:24:56 +03:00
levlam
824c861e7a Implement find_bank_card_numbers.
GitOrigin-RevId: b77bf505ad4522dcadbb27cacfe62f5a88c3cf44
2020-02-15 02:27:31 +03:00
levlam
3aa55a2e89 Add setLocation method.
GitOrigin-RevId: 43fef89f4d2175cf9ec5a20409979c988e781a28
2020-02-14 16:17:45 +03:00
levlam
3153e72d2f Add is_location_visible writable option.
GitOrigin-RevId: 1960a28d395c28a381be2bfd4ee739c473f0ea43
2020-02-14 15:44:56 +03:00
levlam
77de3d9f48 Simplify more methods implementation.
GitOrigin-RevId: a70f40f7b8917b3a41fd26476d357c0ad63ab062
2020-02-14 01:20:33 +03:00
levlam
6c29a4c54b Improve error message.
GitOrigin-RevId: 327d6a2e7ef2335a2e8fcaf5db9b5faa4b960622
2020-02-14 00:45:04 +03:00
levlam
f15542b5df Simplify some methods implementation.
GitOrigin-RevId: 64ffbbf56f47d32de8bf97603611c4edffeddc00
2020-02-14 00:42:03 +03:00
levlam
f253a343b8 Simplify getAccountTtl implementation.
GitOrigin-RevId: d8ae4d8ed79a84497deaa039bc86c5c672da51f2
2020-02-13 19:28:42 +03:00
levlam
a5aaa4d0f1 Add getBankCardInfo method.
GitOrigin-RevId: 1c3c6f5dae3bd197c9aa6998836ffada58f8a094
2020-02-13 19:20:34 +03:00
levlam
30eaa49ffd Update layer to 110. Add textEntityTypeBankCardNumber.
GitOrigin-RevId: 2d525fb0b6639f6b803d381a97f47bd91a12e23e
2020-02-13 18:07:40 +03:00
levlam
6361ca9529 Fix password checking.
GitOrigin-RevId: ecb16cf14bab52209a1fb85c40195006c5968045
2020-02-13 04:18:38 +03:00
levlam
fa457236e0 Ignore duplicate auth notifications.
GitOrigin-RevId: 103e8ca99f2b2e35455ccd426a415177287bd814
2020-02-13 03:03:50 +03:00
levlam
a7e6deeab5 Add more checks that updateNewChat was sent.
GitOrigin-RevId: deaaef2b986c3d780ad7f06007b2719ff34d7a65
2020-02-13 01:22:25 +03:00
levlam
fb0bf583ea Better log messages.
GitOrigin-RevId: 75b00311ddb4775305ca235f5276d5b0dd328bf1
2020-02-12 20:25:39 +03:00
levlam
6fa11510e0 Add more DC migrate prefixes.
GitOrigin-RevId: 78a225cc24dc41e1f7c716d465f973d637d5ce7b
2020-02-12 20:01:27 +03:00
levlam
9964c011ec Allow report private chats with users sharing their location.
GitOrigin-RevId: f1b546ea71a534436e487d4a644b4001bd274e09
2020-02-12 03:05:54 +03:00
levlam
190419bf8b Early exit from fill_gap on closing.
GitOrigin-RevId: 1c31a0a673ae9aa6b091361cd3f86a2f3b6a40f2
2020-02-10 02:56:32 +03:00
levlam
945a3a1dc3 Fix applying of postponed updates.
GitOrigin-RevId: 924efd81a5dfd4235f55a0ddfdf1c94b76fd8dd2
2020-02-08 23:31:27 +03:00
levlam
660acfef22 Allow outdated unacceptable updates to avoid getDifference after trying to apply every such pending update.
GitOrigin-RevId: 61944ec2b4e81fa2ca61bee5887220964e0c9cbc
2020-02-04 04:06:20 +03:00
levlam
d56696c9da Better logging on applying postponed updates.
GitOrigin-RevId: b42003117c3a4cb7bf3bed8485dad4a04ca94938
2020-02-03 20:13:37 +03:00
levlam
cb06867664 Do not warn about empty profile photos without access hash.
GitOrigin-RevId: 37700459f403505fdfc9099f4916ea34b970c95c
2020-02-03 17:31:29 +03:00
levlam
c41640df44 Workaround MSVC 19.4 Internal Compiler Error.
GitOrigin-RevId: 8fcb018f353bbf1d68d2e0253d4472656d196845
2020-02-01 07:43:54 +03:00
levlam
278c7acdec Increase version to 1.6.0.
GitOrigin-RevId: baab600dbf0b3f4014b836e06da09b9b825181d4
2020-01-31 03:47:49 +03:00
levlam
4f7763f6fb Add a comma,
GitOrigin-RevId: 37194c038eb13d2e6246ffb374dc3cea4c14478e
2020-01-31 03:47:28 +03:00
levlam
a72bf60049 Fix clang 3.4 false warning.
GitOrigin-RevId: 39f7789760311a99cfad31451335d6eda5cbdf21
2020-01-30 04:56:08 +03:00
levlam
c2bd1ef4b0 Minor.
GitOrigin-RevId: 297f9332431ae7b3e1b3578ea61e6a59d5cfd068
2020-01-30 01:50:28 +03:00
levlam
488437ff3b Add more debug logging.
GitOrigin-RevId: d48a29d6fd53da7790656a4de1459d8354e79f20
2020-01-29 02:38:04 +03:00
levlam
8539d43951 Silence warning about wrong message entities for messages from albums.
GitOrigin-RevId: 13a60e258ab6aae8c80d5ea4cd8bb7037f56985c
2020-01-29 02:05:12 +03:00
levlam
5e0df6f352 Remove unused variable.
GitOrigin-RevId: 82b19ad7cbc3ef47e88e593919274d820ec77e3b
2020-01-27 17:09:12 +03:00
levlam
9f82e847f3 Do not include MessageContent.h in MessagesManager.h.
GitOrigin-RevId: 7fb80f10bbc2a51a971b60ab470b6f9c8c249672
2020-01-27 16:10:59 +03:00
levlam
c07225c371 Add MessageContentType.cpp/h.
GitOrigin-RevId: 3e9390cea6b566980f7d2d8a7d5efa9b81ec2434
2020-01-27 16:06:00 +03:00
levlam
e60cf58d68 Reget profile photo on LOCATION_INVALID.
GitOrigin-RevId: ca1b929d21537a403d1893bcb79c1a7a61694ad7
2020-01-27 14:39:19 +03:00
levlam
a89654c3a9 Remove some debug variables.
GitOrigin-RevId: 98b80744574adaa92dea450db049cd166565fc48
2020-01-27 14:28:18 +03:00
levlam
4293e4bec1 Fix some includes.
GitOrigin-RevId: 760f9d7e09881bfc061a78118008cf7fdf4660f4
2020-01-27 04:54:01 +03:00
levlam
4a1125887a Move update_used_hashtags to MessageContent.cpp.
GitOrigin-RevId: 67b8a3defbc9f2249dff0d57a40bd42ec743cd39
2020-01-27 03:34:23 +03:00
levlam
e666d10c8d Do not include TopDialogManager in MessagesManager.
GitOrigin-RevId: 364ebfc86bc49d8b64a60a82a3383210531774c3
2020-01-27 03:25:23 +03:00
levlam
985e051bbe Add TopDialogCategory.h.
GitOrigin-RevId: ce481612a17e38268b8b2c3a9d7b9ebad5cb572d
2020-01-27 03:19:54 +03:00
levlam
c36d45153c Move resolve_dependencies to Dependencies.cpp.
GitOrigin-RevId: a14d38050af2a7d24f87642e63147642603a7ea5
2020-01-27 03:09:05 +03:00
levlam
129f96da69 Send updateMessageContent when WebPage is changed.
GitOrigin-RevId: 8e20fd788a4f5333f686d96241459774319ac8d7
2020-01-27 02:55:18 +03:00
levlam
9f2870a5a0 Do not send updates if web page is not changed.
GitOrigin-RevId: 4626b571aca295c6fd3d35f10a2494aafb34f581
2020-01-26 04:59:19 +03:00
levlam
eae92b214a Really fix too long TLS-proxy domain.
GitOrigin-RevId: a07726e8bb75b467d26043d6c9b4ad834a961567
2020-01-26 01:22:07 +03:00
levlam
182e8d29f0 New domain for DoH.
GitOrigin-RevId: 0ff1b52e9b8fade7ffa50e099789dcb3d12914ec
2020-01-25 23:36:49 +03:00
levlam
f2a4d70865 Register scheduled message contents.
GitOrigin-RevId: 1942ff1c3976ee24969d1c25a94fb89639ffa906
2020-01-25 04:00:43 +03:00
levlam
67e4871ea0 Add reregister_message_content.
GitOrigin-RevId: 53c250a8e805dba37dc4ee255472935762ee609a
2020-01-25 03:50:23 +03:00
levlam
3a78a9160b Improve logging.
GitOrigin-RevId: 0031ef075ec02edf1257674fa69412609eaec4d7
2020-01-24 16:43:37 +03:00
levlam
59f938405e Restrict proxy server name length.
GitOrigin-RevId: d2e18866ff7fd977655cf27c3295b716237d92c7
2020-01-24 15:57:28 +03:00
levlam
2f9db6e6e6 Improve error message.
GitOrigin-RevId: c61623277759527102a48d2e6b8992ee87c90beb
2020-01-24 06:33:47 +03:00
levlam
c08084b1e6 Apply correct_option_id from closed min-poll.
GitOrigin-RevId: ef1641a295c1022ee6d4cec9a28e30927f25e85b
2020-01-24 04:43:19 +03:00
levlam
970cbe1c97 Do not call get_active_live_location_messages while adding just loaded from database live locations.
GitOrigin-RevId: 078ed7af9e7f31eaf207751b25542c224c851f82
2020-01-24 01:16:18 +03:00
levlam
84ecdac7be Resave live location list if some locations expired.
GitOrigin-RevId: 35b949ff6735f4a060a1c7e4af6153eb607d1962
2020-01-24 01:14:43 +03:00
levlam
590e8efcb4 Improve logging.
GitOrigin-RevId: 1cef0e92ceb9cec005ebb693303d8fd808338771
2020-01-24 01:08:21 +03:00
levlam
1dfeb5d176 Fix updating server_time_diff.
GitOrigin-RevId: dfc1b558a4724a49daef145bc69f5a8f3d834124
2020-01-24 01:07:53 +03:00
levlam
6b1ef9d66d Fix SplitSource build.
GitOrigin-RevId: 8a59347e5f18e5774111c85be0ac5e6045eb59a9
2020-01-23 17:49:51 +03:00
levlam
d2763fdd58 Ignore inputMessagePoll.is_closed for non-bots.
GitOrigin-RevId: a83389a7ea330c53e4c578a0d21701f0550844b7
2020-01-23 03:53:58 +03:00
levlam
ab8752cd20 Fix assigning of min_access_hash and phone number of min-users.
GitOrigin-RevId: 88662f9efba97d7679af7950782a98afc75470e9
2020-01-23 02:56:08 +03:00
levlam
7bc9e93581 Always send video by bots using inputMessageVideo.
GitOrigin-RevId: eccc660e7c91139386a144db52c8f44719401bd2
2020-01-23 00:21:23 +03:00
levlam
32b3a75676 Allow bots to send closed polls.
GitOrigin-RevId: 9ba80686140dd2a9d909a9f7add53a8cd69bea90
2020-01-21 18:09:15 +03:00
levlam
8366da5ca1 Remove linked channel after receiving CHANNEL_PRIVATE.
GitOrigin-RevId: 50dd9ba04261c10d3f3dd13bda4c78357949d442
2020-01-21 16:15:32 +03:00
levlam
e6b209fb72 Support QUIZ push notifications.
GitOrigin-RevId: 34e2e7c364b2670861900ce8371534d0ab368afb
2020-01-21 04:29:35 +03:00
levlam
16bf911dde Update layer 109. TON-related requests was removed.
GitOrigin-RevId: 7b6cba050a43aab728928e145829a402a055df52
2020-01-20 01:52:46 +03:00
levlam
359153c212 Fix need_delete_file for outgoing messages.
GitOrigin-RevId: 51ac837238bec39b12caeb6cc2ec28e5ca6c8cc3
2020-01-19 04:55:15 +03:00
levlam
075b6f909f Recalc unread chat count after receive of first chats.
GitOrigin-RevId: a69510e2078d61647619b3d53505148d2005ce5c
2020-01-19 04:19:25 +03:00
levlam
8350443093 Add limit to getPollVoters.
GitOrigin-RevId: 7f782124e111680b3b726685d6633e79f3d3b60f
2020-01-18 07:01:05 +03:00
levlam
8ea7e4eccf Fix getMessageLinkInfo for messages in unknown public chats.
GitOrigin-RevId: 7c8b1e0d09d27d96afa930fe5101128c4084fb08
2020-01-18 02:20:28 +03:00
levlam
7d2eb31731 Do not apply correct_option_id from min Poll.
GitOrigin-RevId: f9a21119573ff591d1d710839a329ae916654b02
2020-01-17 20:29:56 +03:00
levlam
faef50b444 Increase approximate entities fix date.
GitOrigin-RevId: dac6e89c9804e74233316c62f23f01c64198965e
2020-01-17 03:13:18 +03:00
levlam
cde26abe1e Add and use can_have_input_media function.
GitOrigin-RevId: f40cb99154f6429f071dc9785f94a62322ef123e
2020-01-16 06:10:08 +03:00
levlam
4ec628fc78 Add Game::has_input_media.
GitOrigin-RevId: 13be31df3a93d495628f64d7cedc767a6e030a68
2020-01-16 05:18:06 +03:00
levlam
b9d1b80f6a Do not remove file reference from remote.id.
GitOrigin-RevId: 3c934cec452f4ca4147aa81711fcd0ac1fee964a
2020-01-16 05:09:25 +03:00
levlam
06eb99d4d0 Return back correct file_id version.
GitOrigin-RevId: 53572782a4f54512022ce8e065e546a850951302
2020-01-16 04:56:45 +03:00
levlam
cf019bb59c Clear invalid file references loaded from database.
GitOrigin-RevId: 12d060ea93146f62190d9fa97421a7931cf29b8d
2020-01-16 04:52:36 +03:00
levlam
66bd2bfe60 Return typings for users with hidden online status.
GitOrigin-RevId: 6794e84c2ad0b497901d95b10e7e787b02ecfaa7
2020-01-16 04:42:12 +03:00
levlam
7f4593e21b Simplify json_array usage.
GitOrigin-RevId: 991f180938424074b41a858b125268d5a10fc8ac
2020-01-16 04:32:02 +03:00
levlam
9b16d530fd Return accidentally deleted call to cancel_user_dialog_action.
GitOrigin-RevId: c069dfd631a28363ad4d5f237ac1628ef8c5eb5e
2020-01-16 04:08:54 +03:00
levlam
fb215a0287 Fix quiz copying.
GitOrigin-RevId: f92b11f5327b7f6f67cb7e67ea7ee282a5f5cb23
2020-01-15 05:42:10 +03:00
levlam
695782fa84 Disable back sending polls to saved messages.
GitOrigin-RevId: 7ad07014892a38c542c6c8ef8962c92a8afc3bd6
2020-01-15 03:13:15 +03:00
levlam
d6b87bd121 Fix TODO in can_resend_message.
GitOrigin-RevId: 87830112e4e9f711774615d0038271892958a191
2020-01-15 02:58:34 +03:00
levlam
7ffd9ad7c9 Move checks for Game message content in dup_message_content.
GitOrigin-RevId: e9d5ad1216c5178b4990b4f17bc5c808cd70cb6f
2020-01-15 02:44:24 +03:00
levlam
ebaea15679 Introduce MessageContentDupType.
GitOrigin-RevId: 06e0728b6853f0c7ec065a1b5eba8e448a8e9835
2020-01-15 02:11:26 +03:00
levlam
4317cc3ef5 Add content checks after dup_message_content.
GitOrigin-RevId: cba1a103b02381490561213391e95f0e4aa08d64
2020-01-15 01:45:59 +03:00
levlam
fa31f168b5 Update layer 109. Add keyboardButtonTypeRequestPoll.
GitOrigin-RevId: eae6bb600cef6eb4d9386c4dc2a762d065b1fa09
2020-01-14 20:18:35 +03:00
levlam
f3130ea7fb Update layer 109 scheme.
GitOrigin-RevId: 224d93e4569e849567554961da097c8dc84ab907
2020-01-14 17:16:36 +03:00
levlam
705af5fe73 Change fields order in Poll class.
GitOrigin-RevId: 40127abecdd1b9158c5646a5f93e33b4cf6f5b73
2020-01-14 08:30:15 +03:00
levlam
bbd401491b Simplify check_url.
GitOrigin-RevId: 5d00738d5eb8d7e18c9b462670e381720f1eda2c
2020-01-14 07:26:35 +03:00
levlam
3bcbda16b1 Ignore recent_voters for bots.
GitOrigin-RevId: 9a24c6b18364684a35a751a528cf332b69240de6
2020-01-14 06:14:47 +03:00
levlam
161b932256 Increase version to 1.5.5.
GitOrigin-RevId: 313abbdb9c746d7dac72427465025e5c8608deea
2020-01-14 04:38:15 +03:00
levlam
da4694bc81 New polls support fixes.
GitOrigin-RevId: f5421227029a8ae1f9284882e6f6221617002925
2020-01-14 01:51:03 +03:00
levlam
6d15cc7bf0 Add updatePollAnswer.
GitOrigin-RevId: 472f91830667f52317f03636f3ab2c37bca32d43
2020-01-13 22:56:59 +03:00
levlam
656fda701f Allow bots to send polls to private chats.
GitOrigin-RevId: c1e274b1f0b8a7c7eec8edc304976f8b07b25164
2020-01-13 21:26:58 +03:00
levlam
4e22f29c53 Add td_api::getPollVoters.
GitOrigin-RevId: 47ad78287433a2efb9b66f18a960e4de6060842a
2020-01-13 21:21:58 +03:00
levlam
f2211527db Add support for recent poll voters.
GitOrigin-RevId: f4260d87ae4a22d56b2024c07713ceeb37203895
2020-01-12 04:40:17 +03:00
levlam
a7501e1582 Update layer to 109. Add new poll types.
GitOrigin-RevId: cc82f1bfdf1d4cd906212009f2dc8d84e0cb543a
2020-01-11 03:46:26 +03:00
levlam
0f35cb04fd Update to layer 108.
GitOrigin-RevId: 31a6f84047b1d4e21b466bb32548e61e11d0d194
2020-01-10 02:47:56 +03:00
levlam
92c9149e30 Add debug logging.
GitOrigin-RevId: b67b034ffa59ab24c18c4c1fd782946b13ffb86b
2020-01-12 00:19:43 +03:00
levlam
13dce473eb Safer saving of invite link info.
GitOrigin-RevId: 40c122f1dceb2bbc5f2bd9e6204393ce5c694340
2020-01-10 02:04:06 +03:00
levlam
d6dca91ff3 Add is_base64_characters functions.
GitOrigin-RevId: 5b3e8642e9d9788788ee1343af4eee9acf7dddc9
2020-01-09 20:18:53 +03:00
levlam
53da415b5c Send updates for "unix_time" option.
GitOrigin-RevId: 08f48634a02602060d55b8b8628e20d7d2618381
2020-01-08 23:41:03 +03:00
levlam
1b1bd481e3 Make all AuthKeyHandshake fields private.
GitOrigin-RevId: 73bc8e67b5c86a4f30cabde16f84395b47d7f79e
2020-01-08 20:30:07 +03:00
levlam
89d7374272 Temporarily disable CDN if streaming is enabled.
GitOrigin-RevId: e6479f76a1a226d27268744421a904b4849edf17
2020-01-08 20:15:49 +03:00
levlam
cef4c7da3f Minor improvements.
GitOrigin-RevId: 337bd7bca79324b0159fca503686ae759430dd1d
2020-01-08 20:05:08 +03:00
levlam
dcb15d0a13 Asynchronously reload emoji keywords languages after restart.
GitOrigin-RevId: 1f24d44c715d96aead91402fdc7f6d7abf04d041
2020-01-08 19:25:36 +03:00
levlam
3659757dc3 Add parameter searchEmojis.input_language_code.
GitOrigin-RevId: c0cc78cb2957c9b9be4c3310a0505d08f6189006
2020-01-08 19:07:40 +03:00
Arseny Smirnov
efc483551f Bugfixes in auth key validation
GitOrigin-RevId: 66c2002e3ccb48c333c580715dc3517665f57b1f
2020-01-08 15:54:42 +00:00
levlam
4922ae62e0 Return back HttpQuery in get_simple_config_impl.
GitOrigin-RevId: 391c0c8cdd74633e57bc0780e1060c561468417a
2020-01-08 17:42:55 +03:00
levlam
37cab6d1fc Do not unload last edited message in the chat.
GitOrigin-RevId: d8a5f8053f8d0ef6bd86f503a456f6631a5f9d9e
2020-01-08 04:34:15 +03:00
levlam
724f2644e1 Check main auth_key improvements.
GitOrigin-RevId: 5a8e0d8cd0d15451f0ade9ed20bdc09926ad45ed
2020-01-08 02:09:22 +03:00
levlam
63f167ac35 Better field names,
GitOrigin-RevId: 93d307c55f9801d78fa68413cbbf238925a351b1
2020-01-08 01:27:12 +03:00
levlam
eecb70d006 Minor fixes.
GitOrigin-RevId: b8276b548fca9ede4bd2caf27bd45ccc54c93dda
2020-01-07 18:16:57 +03:00
Arseny Smirnov
890855a4f0 Validate and drop invalid main authorization key
GitOrigin-RevId: 5f5a0baf4fc55b629b6e0534c475f6236cc72506
2020-01-07 15:42:04 +03:00
Arseny Smirnov
ad3a1a35c5 Update stats on proxy errors
GitOrigin-RevId: 0c258335f5b3cd540edd5f8adf95befc29bf91bb
2020-01-07 11:02:36 +03:00
levlam
81cb9da887 Make dh_config_mutex_ private.
GitOrigin-RevId: c2f44bef27d294ec992d35030a36a76855056f44
2020-01-07 03:55:51 +03:00
levlam
f7caca6023 Remove unused wait_binlog_replay_finish.
GitOrigin-RevId: 3b48057703b70f8b4d9ec8b17b14ea75418bda4c
2020-01-07 03:38:10 +03:00
levlam
3aaa58a8c0 Documentation improvements.
GitOrigin-RevId: 97c207980ea1265ebc5c4421a7bd22d77553f2f5
2020-01-06 21:44:09 +03:00
levlam
dbc2e30eff Do not send updateChatActionBar about nonexistent secret chats.
GitOrigin-RevId: 64fe7ef6e66612428fa6b65ed68e89c3de9eab4c
2020-01-06 20:44:21 +03:00
levlam
2dea8aea06 Fix code duplication.
GitOrigin-RevId: 8b4784e364d1e4d016a22bc6806bf732d5d5ac7a
2020-01-06 20:40:58 +03:00
levlam
a06f02b747 Fix misprint.
GitOrigin-RevId: e7bcfcd2ada1b78906d5e5f9228e920be2a00a8c
2020-01-06 18:02:42 +03:00
levlam
b88730f635 Better logging.
GitOrigin-RevId: d5aa21fee3d0f9af6fdec13df45c7352850b8b86
2020-01-06 17:54:16 +03:00
levlam
c627c79b6a Improve logging.
GitOrigin-RevId: 4c5be88bb5f89b50ca1872a8a6686b777fe8aaa2
2020-01-06 04:45:05 +03:00
levlam
fe28551d4c Do not allow time to go more than 1 year forward between restarts.
GitOrigin-RevId: 1240b52520431f62249364b718840b7e45c886c7
2020-01-06 04:23:59 +03:00
levlam
8a1d035d1a Fix check of poll question and answers length.
GitOrigin-RevId: 4b9f75b8ca58f609d07f0aa73370bc893d3bc120
2020-01-06 00:32:26 +03:00
levlam
123361b26a Better check for is_bot.
GitOrigin-RevId: a4dc6b4b2a38eb3474b2265af32b56f8500818df
2020-01-05 15:24:37 +03:00
levlam
c25a346f54 Ignore BOT_METHOD_INVALID for getAppConfig.
GitOrigin-RevId: 953c9c9c20b31cb7118233db82d146e4ee384a6f
2020-01-05 04:22:03 +03:00
levlam
a9de33970b Add switch_pm_parameters checks.
GitOrigin-RevId: 5a948b1deadce1a5f4cc59af53942338bc00ee01
2020-01-05 00:23:44 +03:00
levlam
5b26485ede Fix SplitSource build.
GitOrigin-RevId: 09aa9993fa30af502cae2cd0a5efe77444112b3c
2020-01-04 14:59:33 +03:00
levlam
45bb48bfa7 Make FileDataView private.
GitOrigin-RevId: e3e53f5b97152aab99573d84296ef7094981d544
2020-01-03 04:16:05 +03:00
levlam
c8bf8fa5f7 Use real allocated file size in storage statistics.
GitOrigin-RevId: 6e5232700d8e97ba3ce0838c3bf7764541b6fd2a
2020-01-03 04:08:22 +03:00
levlam
db7573769f Update layer 107.
GitOrigin-RevId: c892d895c8d963e68ad8e3e2bdc9ec6279ea046b
2020-01-03 02:14:02 +03:00
levlam
e44b02fe45 Fix some includes.
GitOrigin-RevId: 1a3a8bab67f3ed56545d58815187d7a8f99944d9
2020-01-03 01:48:23 +03:00
levlam
580530b6d4 Allow to change StickerSet.is_animated.
GitOrigin-RevId: bf712a9e6f90e26b53e710c62a119ee1ec4340bd
2020-01-02 18:41:42 +03:00
levlam
76e363cbe9 Allow bots to delete unknown messages.
GitOrigin-RevId: f9cecdf316fb28aacbbef657eaf83554563e6f5e
2020-01-02 17:47:32 +03:00
levlam
ece4fd0e93 Add message entities tests.
GitOrigin-RevId: fd04d3ebc4619d2b6be4282043a1333d824d7ee6
2020-01-02 17:46:19 +03:00
levlam
170fd545fd Fix gradient backgrounds parsing.
GitOrigin-RevId: 3e99be20fe65f4eca728fcc29e2c37b90ee92b3c
2020-01-02 15:48:16 +03:00
levlam
37d354d3c4 Add more logging.
GitOrigin-RevId: a6b927c52e37c29fa62029d59fd96375af87b14e
2020-01-02 03:38:47 +03:00
levlam
713608ada1 Safe and reliable device token re-registration.
GitOrigin-RevId: 25273051c41ced913d1762a42cc0e19d36149a27
2020-01-01 19:38:54 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
3d574e39c3 Fix login link URL.
GitOrigin-RevId: 064e31b5b095db03ccd7cb9cb3b4e1fabc92aba0
2019-12-31 16:20:29 +03:00
levlam
395a96a764 Fix access to SWLite database.
GitOrigin-RevId: 2d94441b1a1213e4c4b6f97d9a37f238c344ae72
2019-12-31 04:53:01 +03:00
levlam
54c816d0ac Do not try to load active live locations if there is no message database.
GitOrigin-RevId: 012a87fff20d99e40916a63fa722ea75e2bbf974
2019-12-31 04:31:10 +03:00
levlam
e4e1e34cc5 Add active live location only after the message is added to the chat.
GitOrigin-RevId: 6016418f9330b6d754fd7b8cfa2a8c3127ad519d
2019-12-31 04:26:56 +03:00
levlam
f62b9f0bbd Do not add active live locations to the list for bots.
GitOrigin-RevId: 01b22101f53b70195dc4f90d2a4a9283ec2b7f95
2019-12-31 03:51:48 +03:00
levlam
b929a95fe2 Update documentation.
GitOrigin-RevId: 2dc3b759de07cea17cf3fb0d7569244ead20fbd0
2019-12-31 00:58:11 +03:00
levlam
aee34460ef Support messages from scheduled in Push notifications.
GitOrigin-RevId: f2fb0c8553453f140083afdbd697aa2e420da4c3
2019-12-30 04:51:37 +03:00
levlam
b16caabe8e Add device token debug.
GitOrigin-RevId: 451f00d33959eddbd73381775df19338945898d9
2019-12-30 04:34:59 +03:00
levlam
fcb877b78c Treat messages from scheduled as incoming for notifications.
GitOrigin-RevId: b9b428fb65734a1b9b1a9733408ffd828db19f55
2019-12-30 03:31:33 +03:00
levlam
8e6623d3ea Remove expired notifications before recalculating last_group_key.
GitOrigin-RevId: 31723b071ffe0ebb0432aa7427f4537c51434a05
2019-12-30 00:20:25 +03:00
levlam
1411f33725 Do not correct system time.
GitOrigin-RevId: e11cae3fc0ba1e5fe5548b14ba3f65e296a155a0
2019-12-30 00:02:12 +03:00
levlam
34bea7d5d7 Fix CHECK.
GitOrigin-RevId: 96fb8c20d2622534cb3ff884ecb007ae49305d34
2019-12-29 23:39:54 +03:00
levlam
ba5ccf48c6 Add source to on_get_sticker_set.
GitOrigin-RevId: 90cccf55f20fc5dafb6c76a2f780f19a818487cf
2019-12-29 04:59:34 +03:00
levlam
65b793e06a Add push notifications encryption key debug.
GitOrigin-RevId: e127ea2dcc17bc76a4e01aa7ea7230ca53a95dad
2019-12-29 04:39:05 +03:00
levlam
24139cabab Disallow temporary mute for more than 1 week.
GitOrigin-RevId: 7741c7f2787fde7b836d1027ccb421938ddaf317
2019-12-29 04:26:00 +03:00
levlam
104623f179 Add static get_mute_until function.
GitOrigin-RevId: 8b265d6a76ca9741b6c5177597cc717dbcac9fe5
2019-12-29 04:08:10 +03:00
levlam
6903886372 Disallow calling setChatNotificationSettings in Saved Messages. It doesn't work anyway.
GitOrigin-RevId: bca3756bb3bc5f64c15543eda2f9cef3965a261d
2019-12-29 03:47:35 +03:00
levlam
2704d52f96 tg_cli: minor.
GitOrigin-RevId: f0e63c87b6c96e4b6f313c0112d559fd6e15eb3f
2019-12-29 01:46:30 +03:00
levlam
4abc124cce Add PublicRsaKeyWatchdog.
GitOrigin-RevId: b59695d96b97c6ef01a8dc0da89f07e9e250d61a
2019-12-28 15:04:32 +03:00
levlam
886d6e99c1 Fix PFS in CDN.
GitOrigin-RevId: 3c70f19e56b39fff1bd0c8351f30cd27e44b5368
2019-12-28 14:25:17 +03:00
levlam
49bacaf001 Init total count in archive if needed.
GitOrigin-RevId: e1dbc855a60270e7bf40cae5744d9d8800bdd466
2019-12-27 00:32:21 +03:00
levlam
6d742ec9b6 Improve logging.
GitOrigin-RevId: 19ebd22de4f0b6fd036f6d8ec2a40c6808f5f7b8
2019-12-26 23:03:56 +03:00
levlam
e05f97638c Store dialog_total_count between client restarts.
GitOrigin-RevId: 0631f79fd830352cd6f989ca020c8eadb212042c
2019-12-26 22:51:08 +03:00
levlam
f06e344c19 Add repair_secret_chat_total_count.
GitOrigin-RevId: c4b5f7d791a238aaf7cbd5655342d27fe2ae7080
2019-12-26 22:33:18 +03:00
levlam
ebb5949c4a Add repair_server_dialog_total_count.
GitOrigin-RevId: b7dc63b6f6c2efadf59236fbd6e6bee05d33e448
2019-12-26 22:19:25 +03:00
levlam
de1bf02774 Add updateUnreadChatCount.total_count.
GitOrigin-RevId: e53105b6b7e185fbe68714948a606465d349d0cd
2019-12-26 21:44:35 +03:00
levlam
03311836af Add DialogList.in_memory_total_count_.
GitOrigin-RevId: ab418de72778dc9a51761a5acbcf1fadc2116197
2019-12-26 05:21:09 +03:00
levlam
97ab18945f Add get_secret_chat_count database request.
GitOrigin-RevId: b1865d0e3255bb6d170d299896903947a9a841de
2019-12-26 04:12:26 +03:00
levlam
7e1fa1fcb9 Better warning silencing in force_create_dialog.
GitOrigin-RevId: 2f10cbe2091f2d2d8e15de8e813c5997954f9900
2019-12-25 22:57:12 +03:00
levlam
4e77501d9e Rename field to video_upload_bitrate.
GitOrigin-RevId: 0e6af52c8558086e7aac3b950609cdf2b2da1892
2019-12-25 20:59:19 +03:00
levlam
1fc1b76d5e Better logging for results of getChannelParticipant.
GitOrigin-RevId: 08918a4577fa4e7337903e221a96ceb3534c11a4
2019-12-25 20:31:27 +03:00
levlam
82c55c51a0 Better warning condition for changed message entities.
GitOrigin-RevId: 481d50debb7e41e132d6fdc17bb7d6370d17fc16
2019-12-25 20:17:17 +03:00
levlam
a1b67327b1 Safe conversion to unix time.
GitOrigin-RevId: cd851e5196ea43269e7e3ec52ac0df8093966c9a
2019-12-25 18:35:36 +03:00
levlam
bd559bf13a Fixes for system_time_saved_at_.
GitOrigin-RevId: 1effe236b00a00facfec0d6492bd60fe52faa737
2019-12-25 18:03:08 +03:00
levlam
41b09d9c31 Minor.
GitOrigin-RevId: 35d3f55ed770982dd62046f8f0c46d9139f93f27
2019-12-25 17:36:31 +03:00
levlam
935161c20e Rename save_system_time to save_server_time.
GitOrigin-RevId: 9ffc8414c74872c7807faa85071818a0993aca87
2019-12-25 16:57:18 +03:00