levlam
|
7ec366b7f7
|
Reorder dialog filters in synchronize_dialog_filters.
GitOrigin-RevId: 175efa63aa4a88ce2be5926f6715b7760049e149
|
2020-05-28 15:50:54 +03:00 |
|
levlam
|
a5abc75b20
|
Add synchronize_dialog_filters method.
GitOrigin-RevId: 41489bb32c0d6800db3b356d67dc1412ae6b89ed
|
2020-05-28 15:10:31 +03:00 |
|
levlam
|
260ac6c90e
|
Add need_synchronize_dialog_filters.
GitOrigin-RevId: e108099952a97aaa7b2963e15fff0123e1e3cbda
|
2020-05-28 14:34:02 +03:00 |
|
levlam
|
2edf3282fc
|
Add DialogFilter::is_empty.
GitOrigin-RevId: b84c90755bb2059cc0e7111b9b4c198c90130be4
|
2020-05-28 14:22:51 +03:00 |
|
levlam
|
e5f0902277
|
Do not reload filters in parallel.
GitOrigin-RevId: 8542d74bd773a58904834a0aea89de41ee470869
|
2020-05-28 12:38:46 +03:00 |
|
levlam
|
25badecb71
|
Use send_closure_later in reload_dialog_filters to avoid accidental Timeout usage.
GitOrigin-RevId: 9d3f29b0d6dac7c1834426c9e07885cbf6cd0bb9
|
2020-05-28 12:14:58 +03:00 |
|
levlam
|
10402d9f5b
|
Add get_dialog_filters_cache_time.
GitOrigin-RevId: a5779bb5d0a90c7a77f44df91300aedd6a562988
|
2020-05-28 12:05:40 +03:00 |
|
levlam
|
04e0f590e2
|
Add and use DialogFilter::are_equivalent.
GitOrigin-RevId: 6c9228b654f80f649ef107d6730e1fd966ce6792
|
2020-05-28 03:37:38 +03:00 |
|
levlam
|
26812a77f6
|
Add InputDialogId::are_equivalent.
GitOrigin-RevId: db383a715d619cb504bb8baa906bf1eae00e5e4d
|
2020-05-28 03:29:12 +03:00 |
|
levlam
|
f80bd321b0
|
Immediately return response to create/editChatFilter.
GitOrigin-RevId: 79e81c4baa497a2ebabb740a1efb33d044d5d65d
|
2020-05-28 03:11:34 +03:00 |
|
levlam
|
9a5f6c5dd5
|
Update dialog filter order after receiving them from server.
GitOrigin-RevId: 9ef943eb5faaf36cfe960e91a6daba6d5804a57d
|
2020-05-28 03:08:00 +03:00 |
|
levlam
|
09f8c68e04
|
Add set_dialog_filters_order method.
GitOrigin-RevId: 4c8517abc9e7a968244ec5790367b5299818c2cf
|
2020-05-28 02:43:23 +03:00 |
|
levlam
|
8bd1debf87
|
Add delete_dialog_filter_on_server.
GitOrigin-RevId: 4e08271a6eacb41cae9aea9e7d09cc5d47cae78e
|
2020-05-28 02:11:41 +03:00 |
|
levlam
|
77d9f547a3
|
Add update_dialog_filter_on_server.
GitOrigin-RevId: 699ae56d8c6d582f95c502fa75d0802c8385b8ef
|
2020-05-28 02:08:56 +03:00 |
|
levlam
|
0f93d0fd56
|
Add update_dialog_filter_on_server function.
GitOrigin-RevId: 35d57215c3cbae2f48a6398541a71583ffb9f33a
|
2020-05-28 02:07:00 +03:00 |
|
levlam
|
97a89986a1
|
Update DialogList in edit_dialog_filter.
GitOrigin-RevId: 93466cbb49e643ca0a0daabbd212fbed22d5e744
|
2020-05-28 01:57:36 +03:00 |
|
levlam
|
d2ff28f269
|
Add add_dialog_to_list/remove_dialog_from_list methods.
GitOrigin-RevId: 838e90a5143e310966ff2caf4343b236f97c0d25
|
2020-05-28 01:15:34 +03:00 |
|
levlam
|
dcaa9f3fba
|
Allow to call update_list_last_dialog_date without sending updates.
GitOrigin-RevId: 82db046228cbfb5d1d78d20be8050896547eca77
|
2020-05-27 23:40:03 +03:00 |
|
levlam
|
22f158ac1f
|
Make get_dialog_pinned_order static.
GitOrigin-RevId: 40e4b29573044b9d5f4fbdf75610eef4eab73421
|
2020-05-27 23:35:35 +03:00 |
|
levlam
|
4ace9f4c02
|
Disallow creation of an empty folder and a copy of the main chat list.
GitOrigin-RevId: 4a76401374821085fca0776ecabefd4fcc6f057f
|
2020-05-27 20:52:59 +03:00 |
|
levlam
|
7ae25bc255
|
Check that there is no duplicate chats in dialog filters.
GitOrigin-RevId: 5a12837a0d34a09a228efe62b6ed9593bb1c7124
|
2020-05-27 17:58:54 +03:00 |
|
levlam
|
d687f0b3fe
|
Sort dialogs in DialogFilter.
GitOrigin-RevId: d12a0d5274592ec3ada5fe5da2c2c172a7402847
|
2020-05-27 17:44:13 +03:00 |
|
levlam
|
21e0ab428b
|
Support dialog filters in toggle_dialog_is_pinned.
GitOrigin-RevId: c1fd8eb6c226dc61aefb82a360659d9abb2aeccc
|
2020-05-27 03:40:30 +03:00 |
|
levlam
|
a615d9e8ad
|
Support folders in set_pinned_dialogs.
GitOrigin-RevId: 064ce6d983fa9eb9c2b5d0203d17af3b7c7ae444
|
2020-05-27 03:21:24 +03:00 |
|
levlam
|
f9a02d079c
|
Better get_pinned_dialogs_limit behavior for filters.
GitOrigin-RevId: 06926e2b6e6a25e728d64e19a8f33ed9e961106b
|
2020-05-27 03:05:41 +03:00 |
|
levlam
|
155c933696
|
Add MessagesManager::check_dialog_filter_limits.
GitOrigin-RevId: 15b11ca0986b4250d02d28637702cb9baba46af4
|
2020-05-27 03:04:35 +03:00 |
|
levlam
|
2a1c95e63c
|
Add MessagesManager::get_input_dialog_id.
GitOrigin-RevId: f1e4d607f05050c4ec81dc535869a074bdf10ada
|
2020-05-27 02:29:40 +03:00 |
|
levlam
|
720da27018
|
Remove secret chats from UpdateDialogFilterQuery before sending it to UpdateDialogFilterQuery.
GitOrigin-RevId: 53d6c31e9f9df932272be2d97448f0953c692123
|
2020-05-26 19:02:17 +03:00 |
|
levlam
|
9e930dd886
|
Add InputDialogId::get_dialog_ids.
GitOrigin-RevId: 78d1b25d3370b8c8b87927f953d9c62722a8a547
|
2020-05-26 18:30:22 +03:00 |
|
levlam
|
bb590be64d
|
Minor improvements.
GitOrigin-RevId: 65206b275680b4b2da5f52c6427643d35e91dec9
|
2020-05-26 18:14:43 +03:00 |
|
levlam
|
fe78d07130
|
Improve variable names.
GitOrigin-RevId: 3573d1f8143a75de8148cda0834d792bc1d68d3c
|
2020-05-26 17:41:35 +03:00 |
|
levlam
|
e3dc7198c5
|
Add need_dialog_in_filter.
GitOrigin-RevId: 1a9d7bd58e7d660ac148643ed0cd06df7d35b2a3
|
2020-05-26 16:21:26 +03:00 |
|
levlam
|
d053d46b26
|
Add get_dialog_filter_folder_ids.
GitOrigin-RevId: fac4106be470b24a273d75bd3564ae7d9740207a
|
2020-05-26 16:05:59 +03:00 |
|
levlam
|
5e834b4277
|
Separately limit included server and secret chats in filters.
GitOrigin-RevId: cafa4921181252f31ee2e9d7fd2395016b48c4ca
|
2020-05-26 15:26:11 +03:00 |
|
levlam
|
ae1db34f44
|
Minor improvements.
GitOrigin-RevId: 788f6c7cf686489fd54ba20b12a9f670e7b4d04f
|
2020-05-26 02:46:22 +03:00 |
|
levlam
|
2dba239367
|
Pass DialogList to send_update_unread_*_count.
GitOrigin-RevId: 92160cf544151a465b767088498bef694a927193
|
2020-05-26 01:58:06 +03:00 |
|
levlam
|
fa3c14a121
|
Minor improvements.
GitOrigin-RevId: b1edea4f5326e0cefe3966415c7451afa95255d8
|
2020-05-26 01:50:56 +03:00 |
|
levlam
|
f0aaa7e81a
|
Init pinned dialog ids in MessagesManager::add_dialog_filter.
GitOrigin-RevId: bc93ef811a5674db23900a541b2a57ca17c855fa
|
2020-05-26 01:41:30 +03:00 |
|
levlam
|
7f1212daab
|
Delete dialog list in MessagesManager::delete_dialog_filter.
GitOrigin-RevId: 03683ac4cc2d5f545a7b433607861bdae7221179
|
2020-05-26 01:34:15 +03:00 |
|
levlam
|
ff6cb65a74
|
Add dialog_list in add_dialog_filter.
GitOrigin-RevId: b5984c15e0577168e88198071300a803e5d1580e
|
2020-05-26 01:07:30 +03:00 |
|
levlam
|
055ab9dc1b
|
Add update_list_last_pinned_dialog_date.
GitOrigin-RevId: a60f17f5cb192caeecbeb9525f0455381066aee6
|
2020-05-26 00:47:26 +03:00 |
|
levlam
|
76fd42ac12
|
Add separate save_dialog_filters.
GitOrigin-RevId: d624510ea25882c204a31088d85344f0e80f4d8c
|
2020-05-25 23:52:43 +03:00 |
|
levlam
|
d85dd48101
|
Store server dialog filters separately.
GitOrigin-RevId: 30c0da52c254008ab17e3be0b6707cd0678a87ec
|
2020-05-25 22:31:12 +03:00 |
|
levlam
|
8bb76ff0e9
|
Simplify MessagesManager::DialogFiltersLogEvent.
GitOrigin-RevId: c2d6c80012e6ff7c401f00c7c9b53c12b6765431
|
2020-05-25 12:34:41 +03:00 |
|
levlam
|
139a7da664
|
Use new store/parse for vector.
GitOrigin-RevId: 8ac8567515d1c994deb11be75d4a299679c46ac3
|
2020-05-25 02:48:57 +03:00 |
|
levlam
|
96db150b4b
|
Do not try to save unread count just after loading.
GitOrigin-RevId: 63ac7ebd4f04f3705fec95a9c394eb70b238dc57
|
2020-05-22 19:20:50 +03:00 |
|
levlam
|
17c68176c5
|
Fix moving dialog between folders.
GitOrigin-RevId: 427e3cd0738420ce68f1ed30b54693bced5b9877
|
2020-05-22 19:11:03 +03:00 |
|
levlam
|
400959989b
|
Fix first chat loading.
GitOrigin-RevId: 606bbb51a4ef9f49bc94ed869c7a901a3b238f58
|
2020-05-22 18:26:30 +03:00 |
|
levlam
|
a619ff4b87
|
Call update_dialog_lists when a dialog can move in or out filter list.
GitOrigin-RevId: 58af40a3a37797c1b9f84c7db4a1dba20fda513f
|
2020-05-22 03:09:37 +03:00 |
|
levlam
|
0edc0721ef
|
Add td_api::chatListFilter.
GitOrigin-RevId: 4682d96fbaa160f1af9213d65c99c67de4d1764e
|
2020-05-22 01:19:28 +03:00 |
|
levlam
|
f96714b254
|
Use get_dialog_list_folder_ids.
GitOrigin-RevId: c2685f208b329c1fadb4c4fc467b432edff95a86
|
2020-05-21 20:07:37 +03:00 |
|
levlam
|
090ef866bd
|
Add DialogListId.
GitOrigin-RevId: e3dd3fb5065e18d087d733e1f537e92119e6f234
|
2020-05-21 19:39:34 +03:00 |
|
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 |
|