levlam
|
563d6e893c
|
Split DialogList to DialogList and DialogFolder.
GitOrigin-RevId: 2eeae3f758674ee36e6a5b98e5b2110e1ea98f73
|
2020-05-21 04:40:04 +03:00 |
|
levlam
|
e8e81923ac
|
Merge dialogs from all dialog list folders.
GitOrigin-RevId: d0477a27aeb1d18b289c0979a1eb5f37c5f7f826
|
2020-05-21 04:15:27 +03:00 |
|
levlam
|
0ea6ebd1e4
|
Add MessagesManager::get_dialog_list_folder_ids.
GitOrigin-RevId: 9f32a65eebec47964f9222a4bb5fd0e1221c492f
|
2020-05-21 03:48:54 +03:00 |
|
levlam
|
b1a6bf42eb
|
Load dialog list in all folders of the list.
GitOrigin-RevId: aa89d31dcae77b6e43a2b025471034a586fbf4e3
|
2020-05-21 03:39:45 +03:00 |
|
levlam
|
052f65d8ca
|
Traverse all needed folders when recalculating unread count.
GitOrigin-RevId: e7ad1caa32359e36d509f7137ed964e6b69d415e
|
2020-05-21 02:18:13 +03:00 |
|
levlam
|
f093539db9
|
Add is_dialog_in_list.
GitOrigin-RevId: 502234e37450e97184811f05d0d86dcd5b7780be
|
2020-05-20 03:10:30 +03:00 |
|
levlam
|
4835bebc3c
|
Separate last_dialog_date to list_last_dialog_date and folder_last_dialog_date.
GitOrigin-RevId: 46b3cd269a98aac677a4c4b6b504bac6cf435aef
|
2020-05-20 03:04:52 +03:00 |
|
levlam
|
4cafe567dc
|
Remove checks unneeded after Main and Archive chat list are always created.
GitOrigin-RevId: b09c1806fea10ef31fb7d4d9e3baf818e896506f
|
2020-05-19 17:38:30 +03:00 |
|
levlam
|
05e72d2011
|
Check DialogFilterId againts its min().
GitOrigin-RevId: 396dfde586a96e7db5a635d0c8687237afb28184
|
2020-05-19 15:10:46 +03:00 |
|
levlam
|
1eb7663769
|
Add limit on chat filter length.
GitOrigin-RevId: 33e627f9792acc429500dd3bdecce6fb4c50e4c4
|
2020-05-19 14:30:25 +03:00 |
|
levlam
|
ffb9dd2c6c
|
Add chat_list to toggleChatIsPinned.
GitOrigin-RevId: ffc8a124677f22f8367009e006a4f1ad17953f22
|
2020-05-19 04:21:50 +03:00 |
|
levlam
|
a8e570fd65
|
Add td_api::getRecommendedChatFilters.
GitOrigin-RevId: d5f56357448c9f13154b5dead09cbd73ecf01e90
|
2020-05-19 04:03:15 +03:00 |
|
levlam
|
0d520e25be
|
Add private load_dialog_filter.
GitOrigin-RevId: 9bdee3788d0bbe1c8cce1624df4945b1fcec3b3a
|
2020-05-19 03:02:05 +03:00 |
|
levlam
|
7fccd7ba7c
|
Add td_api::reorderChatFilters.
GitOrigin-RevId: 33fe529db5e96b6dfc15fc86b1b635fb412091b2
|
2020-05-19 02:41:07 +03:00 |
|
levlam
|
7970c9356a
|
Never add duplicate dialogs to filter.
GitOrigin-RevId: d708e60b6712610e27eff66c58a0574aa2cf5442
|
2020-05-19 01:23:13 +03:00 |
|
levlam
|
d2b53fc023
|
Add td_api::deleteChatFilter.
GitOrigin-RevId: ceb3700d72271c6b570d258f6cf5e46f50d80b07
|
2020-05-19 01:06:24 +03:00 |
|
levlam
|
49ccb05176
|
Add td_api::editChatFilter.
GitOrigin-RevId: 51af78e8079dbb89421cdfbd81d4e37b10d95f03
|
2020-05-19 00:47:34 +03:00 |
|
levlam
|
d1bb70820a
|
Add DialogFilter::get_dialog_filter.
GitOrigin-RevId: 0e8e6c5a8a4457c72a5e0c647288bdfef1d99d16
|
2020-05-18 22:31:22 +03:00 |
|
levlam
|
cc77e7e9ca
|
Add td_api::createChatFilter.
GitOrigin-RevId: 4c3fa89cae21b1db3643cfe7640d8ef1043b99f9
|
2020-05-18 22:26:44 +03:00 |
|
levlam
|
e662e210ef
|
Add secret chats support in getDialogList.
GitOrigin-RevId: 3169ed59345ffd4bb82e106cd3b883de9f85df53
|
2020-05-18 02:39:59 +03:00 |
|
levlam
|
5959333499
|
Add td_api::getChatFilter.
GitOrigin-RevId: 024ec630489928bd30fcba6c0c809d4970b66b6c
|
2020-05-18 02:29:28 +03:00 |
|
levlam
|
d3ed675cc2
|
Always return pointer from get_dialog_list.
GitOrigin-RevId: 4b16c99a9704189821e528aeb4f088b2789015c8
|
2020-05-15 16:32:07 +03:00 |
|
levlam
|
f949ecbd3c
|
Add basic support for updateDialogFilter and updateDialogFilterOrder.
GitOrigin-RevId: 59b715faad14356926593a744cf90e38bf78f38f
|
2020-05-15 02:14:06 +03:00 |
|
levlam
|
0e5b939a73
|
Support telegram_api::updateDialogFilters.
GitOrigin-RevId: 0a3ada4fa00079a120d358b0abaf413bbb88466d
|
2020-05-15 01:44:52 +03:00 |
|
levlam
|
2bbbfd684d
|
Add updateChatFilters.
GitOrigin-RevId: 6dcc138d5d83dfcf7a6c0ec4108ea2c516f8caf6
|
2020-05-15 01:39:28 +03:00 |
|
levlam
|
eb07452aaa
|
Add InputDialogId.
GitOrigin-RevId: 0fbfdb383b13c5398c8f98e7315837c892db258a
|
2020-05-12 15:52:10 +03:00 |
|
levlam
|
89e0dd6a06
|
Add DialogFilterId class.
GitOrigin-RevId: 050b0934a7646e3bdefa5875bb922b7dce06c408
|
2020-05-12 03:14:20 +03:00 |
|
levlam
|
c2ce25ee44
|
Add MessagesManager::need_dialog_in_list.
GitOrigin-RevId: 9e1b6d98f9fd47c23a9af237c632809a145f7b58
|
2020-05-12 01:57:17 +03:00 |
|
levlam
|
a2339a1514
|
Add total_dialog_count to DialogOrderInList.
GitOrigin-RevId: 2fca8a0788521b2f6d542102c4d36015a927d6f8
|
2020-05-10 22:06:13 +03:00 |
|
levlam
|
2a700693ce
|
Unpin dialog before changing folder_id.
GitOrigin-RevId: eae801a366f777db3872bc1e0ed4258e9d159e07
|
2020-05-10 01:28:17 +03:00 |
|
levlam
|
3a577baf9b
|
Add get_dialog_base_order.
GitOrigin-RevId: 9c9627826585365e5f15a2080833fabff8371327
|
2020-05-09 23:51:14 +03:00 |
|
levlam
|
f6b7ce83f7
|
Implement update_dialog_lists.
GitOrigin-RevId: 86e87827fe15c6404d1a0e859a99063ea2173557
|
2020-05-09 23:39:11 +03:00 |
|
levlam
|
3c93bf8da2
|
Remove chat.chat_list.
GitOrigin-RevId: 24149fa780522d30546e8fb820441ee58046a6c5
|
2020-05-09 02:15:40 +03:00 |
|
levlam
|
0613614651
|
Add td_api::chatPosition instead of order, is_pinned and source.
GitOrigin-RevId: b1abfde7442368e062a505e179d5510daea7335a
|
2020-05-08 15:48:25 +03:00 |
|
levlam
|
86440b8a7b
|
Use get_dialog_lists.
GitOrigin-RevId: 348ca9cf4213b40060fa772e93f6b1fc2c5bf593
|
2020-05-04 15:58:41 +03:00 |
|
levlam
|
4fe08330d9
|
Add get_dialog_lists method.
GitOrigin-RevId: 9d228b0681ddeef07963223f7fc93c96a1798168
|
2020-05-04 01:47:26 +03:00 |
|
levlam
|
2408b46150
|
Optimize get_dialog_pinned_order.
GitOrigin-RevId: c313c29889afca63a0ccf983d9d97013b3ac33ee
|
2020-05-04 00:51:01 +03:00 |
|
levlam
|
186a3d133a
|
Rename ordered_server_dialogs_ to ordered_dialogs_.
GitOrigin-RevId: e2e14b2438bd434e3cbae9ca7605296b4c55b6c7
|
2020-05-03 22:59:28 +03:00 |
|
levlam
|
1130708995
|
Remove persistent current_pinned_dialog_order_.
GitOrigin-RevId: 63a74b4ec8d1de6af090390df0e4688677c46626
|
2020-05-03 01:38:11 +03:00 |
|
levlam
|
ba0e0dacfa
|
Store pinned dialog list in binlog.
GitOrigin-RevId: 819de60a7c5e8bdedf69e2e390494005af16ab6b
|
2020-05-03 01:10:54 +03:00 |
|
levlam
|
8a95f1d21e
|
Do not update unreceived notification update count if received duplicate group_id.
GitOrigin-RevId: 7856aef2ce0fc42ab76ffbb5e4fe1f613f933ad5
|
2020-05-31 02:13:00 +03:00 |
|
levlam
|
0cb809581c
|
Specify correct mime-type for sent local animated stickers.
GitOrigin-RevId: d3fd227210d09814bc8e686b3ba6f3cd7410cfa5
|
2020-05-31 01:49:16 +03:00 |
|
levlam
|
f301359deb
|
Do not animate unknown stickers before they are sent.
GitOrigin-RevId: 333cca74ec642ede27c4d2f5fc5794eb776990a3
|
2020-05-31 01:33:14 +03:00 |
|
levlam
|
fb3a4b49aa
|
Fix poll parsing.
GitOrigin-RevId: a2089864c44b80a6a7f2e6f75c3cb8e533c9f839
|
2020-05-30 22:46:38 +03:00 |
|
levlam
|
5989a3939b
|
Increase version to 1.6.5.
GitOrigin-RevId: 09448e515eb54d43d9f672ac885aa007f1e5fecf
|
2020-05-30 02:44:36 +03:00 |
|
levlam
|
6196bab690
|
Add td_api::updateAnimationSearchParameters.
GitOrigin-RevId: 6f53679977437f279a10fee8b6b1069d37a4e7a6
|
2020-05-30 02:42:45 +03:00 |
|
levlam
|
4a1e2ee34c
|
Add animated thumbnail support for animations and videos
GitOrigin-RevId: a9026a32be9a9ddf2597c6244e112fd853d81b1f
|
2020-05-30 01:48:56 +03:00 |
|
levlam
|
e8cb1dfeb5
|
Support stickers attached to animation.
GitOrigin-RevId: 3e2464146410fbc68b51721b10327f1ac92cbb66
|
2020-05-29 11:51:51 +03:00 |
|
levlam
|
3d8ff7f852
|
Update layer to 114.
GitOrigin-RevId: 8cfc80aa94c507de56d068472e152fb8aa0ab8a9
|
2020-05-29 11:26:08 +03:00 |
|
levlam
|
82d14a6ec1
|
Temporarily return file_reference repair for secret files.
GitOrigin-RevId: 8c5266cd5e130fbb3628ec532ce8ba3c3ec5a692
|
2020-05-29 10:24:07 +03:00 |
|
levlam
|
c5018cb69c
|
Add new DC2 IP address.
GitOrigin-RevId: 8f9272b29d3f3e32bb2d3a79821b3269b4baf9e4
|
2020-05-29 10:20:29 +03:00 |
|
levlam
|
f9577c97a3
|
Fix StickersManager::has_input_media.
GitOrigin-RevId: 4154b648c8641eb1e38f952c90c7b267d83a785a
|
2020-05-25 22:30:26 +03:00 |
|
levlam
|
54e5afe41c
|
Force getChannelDifference if receive too new updateChannelReadInbox.
GitOrigin-RevId: 0d2f346a00be7a3c97919e96f60c92bf1cea0eb7
|
2020-05-25 00:31:00 +03:00 |
|
levlam
|
f06778c7f7
|
Improve logging.
GitOrigin-RevId: 5ffb2eb51d6f3a05985925630bf7ca243d47f418
|
2020-05-25 00:11:18 +03:00 |
|
levlam
|
d5c6c51f15
|
First check existence of generate location in run_generate.
GitOrigin-RevId: e4a9ac3a7cef153bde854a058bcd81a371d58dd7
|
2020-05-24 21:35:47 +03:00 |
|
levlam
|
77304e3209
|
Drop poll voters cache when poll options changes.
GitOrigin-RevId: e9774ad0cc3574a3f1e1fa8ac796c056bafcf89d
|
2020-05-23 20:04:51 +03:00 |
|
levlam
|
6879165446
|
Update correct_option_id on poll options change.
GitOrigin-RevId: 30ae8890e929644cc492afbad71574cf333a554a
|
2020-05-23 17:33:30 +03:00 |
|
levlam
|
8b0561f3be
|
Check that poll has no duplicate options.
GitOrigin-RevId: 781558fac8edf2f42a57dac0800590095babb20a
|
2020-05-23 17:21:56 +03:00 |
|
levlam
|
43704b69e0
|
Assign correct correct_option_id.
GitOrigin-RevId: 1c20d8f27a0312805bb696da42d0d39b68f90fc6
|
2020-05-23 17:11:53 +03:00 |
|
levlam
|
eb9a3e7ca3
|
Ignore polls without answers.
GitOrigin-RevId: 6087b7b68e05c04bf26e017a1250c7aac6a2900e
|
2020-05-23 16:22:44 +03:00 |
|
levlam
|
14bbb15eb6
|
Return view count for forwarded failed to send messages.
GitOrigin-RevId: ef08ac19c3650c114d5144aedc2952ab631cfa49
|
2020-05-22 21:03:53 +03:00 |
|
levlam
|
dadeb6223e
|
Update dice_success_values before dice_emojies.
GitOrigin-RevId: 025b2aeca96bef65bcb3120a8dff6a4792e08aa5
|
2020-05-22 20:59:00 +03:00 |
|
levlam
|
3ecbe54242
|
Fix misprint.
GitOrigin-RevId: 90bbeac5fa87b296b8f4e666fedb904d7a4ea6cb
|
2020-05-22 20:53:31 +03:00 |
|
levlam
|
ef9d8415f3
|
Do not get history in being added dialog.
GitOrigin-RevId: 06746812288030ab96c46e971e5d335024eaa64e
|
2020-05-22 18:48:04 +03:00 |
|
levlam
|
c204fd6256
|
Never allow animated stickers outside of sticker sets.
GitOrigin-RevId: 7e86904956e1bdfc7b423fdfef5f212199caeb85
|
2020-05-22 18:09:17 +03:00 |
|
levlam
|
05b279bb13
|
Never trust peers sticker set name in secret chats.
GitOrigin-RevId: 11f6534963920bd7c736a9cb3dcf3c73e2e68e6c
|
2020-05-22 18:07:04 +03:00 |
|
levlam
|
409796d9dd
|
Improve error message.
GitOrigin-RevId: 3c76a4b84edf78ac41ab2ce88ebda4421faff5b7
|
2020-05-22 15:59:29 +03:00 |
|
levlam
|
fc6738e85b
|
Add more checks for message ID being a scheduled server.
GitOrigin-RevId: cd86bff3c1b029905743e84103f4d30d79a2b1bf
|
2020-05-22 15:53:36 +03:00 |
|
levlam
|
aa515c895b
|
Hide view count for failed to send messages.
GitOrigin-RevId: 7450f2f80cf943d013f5da41101d0f85ee00e1fa
|
2020-05-22 15:38:46 +03:00 |
|
levlam
|
34c9ee6e84
|
Preload pinned_message_notification_message_id even it is newer than being added message, because it could be deleted in set_dialog_last_new_message_id->delete_all_dialog_messages_from_database->remove_dialog_pinned_message_notification.
GitOrigin-RevId: 8c4b73436bc26870af4fa788dedd5035e17116b9
|
2020-05-22 13:12:31 +03:00 |
|
levlam
|
54909ad713
|
Improve message_count updating.
GitOrigin-RevId: 365ac733fc40c06fc959376246c9c4b2b1987a10
|
2020-05-22 03:58:36 +03:00 |
|
levlam
|
b1dc75cdc4
|
Allow unordered updateNewMessage for bots.
GitOrigin-RevId: 3aa3e6143eb0558f1a822ece051b9666725f0301
|
2020-05-22 03:43:02 +03:00 |
|
levlam
|
4d8c9a3a60
|
Connect all messages after last server message just in case.
GitOrigin-RevId: c99a8e50f49a37d1f34997b5de53129f34ec80d3
|
2020-05-19 16:48:59 +03:00 |
|
levlam
|
179117cfb8
|
Delete server messages found after last server message just in case.
GitOrigin-RevId: f149afc10830895fc100db6251befc1afbeb4292
|
2020-05-19 16:39:44 +03:00 |
|
levlam
|
4c80155092
|
Improve spelling.
GitOrigin-RevId: 73edc0a7a57f40c404b4b5c8d00e9b20127f9abc
|
2020-05-18 22:54:18 +03:00 |
|
levlam
|
c13068832b
|
Remove excessive user photos instead of adjusting total_count.
GitOrigin-RevId: c66c645eb83e44a62172aff87a576d8b8d04368f
|
2020-05-18 16:23:30 +03:00 |
|
levlam
|
0e77a35b0a
|
Warn on changed sticker, only if set_id is still the same.
GitOrigin-RevId: 756c3c0ea8b40ce5c96dc72281961f1de9bd2453
|
2020-05-17 17:14:29 +03:00 |
|
levlam
|
c1555a0693
|
Improve logging on wrong poll_id received.
GitOrigin-RevId: 0740e1dbde312c17368a5182c9e2be57934fe70a
|
2020-05-17 17:14:09 +03:00 |
|
levlam
|
6f885c41d9
|
Rename crypto to RSA.
GitOrigin-RevId: 4c15f44c0d5c618933b7c1aecb3580664a15a557
|
2020-05-17 17:07:16 +03:00 |
|
levlam
|
9cf8aed326
|
Add check debug logging.
GitOrigin-RevId: a58f888b7af480e3e6da2ce668ef2fd5367857da
|
2020-05-17 03:00:48 +03:00 |
|
levlam
|
2a92f4cf6b
|
Add support for basketball dice emoji.
GitOrigin-RevId: 14ee79e80310d468f7acbb6693b56379c76b3bd2
|
2020-05-17 01:28:56 +03:00 |
|
levlam
|
588113388d
|
Do not create special sticker set for unknown dice emojis.
GitOrigin-RevId: f704a86e9c5ade800f50a8296ea581d111fc84d7
|
2020-05-17 01:06:23 +03:00 |
|
levlam
|
0581b298cc
|
Fix some IP address spelling.
GitOrigin-RevId: ca1e3f4110057c3badbd9c5898593a65b72410e2
|
2020-05-16 23:32:32 +03:00 |
|
levlam
|
5b18a56e03
|
Add IPAddress::get_ip_host and use it whenever appropriate.
GitOrigin-RevId: 7254ebd036463fe2c8b6262269cbee843b320421
|
2020-05-16 23:12:52 +03:00 |
|
levlam
|
9fe0d4bbd9
|
Do not remove brackets from HttpUrl IPv6 host.
GitOrigin-RevId: 59db5b747e66bd83cbfa81d4276af2aa1bb8b7ca
|
2020-05-16 22:53:19 +03:00 |
|
levlam
|
ea9caab8bc
|
Fix can_delete flags in updateNewChat.
GitOrigin-RevId: 715cca8966860c61b444fbe5ee83aaf884f3af4c
|
2020-05-16 03:16:11 +03:00 |
|
levlam
|
8ffc211e43
|
Do not use Dialog.order before first update_dialog_pos.
GitOrigin-RevId: c5ccea51ed3831db0deada3ebe2626ae9ee3d3a1
|
2020-05-16 03:03:40 +03:00 |
|
levlam
|
18bbec3565
|
Try not to use SWLite key-value while closing.
GitOrigin-RevId: 1b0c6df484ffa9b2831a1a7ccc0fb62a9ad80b5a
|
2020-05-16 02:45:26 +03:00 |
|
levlam
|
b29a945b1a
|
Ignore SQLite key-value responses after close.
GitOrigin-RevId: a91a2dbbf8efcda91959aabfcaca964caa6fe3c3
|
2020-05-16 02:25:03 +03:00 |
|
levlam
|
ebf10667b7
|
Added support for animated thumbnails in inline animations.
GitOrigin-RevId: 5a8830d6e89256900335b8667405b2f81f22f5bd
|
2020-05-15 19:48:21 +03:00 |
|
levlam
|
d647a2a2e8
|
Represent photo format as enum PhotoFormat.
GitOrigin-RevId: 9205a8c775111ff394e7c32bc52d343b41e53379
|
2020-05-11 22:17:49 +03:00 |
|
levlam
|
2def12b70f
|
Save only Main/Archive folders to database as index folders.
GitOrigin-RevId: 17d72a332c487c9207db2d3dc95788829a55dca8
|
2020-05-11 18:00:03 +03:00 |
|
levlam
|
03c93c5417
|
Ignore database results when closing.
GitOrigin-RevId: 12355cd62a7d6474e857c811579fb46a802c02f4
|
2020-05-11 16:21:23 +03:00 |
|
levlam
|
42f88e3b72
|
Remove whitespaces at the beginning of some entities.
GitOrigin-RevId: b0597524571c15b3ffbfec613cb856bfa6e7a224
|
2020-05-11 01:31:29 +03:00 |
|
levlam
|
f88735b9a9
|
Do not highlight parts of float numbers as bank card numbers.
GitOrigin-RevId: cc58f030c6485c393f115fb89a4e9a5b2e6b40b9
|
2020-05-07 23:11:54 +03:00 |
|
levlam
|
f2cb3afaef
|
Increase maximum photo size for upload by hash.
GitOrigin-RevId: b7dbcaf4710d04b03fc8eaf1d0c1c51ad5224829
|
2020-05-07 18:37:49 +03:00 |
|
levlam
|
e941622e32
|
Ignore file_reference errors for bots, because corresponding file_ids may not be duped.
GitOrigin-RevId: 3cf82083a6d3e5556f665bad9ad00e216c7901a0
|
2020-05-07 15:56:57 +03:00 |
|
levlam
|
5fe9d5feee
|
Fix forwarding as copy of photos to a lot of chats simultaneously.
GitOrigin-RevId: 27edf34c58447a9c2bfd9e1a2679f69b0e05c076
|
2020-05-07 15:43:53 +03:00 |
|
levlam
|
af5eed2abb
|
Log before checks.
GitOrigin-RevId: 16b87eb9a1d763e85007de1253ada424c566ed0e
|
2020-05-07 03:43:11 +03:00 |
|
levlam
|
0d85bc39cf
|
Use case-insensitive scheme comparison in check_url.
GitOrigin-RevId: d5c9cb66c49194d5264b63871aaabcc6768aaac4
|
2020-05-07 03:21:05 +03:00 |
|