levlam
|
1f01e5ad43
|
Additional case for pinned message preloading.
GitOrigin-RevId: 038c9b4c1242afaa87487af8c4e4c51be24af537
|
2020-02-18 20:17:16 +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
|
9964c011ec
|
Allow report private chats with users sharing their location.
GitOrigin-RevId: f1b546ea71a534436e487d4a644b4001bd274e09
|
2020-02-12 03:05:54 +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
|
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
|
a89654c3a9
|
Remove some debug variables.
GitOrigin-RevId: 98b80744574adaa92dea450db049cd166565fc48
|
2020-01-27 14:28:18 +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
|
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
|
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
|
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
|
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
|
66bd2bfe60
|
Return typings for users with hidden online status.
GitOrigin-RevId: 6794e84c2ad0b497901d95b10e7e787b02ecfaa7
|
2020-01-16 04:42:12 +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
|
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
|
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
|
a7501e1582
|
Update layer to 109. Add new poll types.
GitOrigin-RevId: cc82f1bfdf1d4cd906212009f2dc8d84e0cb543a
|
2020-01-11 03:46:26 +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
|
eecb70d006
|
Minor fixes.
GitOrigin-RevId: b8276b548fca9ede4bd2caf27bd45ccc54c93dda
|
2020-01-07 18:16:57 +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
|
c627c79b6a
|
Improve logging.
GitOrigin-RevId: 4c5be88bb5f89b50ca1872a8a6686b777fe8aaa2
|
2020-01-06 04:45:05 +03:00 |
|
levlam
|
e44b02fe45
|
Fix some includes.
GitOrigin-RevId: 1a3a8bab67f3ed56545d58815187d7a8f99944d9
|
2020-01-03 01:48:23 +03:00 |
|
levlam
|
76e363cbe9
|
Allow bots to delete unknown messages.
GitOrigin-RevId: f9cecdf316fb28aacbbef657eaf83554563e6f5e
|
2020-01-02 17:47:32 +03:00 |
|
levlam
|
80c35676a2
|
Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
|
2020-01-01 04:23:48 +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
|
aee34460ef
|
Support messages from scheduled in Push notifications.
GitOrigin-RevId: f2fb0c8553453f140083afdbd697aa2e420da4c3
|
2019-12-30 04:51:37 +03:00 |
|
levlam
|
fcb877b78c
|
Treat messages from scheduled as incoming for notifications.
GitOrigin-RevId: b9b428fb65734a1b9b1a9733408ffd828db19f55
|
2019-12-30 03:31:33 +03:00 |
|
levlam
|
34bea7d5d7
|
Fix CHECK.
GitOrigin-RevId: 96fb8c20d2622534cb3ff884ecb007ae49305d34
|
2019-12-29 23:39:54 +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
|
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
|
7e1fa1fcb9
|
Better warning silencing in force_create_dialog.
GitOrigin-RevId: 2f10cbe2091f2d2d8e15de8e813c5997954f9900
|
2019-12-25 22:57:12 +03:00 |
|
levlam
|
1fc1b76d5e
|
Better logging for results of getChannelParticipant.
GitOrigin-RevId: 08918a4577fa4e7337903e221a96ceb3534c11a4
|
2019-12-25 20:31:27 +03:00 |
|
levlam
|
9dde153313
|
Better integer casts.
GitOrigin-RevId: 3ae8b651f299dfe134ea5380891296cee44d01e9
|
2019-12-24 16:36:14 +03:00 |
|
Arseny Smirnov
|
e7e1521fd2
|
Fix example/tdweb build
GitOrigin-RevId: f924d875361fc363af32e5d703e3cac373927405
|
2019-12-23 21:33:03 +04:00 |
|
levlam
|
53ce59d00a
|
Do not hide edit date from bots.
GitOrigin-RevId: bea81ad9437f360908cd02a2fe2d63dce99c2390
|
2019-12-23 19:33:57 +03:00 |
|
levlam
|
64f73bebff
|
Better message entities debug.
GitOrigin-RevId: 05fea435da021773ca6fbb76e81680e4913cde51
|
2019-12-23 19:01:47 +03:00 |
|
levlam
|
8fd937af26
|
Better debug logging.
GitOrigin-RevId: 802ee45dc32cbd48023b1bef2678a7399488b674
|
2019-12-23 02:04:40 +03:00 |
|
levlam
|
71ec8cc655
|
Send updateChatFilters for empty list of chat filters after logging in.
GitOrigin-RevId: 18176b0c9bd08a1552189bb35eb46a982a33732d
|
2020-06-08 01:22:59 +03:00 |
|
levlam
|
eb9efdcba1
|
Fix edit_dialog_filter.
GitOrigin-RevId: 43043c6b0e054341d6c7c69e9c0dff7440224801
|
2020-06-07 23:59:16 +03:00 |
|
levlam
|
41d3a4dc33
|
Add disable_get_dialog_filter_ and more checks that bots doesn't use filters.
GitOrigin-RevId: a9806876ab714ea145dc0ddfd37270ca24e474ac
|
2020-06-07 23:45:11 +03:00 |
|
levlam
|
0b46b93bc8
|
Add MessagesManager::do_update_list_last_dialog_date.
GitOrigin-RevId: 337bcc66893ef8c47224d77d5ab54d841936c836
|
2020-06-07 23:22:33 +03:00 |
|
levlam
|
135be34b0f
|
Add MessagesManager::do_update_list_last_pinned_dialog_date.
GitOrigin-RevId: 9059bce326b65d2b7d5b260fdb7fcb52918ba072
|
2020-06-07 23:07:46 +03:00 |
|
levlam
|
1e53b71532
|
Better createChatFilter/editChatFilter return type.
GitOrigin-RevId: 7c9d51add4bc3e2e7bfd92483b2daad83209503b
|
2020-06-07 22:16:30 +03:00 |
|
levlam
|
deb006416b
|
Add DialogFilter::get_chat_filter_info_object.
GitOrigin-RevId: e61ce8a03c53ee052283abf272edf11a9aaa6564
|
2020-06-07 21:51:21 +03:00 |
|
levlam
|
275150b67f
|
Load pinned dialogs if needed in getChats.
GitOrigin-RevId: 753be1d7a3b1009935bb17187e8ee971a327606c
|
2020-06-07 00:41:18 +03:00 |
|
levlam
|
b7a403f8c5
|
Immediately reload dialog filters after restart if ignore background updates.
GitOrigin-RevId: 254584dcd936425006b37753ae796503d0342957
|
2020-06-06 23:29:08 +03:00 |
|
levlam
|
89ca6f6c51
|
Do not save pinned dialogs to binlog if there is no message database.
GitOrigin-RevId: 2d3de7cc40f471338bd95a5f72ce4f6b8750c61b
|
2020-06-06 23:22:12 +03:00 |
|
levlam
|
a87b1b4b75
|
Return parallel first chat list loading.
GitOrigin-RevId: 236bbe8ed898f8ef1dae2add8998a78e4ec1b5f7
|
2020-06-06 23:20:04 +03:00 |
|
levlam
|
b5b1c4c3a6
|
Fix loading of pinned dialogs.
GitOrigin-RevId: 1ee93b98a10d5f24899d0793e5c9ce1bf3807a85
|
2020-06-06 22:41:03 +03:00 |
|
levlam
|
e046e2ced4
|
Improve need_dialog_in_filter behavior.
GitOrigin-RevId: 56ccaa30c748e1ac4c5850185f0682c61556b17e
|
2020-06-06 00:53:13 +03:00 |
|
levlam
|
23df5601fe
|
Fix tdweb CE.
GitOrigin-RevId: 06d34855850e771c6aa6bca756dc8d1f4c700d09
|
2020-06-05 16:43:36 +03:00 |
|
levlam
|
88f6e483fe
|
Fix warning.
GitOrigin-RevId: 601d5141c123ee4928ea309b1846511fcf6d6b62
|
2020-06-05 08:16:38 +03:00 |
|
levlam
|
e14601e878
|
Process errors for dialog list loading.
GitOrigin-RevId: ecd7b6fe7f0686c1c98aa6896e86b9de5c8baee1
|
2020-06-05 07:21:02 +03:00 |
|
levlam
|
c32878495e
|
Continue dialog list loading from server if needed.
GitOrigin-RevId: 28709a473fcbd72f42b3b4322ab43c4d571c67a1
|
2020-06-05 06:57:36 +03:00 |
|
levlam
|
f47a287bf8
|
Load dialog filters without database.
GitOrigin-RevId: 2fdeaa9bfc700a44b5c76001dadea2b922a80d51
|
2020-06-05 04:36:46 +03:00 |
|
levlam
|
0e0b7d1bb7
|
Improve error messages.
GitOrigin-RevId: 054f148623cdf23b05c9594ed27d532b42420877
|
2020-06-05 04:13:55 +03:00 |
|
levlam
|
c3ede7ac23
|
Update mute_until in update_dialog_unmute_timeout.
GitOrigin-RevId: 37b978f0ab78ce5495cbf854fa0f796fbf453448
|
2020-06-05 04:05:43 +03:00 |
|
levlam
|
cbf77e3786
|
Add synchronous td_api::getChatFilterDefaultIconName.
GitOrigin-RevId: 15072bd5fffdd55e9879e0e5076a567bfe56f432
|
2020-06-05 03:43:13 +03:00 |
|
levlam
|
074040903b
|
Fix total notification count in chats with unzynchronized notification settings.
GitOrigin-RevId: 3cb7093a5b2b349c26d84f290924cbdb7d54b545
|
2020-06-05 02:59:05 +03:00 |
|
levlam
|
d364bdbb5b
|
Add are_pinned_dialogs_inited_.
GitOrigin-RevId: f1a9333cf7c8bab0a952dc6417dbdc40f9f16638
|
2020-06-04 17:30:10 +03:00 |
|
levlam
|
835038023a
|
Update last dialog date only after all received chats are added to prevent out of order updateChatPosition for some random previously received chats.
GitOrigin-RevId: ec99596467502b705f51cac68286c15aa3517583
|
2020-06-04 16:22:51 +03:00 |
|
levlam
|
7fe9f1ca62
|
Update lists of received from server dialog only after it is fully updated.
GitOrigin-RevId: c426df9e04100d04557429e8eb3fb14ba897cf7a
|
2020-06-04 15:31:29 +03:00 |
|
levlam
|
4472fa4530
|
Do not update order of being added chat.
GitOrigin-RevId: 99a27adc3858336ac403ee306d4140671aaf696b
|
2020-06-04 02:29:58 +03:00 |
|
levlam
|
36b8ab4d1d
|
Fix MessagesManager initialization after authorization.
GitOrigin-RevId: bf9c4068876e778316218997c41392228633ab7d
|
2020-06-04 02:02:17 +03:00 |
|
levlam
|
c9929b9528
|
Do not load dice sticker sets before init.
GitOrigin-RevId: f9c26c05c433a31e97b2fb8bcdcf5344dfe041c0
|
2020-06-04 01:19:37 +03:00 |
|
levlam
|
1f1307ab42
|
Log tries to send requests before authorization.
GitOrigin-RevId: 73d4efdaccf4564fa8558140380a845e2cc89c4b
|
2020-06-04 00:22:21 +03:00 |
|
levlam
|
7680ccf967
|
Do not reload dialog filters before authorization.
GitOrigin-RevId: c76d4e0a87a24c41a82d288534b4c3c201bf963b
|
2020-06-03 19:21:59 +03:00 |
|
levlam
|
44c141a776
|
Add more logging in CHECK.
GitOrigin-RevId: bdf8e0569105ef2033af8a4ac3bd2c82867dbc1f
|
2020-06-03 18:03:16 +03:00 |
|
levlam
|
1e6a2faecb
|
Change scope mute_until in update_scope_unmute_timeout.
GitOrigin-RevId: 646066978d7bf5f4b2ee98f7e8d84f670e6bfa1f
|
2020-06-02 20:31:33 +03:00 |
|
levlam
|
3e3409ee9b
|
Add schedule_scope_unmute.
GitOrigin-RevId: 4518854ffdc7e3d5dc0e7d74343ded9390d61dff
|
2020-06-02 20:21:56 +03:00 |
|
levlam
|
a0cb4aa260
|
Add schedule_dialog_unmute.
GitOrigin-RevId: 05fd1e8bbfc08f5a27217085050b3a0ec14a191e
|
2020-06-02 20:02:25 +03:00 |
|
levlam
|
25f77585c9
|
Move DialogFilter implementation to separate files.
GitOrigin-RevId: c58b7f42811242882f00d48152417826e465b5bc
|
2020-06-02 13:58:53 +03:00 |
|
levlam
|
6599d76837
|
Merge local and remote filter changes.
GitOrigin-RevId: 4413966eb1c6dd1bcf4400b5ca19ad30ac7342d1
|
2020-06-02 05:40:17 +03:00 |
|
levlam
|
492c18523f
|
Move check_dialog_filter_limits inside DialogFilter.
GitOrigin-RevId: f4daa38456c378856a3ba3c87ce841aa0b9154c2
|
2020-06-02 04:26:40 +03:00 |
|
levlam
|
7aaf6a4641
|
Rename is_similar to are_similar.
GitOrigin-RevId: 18988afaefde2f228e9e0c5be82aaa094993f0c2
|
2020-06-02 04:18:31 +03:00 |
|
levlam
|
f234440d3d
|
Improve method names.
GitOrigin-RevId: 34ec6eb1d3f3db02b946e147673a64c269c49132
|
2020-06-01 23:09:35 +03:00 |
|
levlam
|
01b319f22b
|
Add recommended filters at the beginning of the list.
GitOrigin-RevId: 850744bddec52d19952a599b3ac9a8fca4667bf9
|
2020-06-01 18:05:32 +03:00 |
|
levlam
|
6e42d79769
|
Replace emoji with icon_mane in chat filters.
GitOrigin-RevId: 61b30d075e330a92935ea2c8cfc0bf78fb32958b
|
2020-06-01 16:55:31 +03:00 |
|
levlam
|
5401fd636a
|
Add more checks for is_bot.
GitOrigin-RevId: 808f15d4d7f55dba3515ee8f2dc42b292069a14d
|
2020-06-01 01:48:35 +03:00 |
|
levlam
|
14971c853d
|
Make updateDialogFilters persistent.
GitOrigin-RevId: c89e8d3578ceb7fe21cabfad284c75cd9772001d
|
2020-06-01 00:34:45 +03:00 |
|
levlam
|
5fca85a334
|
Reload filters to repair their order if the server added new filter to the beginning of the list.
GitOrigin-RevId: 4d515573077bae07dba6aa28640f3c5038033fb2
|
2020-06-01 00:28:38 +03:00 |
|
levlam
|
bffca57da1
|
Preload pinned message only for from_update messages to prevent cycles and because only such messages can cause updating of last_new_message_id.
GitOrigin-RevId: 153f8699db19652f142334ef5b3413276892e2cd
|
2020-05-31 22:42:58 +03:00 |
|
levlam
|
9d7d04e159
|
Improve logging.
GitOrigin-RevId: a3ac8554a60048ecfadddc3c6d4054c759beefba
|
2020-05-31 22:31:27 +03:00 |
|
levlam
|
52df5760f1
|
Improve logging.
GitOrigin-RevId: d1118ce761fde5b95d33939f78a10ea56bef51f9
|
2020-05-31 22:26:11 +03:00 |
|
levlam
|
2098d08244
|
Add td_api::getChatListsToAddChat.
GitOrigin-RevId: 2765a827af72de72fd0faae815a51ba8c9f59459
|
2020-05-31 03:50:52 +03:00 |
|
levlam
|
8aa8774dc7
|
Move get_chat_list_object to DialogListId.
GitOrigin-RevId: ba28ac3e722f3308ca3a8c20419b6d9a8642d6cc
|
2020-05-31 02:59:50 +03:00 |
|
levlam
|
5477233af9
|
Replace setChatChatList with addChatToList.
GitOrigin-RevId: c336e0e98b008b1571c4267d466b8cb0f3306957
|
2020-05-31 00:48:33 +03:00 |
|
levlam
|
1462d1ff3c
|
Add InputDialogId::contains.
GitOrigin-RevId: 89fa1ee325cfebfb02e0aa3f93e658442fc4898a
|
2020-05-31 00:26:22 +03:00 |
|
levlam
|
4db8cdc9d9
|
Ensure that loaded from binlog server dialog filters are distinct.
GitOrigin-RevId: 89cdffd0d284dcd36c539dc1a4259b1bc445d4b8
|
2020-05-29 09:35:52 +03:00 |
|
levlam
|
45b90e2163
|
Fix MessagesManager::on_update_dialog_filter.
GitOrigin-RevId: 2678a2f7a9d7b2039dcea5ce27a88b86e1694113
|
2020-05-29 09:27:26 +03:00 |
|
levlam
|
7d34c93683
|
Skip nonjoined chats in td_api::chatFilter.
GitOrigin-RevId: 1f50c89e1a716f11b4a2c26947f2e4d81a2f39a3
|
2020-05-29 09:19:24 +03:00 |
|
levlam
|
42b2e84e4a
|
Save changed dialog total count even if the sum is still the same.
GitOrigin-RevId: 7a3027bc5defba37c089368c71cfdc7e009a440e
|
2020-05-29 09:08:01 +03:00 |
|
levlam
|
3033f31525
|
Fix dialog total count and filter folder ids.
GitOrigin-RevId: dd645555834c675ab2454889d56b337d34aaf38b
|
2020-05-29 08:48:38 +03:00 |
|
levlam
|
ae42f2436e
|
Improve check that all included filter dialogs are distinct.
GitOrigin-RevId: 8a451f187bd11a82a42a583c31f1a3b18c8c7ead
|
2020-05-29 08:02:47 +03:00 |
|
levlam
|
b89330c83e
|
Remove pinned dialogs with default order.
GitOrigin-RevId: 004110a578a0230877648215cc849b78d68cfda6
|
2020-05-29 07:44:57 +03:00 |
|
levlam
|
7dc2d13afe
|
Make set_dialog_is_pinned private.
GitOrigin-RevId: 3ef6116d16897b28997e7fa91c1d496fce4edee2
|
2020-05-29 06:57:55 +03:00 |
|
levlam
|
876c67d711
|
Fix updating is_pinned when receiving Dialog.
GitOrigin-RevId: 276719cb66e06d226146b09dfdc5b2cd588f989e
|
2020-05-29 06:07:51 +03:00 |
|
levlam
|
b8fa651764
|
Simplify check that dialog can't be pinned using that if dialog is removed from chat list, then it's order is default.
GitOrigin-RevId: 914dadfc2fb505eba295092f1f723771570b1bfc
|
2020-05-29 05:26:49 +03:00 |
|
levlam
|
3f4011364b
|
Ignore updateDialogPinned for dialog not from dialog list.
GitOrigin-RevId: c0e0c8fe9a07bc47d649b2f71f93ed4e4c44a75a
|
2020-05-29 05:24:37 +03:00 |
|
levlam
|
62a87ba179
|
Add need_send_update_chat_position.
GitOrigin-RevId: bbca8e3ee7fb5df8c08b5ae89683cc7cfbbea482
|
2020-05-29 03:16:56 +03:00 |
|
levlam
|
15b3907b37
|
More dialog list fixes.
GitOrigin-RevId: e6889e33454e41e14af7b2b64ccff06e8225f2a8
|
2020-05-29 01:58:24 +03:00 |
|
levlam
|
cef4c3af2f
|
Add MessagesManager::get_dialog_filter_ids.
GitOrigin-RevId: fb70aca2c233efe1ec873a707e3418e9ac39a401
|
2020-05-28 21:29:38 +03:00 |
|
levlam
|
8ac003dc9d
|
Dialog list fixes.
GitOrigin-RevId: 7591555e389fe55d33d5d7982a441491039d23ed
|
2020-05-28 21:24:50 +03:00 |
|
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
|
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
|
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
|
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 |
|