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 |
|
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
|
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
|
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
|
82d14a6ec1
|
Temporarily return file_reference repair for secret files.
GitOrigin-RevId: 8c5266cd5e130fbb3628ec532ce8ba3c3ec5a692
|
2020-05-29 10:24:07 +03:00 |
|
levlam
|
54e5afe41c
|
Force getChannelDifference if receive too new updateChannelReadInbox.
GitOrigin-RevId: 0d2f346a00be7a3c97919e96f60c92bf1cea0eb7
|
2020-05-25 00:31:00 +03:00 |
|
levlam
|
c093afbf68
|
Add source to get_channel_full.
GitOrigin-RevId: 4df2ac6b75f92359bf838226f707742764e92209
|
2019-12-20 17:17:06 +03:00 |
|
levlam
|
7beb6d99d4
|
Fix saving repaired action bar.
GitOrigin-RevId: 0612ecd99c4bb15e0123d5337305ff071ec035e9
|
2019-12-20 16:42:26 +03:00 |
|
levlam
|
aa7d8c06bc
|
Add logging in repair_dialog_action_bar.
GitOrigin-RevId: 3aaf69fc3b5f366b00617e52e917a36381b87c2f
|
2019-12-20 16:32:56 +03:00 |
|
levlam
|
71fb1d87e0
|
Copy secret chat action bars from corresponding private chats.
GitOrigin-RevId: ced6ee8d98ba7798e8fe941b8506afbb0657d641
|
2019-12-19 01:27:38 +03:00 |
|
levlam
|
0594b9e795
|
Do not send chat actions to bots, deleted users and users with hidden online status.
GitOrigin-RevId: 8bd7c272b34ae6d977e58e89f0e76a158f02f150
|
2019-12-18 18:57:21 +03:00 |
|
levlam
|
2b94d84a2f
|
Notify server about viewed live locations once a minute.
GitOrigin-RevId: 4658a8807f9acc8820c73fa64a348c86e83dadd2
|
2019-12-16 18:39:40 +03:00 |
|
levlam
|
ca519dcc81
|
Notify server when live location is viewed.
GitOrigin-RevId: 526201f4539504800fab4552ff59d7e7a7b83fe2
|
2019-12-16 04:07:14 +03:00 |
|
levlam
|
2c47242374
|
Check validness of peer_user_id in secret chats.
GitOrigin-RevId: 299ad87085b8c7b1a1f0de15012e54dfdb2c4d6c
|
2019-12-16 01:58:57 +03:00 |
|
levlam
|
fc130aec51
|
Skip action bar repair on close.
GitOrigin-RevId: 3fa1fdc3d0664a2fb6d80f1010b2a5c20382253c
|
2019-12-15 23:38:32 +03:00 |
|
levlam
|
d4a701f48a
|
Add force_create_dialog debug.
GitOrigin-RevId: 31c3d381ea276519a8c93732ad88c6e99ffec295
|
2019-12-15 23:33:58 +03:00 |
|
levlam
|
cf1902c04a
|
Fix Message::parse.
GitOrigin-RevId: 7366e38479801b4e16eccd9756dd072027fcc0b0
|
2019-12-15 22:35:30 +03:00 |
|
levlam
|
fa04e668f6
|
Better support for GEO_LIVE_PENDING push notifications.
GitOrigin-RevId: 7fb392ec0e6471a09a3b325db48531700204c039
|
2019-12-14 01:57:17 +03:00 |
|
levlam
|
1dd4e1a767
|
Add td_api::updateMessageLiveLocationViewed.
GitOrigin-RevId: 2c9d6e1317e6604a23e30efab0dfa21a2e88f01d
|
2019-12-13 21:05:10 +03:00 |
|
levlam
|
3ec96b4c30
|
Remove channels from inactive channels list on new message or after leave.
GitOrigin-RevId: 8c9723ed489a714df0b70abe465c04eba1265b0e
|
2019-12-13 17:57:00 +03:00 |
|
levlam
|
4e223096da
|
Treat forwarded and via bot messages as copied.
GitOrigin-RevId: e3fcd5caea9a08c0a941f549a33356cd9b6075ce
|
2019-12-13 01:18:07 +03:00 |
|
levlam
|
be30ac854a
|
Use default sequence dispatcher for copied messages.
GitOrigin-RevId: 08058ff0492d0a0c6b432d00b8061b78d7849e94
|
2019-12-13 00:46:38 +03:00 |
|
levlam
|
14f1b3cd4b
|
Always ignore updateReadHistoryInbox.still_unread_count, because it can be wrong even in updates.
GitOrigin-RevId: ff2222911c995605d813a942ccf833b7e7d620bb
|
2019-12-06 22:49:07 +03:00 |
|
levlam
|
b13096e8a9
|
Fix adding to database of rescheduled messages.
GitOrigin-RevId: fe07906bdc9ef264d9d40e225dbc8fbb7d547acd
|
2019-12-06 21:46:57 +03:00 |
|
levlam
|
7b97e98164
|
Bug fixes.
GitOrigin-RevId: f2575e76da10f0071587504913d8c87acaf91133
|
2019-12-06 21:21:51 +03:00 |
|
levlam
|
2c030f1bed
|
Fix rescheduling of being edited message.
GitOrigin-RevId: f398f11ac37fbec9edbcbf8b470620f7d43db29d
|
2019-12-06 20:47:22 +03:00 |
|
levlam
|
bdc8c27bc4
|
More improvements.
GitOrigin-RevId: 627bf44586c26bc1e4817e42b611a1e470e44ee7
|
2019-12-06 20:31:34 +03:00 |
|
levlam
|
60c0c3a637
|
Use actual message_id.
GitOrigin-RevId: e1e62511c4752ad3c1339f694a6937a8d7075bee
|
2019-12-06 16:26:26 +03:00 |
|
levlam
|
d6ce1dfbc4
|
Rename have_message to have_message_force.
GitOrigin-RevId: 7ad820c8d73a5bcae4b30ccf2b1e3ba722047878
|
2019-12-06 05:02:02 +03:00 |
|
levlam
|
2baa52f975
|
Use exact ID of deleted message in updateDeleteMessages.
GitOrigin-RevId: cbed7d24434e07f5925044fdb65152f9e4809737
|
2019-12-06 04:56:27 +03:00 |
|
levlam
|
439ff9be0b
|
Do not allow to send scheduled live location and self-destructing messages.
GitOrigin-RevId: 17a93e32f995f67cc164ca7636c8a2025376525c
|
2019-12-06 04:25:44 +03:00 |
|
levlam
|
211ab071b2
|
Add MessageSchedulingState to sendMessageOptions.
GitOrigin-RevId: a2a7d6e3c9283b645b0a155f96c8165a7a717b8d
|
2019-12-06 03:08:11 +03:00 |
|
levlam
|
a3301ae07c
|
Introduce common SendMessageOptions for send message requests.
GitOrigin-RevId: 3cef644b80ec3641a9f15de7a5af13f90a9c7d94
|
2019-12-06 02:32:23 +03:00 |
|
levlam
|
797a117b60
|
Disable quick ack if reused media is sent.
GitOrigin-RevId: 4e1166d9fd2faf103c3f59775565fc510906d02d
|
2019-12-06 00:39:39 +03:00 |
|
levlam
|
6520bdea85
|
Scheduled messages bug fixes.
GitOrigin-RevId: e27dd1ab21e2b43f794bbae75a3c2d62016714c8
|
2019-12-06 00:31:28 +03:00 |
|
levlam
|
8bee3c715f
|
Support sending scheduled messages.
GitOrigin-RevId: 64d8e451182313ba95e5af0ae4f9af9f08330475
|
2019-12-05 20:34:19 +03:00 |
|
levlam
|
c01d0a89e6
|
Add set_message_id function.
GitOrigin-RevId: 0b8c03b6f26cfae0e388edd387a1d60576fe738d
|
2019-12-05 16:29:06 +03:00 |
|
levlam
|
f0cbbb49c8
|
Do not automatically read content of scheduled messages.
GitOrigin-RevId: a48b63b7645775f6a97abfd76326e830ebbf911e
|
2019-12-05 01:05:10 +03:00 |
|
levlam
|
11f313c283
|
Repair scheduled messages when has_scheduled_server_messages changes.
GitOrigin-RevId: 916d603b7b0715cf95ac07b900b820ff17fa1b6d
|
2019-12-05 00:58:59 +03:00 |
|
levlam
|
28f0cd5df5
|
Synchronize scheduled messages with the server.
GitOrigin-RevId: e4934cf80b6fd769891a684f01ff7d76eeae9cf9
|
2019-12-05 00:24:48 +03:00 |
|
levlam
|
f098a71926
|
Add persisitent has_scheduled_database_messages. Now Message.has_scheduled_messages should be always correct.
GitOrigin-RevId: 8fd4e1feceeae1f96599250410745069ff42b3a1
|
2019-12-04 22:43:14 +03:00 |
|
levlam
|
6b6d9e509b
|
Add limit to get_scheduled_messages.
GitOrigin-RevId: e49616784f920b526611ac44dd7c5c5d7b599318
|
2019-12-04 21:52:53 +03:00 |
|
levlam
|
4b3c36e924
|
Send updateChatHasScheduledMessages whenever a scheduled message is added or deleted.
GitOrigin-RevId: df1f6b90fa611f89c6b0c95131c33a6cd446807b
|
2019-12-04 21:44:40 +03:00 |
|
levlam
|
8b0be018b8
|
Add send_update_chat_has_scheduled_messages function.
GitOrigin-RevId: 40f93886362b53651c0eb5eb77b3847bc127bd83
|
2019-12-04 21:01:00 +03:00 |
|
levlam
|
bf0bc88e19
|
Better name for has_scheduled_messages.
GitOrigin-RevId: 8563f78409e3142baa21ac70f6c5bdeb1728c274
|
2019-12-04 20:51:52 +03:00 |
|
levlam
|
7bd137889b
|
Calculate scheduled messages hash.
GitOrigin-RevId: 2d3fc1e9d4e19913993ddf0d6aaee4303d2b41bc
|
2019-12-04 20:41:49 +03:00 |
|
levlam
|
a99c3ba264
|
Store and check separately deleted_scheduled_server_message_ids.
GitOrigin-RevId: 45eba775a6d80cb74a62616ff63a9dc1f6fa3ebd
|
2019-12-04 20:32:50 +03:00 |
|
levlam
|
b9666b727e
|
Add td_api::getChatScheduledMessages. Load scheduled messages from database.
GitOrigin-RevId: ab2554642ff588c227c40d4fa12ecc663608e7a4
|
2019-12-04 20:06:39 +03:00 |
|
levlam
|
b191c0e3f9
|
Support editing of scheduled messages.
GitOrigin-RevId: 5c288fcd12e06d13520b7baeb0aeec5acd01da38
|
2019-12-03 20:26:09 +03:00 |
|
levlam
|
fc8f1a9230
|
Support immediate send of scheduled messages.
GitOrigin-RevId: 84907f350f545dfd0f93129fd61c07692b5906cb
|
2019-12-03 16:16:19 +03:00 |
|
levlam
|
f5027bf97f
|
Add td_api::editMessageSchedulingState.
GitOrigin-RevId: 193c66fa63e84a8a233a3d60f0593df591d9f80d
|
2019-12-03 04:36:23 +03:00 |
|
levlam
|
256ab1c2f7
|
Add MessagesManager::get_message_sending_state_object function.
GitOrigin-RevId: 36300a157d085f96afe9dd62b865b952ba38d042
|
2019-12-03 03:20:38 +03:00 |
|
levlam
|
aa01368b38
|
Add Message.scheduling_state.
GitOrigin-RevId: fd950850b1258f49f8272e99a0b4975ab11a38d6
|
2019-12-03 03:12:41 +03:00 |
|
levlam
|
ff1b4566f0
|
Decrease total_count when get invalid recent location.
GitOrigin-RevId: 26bd0b3be1211fb2a9cad34034c54d68764b6f56
|
2019-12-03 00:44:13 +03:00 |
|
levlam
|
f3dfaa6c29
|
Support scheduled message in MessageId::get_next_message_id. Add get_next_yet_unsent_scheduled_message_id.
GitOrigin-RevId: dfe0c0b13c6312525564eba9f10f390f5ad09778
|
2019-12-02 23:29:08 +03:00 |
|
levlam
|
57eb92060b
|
Fixes for scheduled messages.
GitOrigin-RevId: 23bc0e408567366d21ba2f0f7be80983b6d92a15
|
2019-12-02 20:50:10 +03:00 |
|
levlam
|
f34a515e70
|
Support updateNewScheduledMessage.
GitOrigin-RevId: 09e706ddb7eab36e139bc6619a92272dcaef1fa4
|
2019-12-02 19:30:35 +03:00 |
|
levlam
|
bfd3d653a7
|
Support updateDeleteScheduledMessages.
GitOrigin-RevId: 9f2d0cf00a3e6ffe20c1b0834cad69fbb0861ad7
|
2019-12-02 19:20:54 +03:00 |
|
levlam
|
80d814e2ee
|
Support rescheduling in add_scheduled_message_to_dialog.
GitOrigin-RevId: 0e914bcf3d06f1b1df6f4f7858086c41216e529c
|
2019-12-02 18:22:05 +03:00 |
|
levlam
|
995e8895ba
|
Transparent return of a correct scheduled server message.
GitOrigin-RevId: c260cefdcef0a919f6aeb4a025500cfc3cd5af00
|
2019-12-02 17:56:03 +03:00 |
|
levlam
|
16f29863cd
|
Support scheduled messages in MessagesDb::get_message.
GitOrigin-RevId: 77f428b6b0012a41b2766b98ccf076d18b5eb513
|
2019-12-02 17:27:28 +03:00 |
|
levlam
|
1a0bb5f56f
|
Add scheduled messages database table.
GitOrigin-RevId: 6007af6d26f1c4577fd3e5f1613e5f89d1610fdc
|
2019-12-02 03:33:35 +03:00 |
|
levlam
|
b13213f9cb
|
Add is_scheduled parameter to on_get_messages.
GitOrigin-RevId: 534179758c55494fce0005d8aceaa74a2c3d7247
|
2019-12-02 00:11:15 +03:00 |
|
levlam
|
9b7d248518
|
Store scheduled message date by their server message ID.
GitOrigin-RevId: de3ea20ea659ce9cf620e7223375937c494699a1
|
2019-12-01 20:50:52 +03:00 |
|
levlam
|
039db3374a
|
Add GetScheduledMessagesQuery.
GitOrigin-RevId: f2881fcd10378fee44b0cfce060c25b18ed86541
|
2019-12-01 19:36:03 +03:00 |
|
levlam
|
f7cf15b9f2
|
Add strongly typed ScheduledServerMessageId.
GitOrigin-RevId: 222322bbf861c773b777c3b9beac3bf0dba561db
|
2019-12-01 19:03:51 +03:00 |
|
levlam
|
fb43213362
|
Add DeleteScheduledMessagesQuery.
GitOrigin-RevId: 958627be18ef34e89e2845d5e4fd095dbd4a66c4
|
2019-11-30 22:13:41 +03:00 |
|
levlam
|
af04f95daa
|
Add separate reget_message_from_server_if_needed function.
GitOrigin-RevId: 18b0a4f38ac429890832851370ff6371f6496ff1
|
2019-11-30 20:22:44 +03:00 |
|
levlam
|
7ea11b2150
|
Add separate update_sent_message_contents function.
GitOrigin-RevId: 621fd837d722355a6e5a392b3de390f6bc0839ba
|
2019-11-30 20:04:49 +03:00 |
|
levlam
|
10c743a839
|
Add separate speculatively_update_channel_participants function.
GitOrigin-RevId: 73cb67adffb5488686e181d460640e0682e418e3
|
2019-11-30 19:41:23 +03:00 |
|
levlam
|
0c2c587f8c
|
Add update_top_dialogs function.
GitOrigin-RevId: c5ea2e50e47693d37cb9e2d7dfea6176a2afed43
|
2019-11-30 19:29:52 +03:00 |
|
levlam
|
a75e53cdf3
|
Simplify update_used_hashtags usage.
GitOrigin-RevId: 998789ff1c53eaaac86a61728449ac6524e43326
|
2019-11-30 18:27:08 +03:00 |
|
levlam
|
8d8c3cacd4
|
Add change_message_files function.
GitOrigin-RevId: 3b6faf4c55cb11281ef98afc32534fb221716c1b
|
2019-11-30 18:17:34 +03:00 |
|
levlam
|
415229bfa6
|
Pass only dialog_id to need_delete_message_files.
GitOrigin-RevId: e5396f6bcaea435dca161d0cd47addfca42bfb79
|
2019-11-30 18:05:30 +03:00 |
|
levlam
|
a69c9a0f06
|
Simplify update_message usage.
GitOrigin-RevId: e4266a80dc4108053d293b5779fdf04d4988116d
|
2019-11-30 17:38:46 +03:00 |
|
levlam
|
fc6f1fc5f4
|
Add comment on calling set_dialog_reply_markup in on_get_message instead of add_message_to_dialog.
GitOrigin-RevId: e932db6bc5078baed759a6c7af6b2c72749db25a
|
2019-11-30 17:15:46 +03:00 |
|
levlam
|
40d13deeaa
|
Store scheduled messages in a separate treap.
GitOrigin-RevId: dc56897b3faa45e5092d036bbb73f357a6e4c607
|
2019-11-30 17:04:59 +03:00 |
|
levlam
|
1d9c00e9f4
|
Use MultiPromise in get_messages_from_server.
GitOrigin-RevId: e257dc31983b987cac0248d1a8dcf4b3cb2bd506
|
2019-11-30 15:50:27 +03:00 |
|
levlam
|
b78507e81d
|
Use MultiPromise to delete messages from server.
GitOrigin-RevId: 8fa8b27bfb4d3d394016e8b4fd18ea56294dae7a
|
2019-11-30 15:45:31 +03:00 |
|
levlam
|
d9160fd52c
|
Add treap_delete_message static function.
GitOrigin-RevId: 36433ee3bd262a791a916ee6b0f3207346894193
|
2019-11-29 20:30:55 +03:00 |
|
levlam
|
fdc81d6d9b
|
Improve spelling.
GitOrigin-RevId: c52f49b8637f641b0781f0af640c8e03a4fed121
|
2019-11-29 19:24:45 +03:00 |
|
levlam
|
3b1ab2ff8f
|
Add scheduled-safe MessageId comparison operators.
GitOrigin-RevId: edc6481519510a425bcf3f08bb46eaac1c923ee4
|
2019-11-29 19:11:06 +03:00 |
|
levlam
|
0c77eb2745
|
Pass raw pointers in find_*.
GitOrigin-RevId: 1f62c94647d861e2ff828c64391badd76c8e1ec9
|
2019-11-29 16:16:02 +03:00 |
|
levlam
|
c710403382
|
Move cancel_send_deleted_message call to on_message_deleted.
GitOrigin-RevId: 84a141e575f8a1b87508c208fe5f1649ab0900df
|
2019-11-29 15:57:03 +03:00 |
|
levlam
|
1a636768b9
|
Add cancel_send_deleted_message function.
GitOrigin-RevId: 64f33bc1540da85a4c2c81ca28d8f4e1849dd9fb
|
2019-11-29 15:52:18 +03:00 |
|
levlam
|
c65004efde
|
Padd Message pointer to cancel_send_message_query.
GitOrigin-RevId: 2e56372571b970d8549f5a8b9223218f1ffa9244
|
2019-11-29 15:30:48 +03:00 |
|
levlam
|
9948e41aed
|
Add support for scheduled message IDs in MessagesManager.
GitOrigin-RevId: b489f50556450a142427159a80d6488bf36622d1
|
2019-11-29 15:03:03 +03:00 |
|
levlam
|
6b24886bf0
|
Partial support for scheduled message IDs.
GitOrigin-RevId: 752336efc26fb73a038801b99b490d0f68163b04
|
2019-11-26 23:47:13 +03:00 |
|
levlam
|
0618005a95
|
Add FullMessageId.h.
GitOrigin-RevId: 758133149ff3317b3d9d3f86b1a841e8f34ca35a
|
2019-11-26 19:53:10 +03:00 |
|
levlam
|
9da6ecaf1f
|
Make MessageId layout private.
GitOrigin-RevId: a123b1bd7fe02110e699878c6c60dcc41b90c960
|
2019-11-26 03:32:05 +03:00 |
|
levlam
|
b4e45a2852
|
Make MessageId::SERVER_ID_SHIFT private.
GitOrigin-RevId: c7fa31a1fda75d874c674f0ee8e9ddcebde21c9d
|
2019-11-26 03:07:45 +03:00 |
|
levlam
|
5b1d363918
|
Add Chat.has_scheduled_messages flag.
GitOrigin-RevId: 6d7f211647c738d5912476232e8842c245d1f884
|
2019-11-25 19:11:24 +03:00 |
|
levlam
|
2a335089f9
|
Save is_from_scheduled Message flag.
GitOrigin-RevId: 6db9c1a244f275372fddd74977fdce37e8ffad35
|
2019-11-25 03:36:49 +03:00 |
|
levlam
|
df2b273aea
|
Add td_api::message.restriction_reason.
GitOrigin-RevId: 9ecf89e3f14ed64d6ce5bd33aed97e03feae794a
|
2019-11-24 02:28:48 +03:00 |
|
levlam
|
b00293992e
|
Fix hide_edit_date support.
GitOrigin-RevId: a6875a31b618f527883e8bc205efe8ac96f683b9
|
2019-11-22 14:02:18 +03:00 |
|
levlam
|
8b0f0cdaf6
|
Add support for hiding message edit date via server-side flag.
GitOrigin-RevId: 675035e0b7d087da9ec76c2e104fb8ba23f07c18
|
2019-11-22 00:02:09 +03:00 |
|
levlam
|
c5cc0e90f6
|
Update layer ro 106.
GitOrigin-RevId: 41e5db3d090559a7403accc8057c9957e6ead02d
|
2019-11-21 22:57:20 +03:00 |
|
levlam
|
0f353009f8
|
Improve slow mode.
GitOrigin-RevId: 068774033f5c84165e4833dafa29789d307ab97b
|
2019-11-21 16:58:00 +03:00 |
|
levlam
|
97cdacff7b
|
Update slow_mode_next_send_date when a message is sent.
GitOrigin-RevId: d373e4685a4c6b717272844b50da8fb3139b2f64
|
2019-11-21 02:41:53 +03:00 |
|
levlam
|
38696df14d
|
Load all drafts when chat list is loaded first time.
GitOrigin-RevId: 5f9190a53ecb131f3493dfd0bf53c04c3bf9fe8f
|
2019-11-17 22:27:52 +03:00 |
|
levlam
|
43d8e6ccdb
|
Return administrator ranks from getChatAdministrators.
GitOrigin-RevId: 8e3e540ae73aebacf9a3fe954b2b81511c999953
|
2019-11-11 19:14:32 +03:00 |
|
levlam
|
ad051b5522
|
Add td_api::chatEventSlowModeDelayChanged.
GitOrigin-RevId: ac41d0d684b422ed964c6d35af160992b988b2ce
|
2019-11-10 17:26:03 +03:00 |
|
levlam
|
6714476496
|
Improve logging.
GitOrigin-RevId: 932e48adddac8a163ed114e610fdee1a1d614700
|
2019-10-26 16:39:23 +03:00 |
|
levlam
|
1e018da7b8
|
Various fixes.
GitOrigin-RevId: b09e5fda6d25bd027f6bcbcbbe8324567b8ddcf8
|
2019-10-22 20:01:15 +03:00 |
|
levlam
|
ca35608868
|
Add chat_list filter to searchMessages.
GitOrigin-RevId: 3dbc4b3509545f3c23f0231c931af0a73bef8796
|
2019-10-22 15:06:11 +03:00 |
|
levlam
|
918f6a0cfd
|
Use td::contains and td::remove instead of std::find if possible.
GitOrigin-RevId: faa0863eb49ee8ce4c2138dfec022620f71d2f6a
|
2019-10-22 02:12:58 +03:00 |
|
levlam
|
56c3a2fbed
|
Use td::remove_if.
GitOrigin-RevId: 5cf21381966dc58689a06cc94cb8843fd8087bb9
|
2019-10-21 16:25:56 +03:00 |
|
levlam
|
4ae36f6564
|
Keep privacy exception flag when hiding action bar and reporting spam.
GitOrigin-RevId: 64c21e3ca52bf74b19b7ee40bee6c9218a6feb70
|
2019-10-17 20:55:55 +03:00 |
|
levlam
|
4e9ca731b2
|
Allow to create location-based chats through createNewSupergroupChat.
GitOrigin-RevId: 9f954674052a2710425555e9b517f06319eb949e
|
2019-10-14 17:51:12 +03:00 |
|
levlam
|
af527d0c9e
|
Support supergroups with location.
GitOrigin-RevId: 976b72eaf8d5fd2226b6d548ed8bca167b385264
|
2019-10-13 20:58:32 +03:00 |
|
levlam
|
35b9d56c64
|
Add DialogLocation, td_api::chatLocation and td_api::chatEventLocationChanged.
GitOrigin-RevId: 5bd47788c58065b0b79119d7d84c1d851a400417
|
2019-10-13 02:21:37 +03:00 |
|
levlam
|
d2047ff6d1
|
Add reload_user_full and use it to repair action bar.
GitOrigin-RevId: b7b4bc20b944caca0c086d9ecbf99756e8330c61
|
2019-10-11 18:39:10 +03:00 |
|
levlam
|
a3126dcce5
|
Add td_api::sharePhoneNumber.
GitOrigin-RevId: 522cee62cab40378802fbb5352f9d06ee2709a03
|
2019-10-11 17:59:04 +03:00 |
|
levlam
|
f6f9997730
|
Add td_api::chatReportReasonUnrelatedLocation.
GitOrigin-RevId: 2bb5993d4478766a5758a18768c6afe18dbc2130
|
2019-10-11 04:56:43 +03:00 |
|
levlam
|
49b43f8e94
|
Reload dialog action bar when it is opened.
GitOrigin-RevId: dcf0122af906a2628b9a02e1695e48b18b743bf8
|
2019-10-11 04:28:00 +03:00 |
|
levlam
|
7327b673de
|
Support action bar report in reportChat.
GitOrigin-RevId: 2c85ca043c9615a27c1bdf46b7fd01ed98940699
|
2019-10-11 04:17:46 +03:00 |
|
levlam
|
378ed2c659
|
Remove ChatReportSpamState and methods for it.
GitOrigin-RevId: 3de0cb0147ad70e4d540f5a61f1aa08c64423edd
|
2019-10-11 03:36:26 +03:00 |
|
levlam
|
825cb0dd0b
|
Add removeChatActionBar.
GitOrigin-RevId: 865c60b541cdfdc1465ab4814e1ca8c2c9ff0c49
|
2019-10-11 03:28:41 +03:00 |
|
levlam
|
62db4169a2
|
Update action bar when user is deleted.
GitOrigin-RevId: 1c31884369b944f79b2772e0142ce95a08ebafc1
|
2019-10-11 03:11:22 +03:00 |
|
levlam
|
9d229b7ad1
|
Update action bar when user is added to contacts.
GitOrigin-RevId: 52883ca7e29a3f1b9fe86a7cb210daba5c8cef46
|
2019-10-11 02:59:40 +03:00 |
|
levlam
|
a9dbaa6b78
|
Use dialog_type in fix_new_dialog.
GitOrigin-RevId: cf3fc67af2291e885fd3f6ed5682f708232ec876
|
2019-10-11 02:36:23 +03:00 |
|
levlam
|
d17a1734a4
|
Add repair_dialog_action_bar.
GitOrigin-RevId: 4157f18ad20ff09807b59433d86bce04b676fdf2
|
2019-10-11 02:32:25 +03:00 |
|
levlam
|
56af9f3f3c
|
Add updateChatActionBar.
GitOrigin-RevId: 116120e198e0c12c3e91f1dea4045ae3bc914e1c
|
2019-10-11 01:23:28 +03:00 |
|
levlam
|
24ecd9564e
|
Hide action bar when the user is blocked.
GitOrigin-RevId: 2c317e3612555f496da0b6f2f55f1de60f62cd57
|
2019-10-11 00:46:05 +03:00 |
|
levlam
|
91bdd50884
|
Add need_phone_number_privacy_exception.
GitOrigin-RevId: b1d6237900577a50dcc105d72962cebe62ee70ca
|
2019-10-11 00:18:34 +03:00 |
|
levlam
|
1b147a8142
|
Add Chat.action_bar.
GitOrigin-RevId: 4429f6d77af0686dd2c890423a4667a5251f0bff
|
2019-10-10 23:19:26 +03:00 |
|
levlam
|
99f4abb249
|
Update to layer 102. Replace LinkState with is_contact/is_mutual_contact.
GitOrigin-RevId: 33061b18ac72711f4df168fb27497bccb36d3367
|
2019-10-07 22:51:03 +03:00 |
|
levlam
|
87d875ca81
|
Update layer to 101. New entities type support.
GitOrigin-RevId: c4a4e73d20c27c2ad1440bae2acb9559d1f10a5d
|
2019-09-19 22:07:11 +03:00 |
|
levlam
|
408a456589
|
Add strongly typed StickerSetId.
GitOrigin-RevId: 518121f89e3a4c95ab5a2095a9bc2217090911de
|
2019-09-18 06:55:43 +03:00 |
|
levlam
|
15f31cf23a
|
Add storer and parser for unique_ptr.
GitOrigin-RevId: 2b0f5c8a3e9f7a9343cf9557d10cbf95009ba847
|
2019-09-18 02:42:38 +03:00 |
|
levlam
|
1d850cb14f
|
Better updating of legacy messages.
GitOrigin-RevId: 02baac67a94e4b4fe6dcf1a178ad08284868c85a
|
2019-09-17 01:08:05 +03:00 |
|
levlam
|
f18e771926
|
Fix moving secret chats to archive.
GitOrigin-RevId: 70e3a57ac80f244c93b1b0f2c37bf9c813ae0f14
|
2019-09-16 17:52:08 +03:00 |
|
levlam
|
f0fbc1576f
|
Fix recalc_unread_count.
GitOrigin-RevId: 9444866155256de9b474317c3e28267777f3bf36
|
2019-09-16 03:37:29 +03:00 |
|
levlam
|
003aee4268
|
Use data from the database for max_dialog_date.
GitOrigin-RevId: a1dc2d8ecf64a68209637bb1ce0d16a8b661770c
|
2019-09-15 04:15:46 +03:00 |
|
levlam
|
14d339b0bc
|
Add td_api::chatEventLinkedChatChanged.
GitOrigin-RevId: 6cd8d1a58db0d64bc98b7d738bc901dd8a8e5e39
|
2019-09-13 18:17:26 +03:00 |
|
levlam
|
9bf6b2c78a
|
Allow read access to linked channels.
GitOrigin-RevId: 24003a60c80a8e61354ba647fb616e92f88c6e48
|
2019-09-13 05:40:02 +03:00 |
|
levlam
|
1f22f9e0b7
|
Add support for LoginUrl buttons handling.
GitOrigin-RevId: 3b53d50a6619743830e065f34946869e56f94bcb
|
2019-09-07 02:07:56 +03:00 |
|
levlam
|
779fbb6d83
|
Update to layer 100. Add td_api::userPrivacySettingShowPhoneNumber and td_api::topChatCategoryForwardChats.
GitOrigin-RevId: 96fd17d9fef8e08b4415ec0d8e13e6cdb37f589b
|
2019-09-03 17:13:03 +03:00 |
|
levlam
|
a520a897a0
|
Use pts to apply channel unread_count.
GitOrigin-RevId: fd3f5515aec0a7504f1dd6a32aeeafd4c69c0e42
|
2019-08-28 00:27:12 +03:00 |
|
levlam
|
6dd224ab55
|
Pass pts to on_read_channel_inbox.
GitOrigin-RevId: ecfc1333caf77209d388430c4c23bef30e55ca6e
|
2019-08-27 18:32:39 +03:00 |
|
levlam
|
34352e7f1f
|
Use still_unread_count from updates.
GitOrigin-RevId: e506aaef608895d9a925b4b90594b9a7978c4e07
|
2019-08-27 18:24:37 +03:00 |
|
levlam
|
078e48b56a
|
Support folder_id in updateRead*Inbox.
GitOrigin-RevId: 26a80b22aa1e759f10b854bcbfb1c53d69f96150
|
2019-08-27 18:15:36 +03:00 |
|
levlam
|
0aa0a3b967
|
Add td_api::setChatChatList.
GitOrigin-RevId: 42340bc1ce169eadc73d6f29a06f6e87b70fe948
|
2019-08-27 17:23:01 +03:00 |
|
levlam
|
ae311f9973
|
Add folder_id support to DialogDb.
GitOrigin-RevId: 10d69d7b78542fd687925114d9f4c1c9e849d244
|
2019-08-26 20:08:51 +03:00 |
|
levlam
|
c1afa189f3
|
Support multiple chat lists.
GitOrigin-RevId: 8adecce0ddf36bb2408eecc19b7f1fc8856151fc
|
2019-08-22 18:24:02 +03:00 |
|
levlam
|
7c8cda75a2
|
Add get_dialog_public_order method.
GitOrigin-RevId: c9e17257409c74de85e00ebb5331f88a023d70d0
|
2019-08-20 20:25:38 +03:00 |
|
levlam
|
936a84c025
|
Update to layer 99. Add support for ChatListType.
GitOrigin-RevId: fdd5de60e479fa9a72975bee8e3cb911f390ec01
|
2019-08-19 04:51:03 +03:00 |
|
levlam
|
c1a201fd7f
|
Use main remote location for upload.
GitOrigin-RevId: 1a77b73bf73608e219cbf2a0d888f33b0c406a80
|
2019-11-17 22:41:28 +03:00 |
|
levlam
|
7de4f8b078
|
Do not add messages sent via bot to list of active live locations.
GitOrigin-RevId: fdd83122b83f2b20d2ab460c9d27dcf320a53c4d
|
2019-11-05 19:20:13 +03:00 |
|
levlam
|
ac60ef4c5a
|
Do not allow recursive call to set_dialog_pinned_message_notification.
GitOrigin-RevId: 91db05f21ec2feb322efa9c9be5aa76b9f49ad3f
|
2019-10-23 21:53:26 +03:00 |
|
levlam
|
b25e039a99
|
Fix running getDifference from read_history_inbox.
GitOrigin-RevId: d756bf323db13a40f7e09f070d522ab61549b489
|
2019-10-22 20:15:40 +03:00 |
|
levlam
|
3dc2716ee2
|
Drop invalid last_new_message_id.
GitOrigin-RevId: f9609a3cf52214f8d8f76b201afcd6fbd74ee1be
|
2019-10-18 17:43:31 +03:00 |
|
levlam
|
8f58e11020
|
Replace emptiness CHECK with explicit clear().
GitOrigin-RevId: 65a2a6b5c3f67845140a9d2182a1859bceaa9d7b
|
2019-10-18 17:27:15 +03:00 |
|
levlam
|
c597cfd121
|
Delete pending notifications in remove_all_dialog_notifications and remove_message_dialog_notifications.
GitOrigin-RevId: 913c5accbe16d6a1f455eb2db67c0453fcde6e7a
|
2019-10-18 17:21:00 +03:00 |
|
levlam
|
066407d7dd
|
Pass from_mentions instead of NotificationGroup to remove_all_dialog_notifications.
GitOrigin-RevId: bd7d084bdf6cbfe0dacfc40e7d51d6fc8a8eac18
|
2019-10-18 17:02:34 +03:00 |
|
levlam
|
30250216e8
|
Never log updateReadHistoryInbox with 0 max_message_id.
GitOrigin-RevId: f4b3ca895e39f55318054268329d26b7932e41c3
|
2019-10-18 15:57:16 +03:00 |
|
levlam
|
c91efe472b
|
Add force to another overload of get_input_media.
GitOrigin-RevId: fc64a9f6ee08e5432c6475f8b1493bcd2524ae4f
|
2019-10-09 02:59:25 +03:00 |
|
levlam
|
dcfa6d1ea6
|
Improve logging on failed CHECK.
GitOrigin-RevId: 34a9fdad6499503edca51c4c3136731d2c8acb8a
|
2019-10-03 23:23:38 +03:00 |
|
levlam
|
ef924d218d
|
Better logging on invalid database data.
GitOrigin-RevId: f474f0493d701758836c3c0345ff8697b5be9ce5
|
2019-10-03 23:04:33 +03:00 |
|
levlam
|
0e2898b81e
|
Add td_api::notification.is_silent.
GitOrigin-RevId: bab4a0c401913177b9fc794ee510c912be3f2727
|
2019-10-03 21:58:50 +03:00 |
|
levlam
|
61c883b971
|
Add check for max_unavailable_message_id validness.
GitOrigin-RevId: f5b32a7d3b122981456d5d63f40513526a633d06
|
2019-10-03 18:09:21 +03:00 |
|
levlam
|
64f813fffb
|
Add more logging.
GitOrigin-RevId: 1485d6332d7440fd63db756bfa8b250fe50b1cab
|
2019-10-03 17:21:05 +03:00 |
|
levlam
|
5f94662807
|
Always treat pins as mentions.
GitOrigin-RevId: 8a573c3b67c198e246d81a1ff64b5a702b45fac3
|
2019-09-30 23:29:56 +03:00 |
|
levlam
|
fff1b6d4b5
|
Add input_media debug.
GitOrigin-RevId: f4285e14666cd4707e8737b8d2ae69fccdce0151
|
2019-09-30 18:02:52 +03:00 |
|
levlam
|
0b6c1d226f
|
Update clag-format to the latest (190926/r372920) version.
GitOrigin-RevId: 7861ae8ad28eb1f6a06ff3c6f56eff3f67b1d24c
|
2019-09-28 05:14:21 +03:00 |
|
levlam
|
f29c4a9ed1
|
Remove unneded explicit td::.
GitOrigin-RevId: e3888510ce72a55072a11d105311f07b4ba42bbf
|
2019-09-15 06:19:46 +03:00 |
|
levlam
|
b52d31e610
|
Remove unused assignment.
GitOrigin-RevId: dc77bab49db3a5b45ac40b2075fbd8cd3d4d8185
|
2019-09-08 04:30:14 +03:00 |
|