Commit Graph

2934 Commits

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