levlam
|
23e13ab5bc
|
Improve logging.
GitOrigin-RevId: 519825dc66e76a1ba72c7100f78cfba0f796b752
|
2020-06-03 21:10:03 +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
|
d94afc648d
|
Fix file database statistics.
GitOrigin-RevId: 4ad707a1e8cb17dffa1b6a7b6ed299dd772a563d
|
2020-06-02 18:19:44 +03:00 |
|
Arseny Smirnov
|
1ba4a5912d
|
getDatabaseStats: return max filedb depth
GitOrigin-RevId: 7daf3dbabc342f1947777d0e2d52494edc65270e
|
2020-06-02 17:38:26 +03:00 |
|
levlam
|
c78fbe4bc5
|
Increase version to 1.6.6.
GitOrigin-RevId: 3e77d586408126b7795d27b9620616ac96ac742b
|
2020-06-02 17:03:04 +03:00 |
|
levlam
|
5776148de9
|
Delete unused method.
GitOrigin-RevId: 51e9426cdc00eef43a5fe926d1d079a986fd908a
|
2020-06-02 14:02:12 +03:00 |
|
levlam
|
25f77585c9
|
Move DialogFilter implementation to separate files.
GitOrigin-RevId: c58b7f42811242882f00d48152417826e465b5bc
|
2020-06-02 13:58:53 +03:00 |
|
levlam
|
e665edc4fc
|
Rename thumbnail.thumbnail to thumbnail.file.
GitOrigin-RevId: e50ff07938086c7c4de7953e57206ebfb96b50e4
|
2020-06-02 13:27:06 +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
|
23bec2101f
|
Improve logging in config recoverer.
GitOrigin-RevId: c385a9c138f1f6a8a0d84b64246edca76a2705c5
|
2020-06-01 23:52:25 +03:00 |
|
levlam
|
f234440d3d
|
Improve method names.
GitOrigin-RevId: 34ec6eb1d3f3db02b946e147673a64c269c49132
|
2020-06-01 23:09:35 +03:00 |
|
levlam
|
6172ece619
|
Do not check size exceeding of downloaded file.
GitOrigin-RevId: e7a7ca59867328737fe63db6aa60398229bd85a1
|
2020-06-01 21:35:06 +03:00 |
|
levlam
|
280d6f6649
|
Fail download in case of error in on_download_ok.
GitOrigin-RevId: 20ab3d279d54c945bfe4d114e9980ff8b636f292
|
2020-06-01 20:48:18 +03:00 |
|
levlam
|
113f3a7080
|
Add thumbnailFormatGif.
GitOrigin-RevId: 4ad35c83a6ae47d92cbb66cb60622d147f11c7b4
|
2020-06-01 20:34:48 +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
|
e9779f8f4f
|
Fix CE.
GitOrigin-RevId: 23061bc20ec3dbc7b71452473a27d349a5f968eb
|
2020-05-31 23:26:43 +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
|
8d0fa5ce77
|
Add td_api::thumbnail.
GitOrigin-RevId: b74fa62e415816ce63d3bd4415bd2bb8d6aa3f8b
|
2020-05-31 22:22:15 +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
|
c7e65e8cc6
|
tg_cli: add ccfe.
GitOrigin-RevId: 628c445b99a002d1c82640b12b9000d9cd04eabf
|
2020-05-29 10:02:34 +03:00 |
|
levlam
|
530267db6c
|
Fix InputDialogId::are_equivalent.
GitOrigin-RevId: 0262b989ad6459aefc61a11b0d1c842cc9ae4a7b
|
2020-05-29 09:48:32 +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
|
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
|
2b699a213f
|
Simplify chatFilterInfo.
GitOrigin-RevId: 6c9d92b4a9bd6885ef3078d84ed448b13630c6e1
|
2020-05-19 12:48:06 +03:00 |
|
levlam
|
ffb9dd2c6c
|
Add chat_list to toggleChatIsPinned.
GitOrigin-RevId: ffc8a124677f22f8367009e006a4f1ad17953f22
|
2020-05-19 04:21:50 +03:00 |
|
levlam
|
a8e570fd65
|
Add td_api::getRecommendedChatFilters.
GitOrigin-RevId: d5f56357448c9f13154b5dead09cbd73ecf01e90
|
2020-05-19 04:03:15 +03:00 |
|
levlam
|
0d520e25be
|
Add private load_dialog_filter.
GitOrigin-RevId: 9bdee3788d0bbe1c8cce1624df4945b1fcec3b3a
|
2020-05-19 03:02:05 +03:00 |
|
levlam
|
7fccd7ba7c
|
Add td_api::reorderChatFilters.
GitOrigin-RevId: 33fe529db5e96b6dfc15fc86b1b635fb412091b2
|
2020-05-19 02:41:07 +03:00 |
|
levlam
|
7970c9356a
|
Never add duplicate dialogs to filter.
GitOrigin-RevId: d708e60b6712610e27eff66c58a0574aa2cf5442
|
2020-05-19 01:23:13 +03:00 |
|
levlam
|
d2b53fc023
|
Add td_api::deleteChatFilter.
GitOrigin-RevId: ceb3700d72271c6b570d258f6cf5e46f50d80b07
|
2020-05-19 01:06:24 +03:00 |
|
levlam
|
49ccb05176
|
Add td_api::editChatFilter.
GitOrigin-RevId: 51af78e8079dbb89421cdfbd81d4e37b10d95f03
|
2020-05-19 00:47:34 +03:00 |
|
levlam
|
d1bb70820a
|
Add DialogFilter::get_dialog_filter.
GitOrigin-RevId: 0e8e6c5a8a4457c72a5e0c647288bdfef1d99d16
|
2020-05-18 22:31:22 +03:00 |
|
levlam
|
cc77e7e9ca
|
Add td_api::createChatFilter.
GitOrigin-RevId: 4c3fa89cae21b1db3643cfe7640d8ef1043b99f9
|
2020-05-18 22:26:44 +03:00 |
|
levlam
|
e662e210ef
|
Add secret chats support in getDialogList.
GitOrigin-RevId: 3169ed59345ffd4bb82e106cd3b883de9f85df53
|
2020-05-18 02:39:59 +03:00 |
|
levlam
|
5959333499
|
Add td_api::getChatFilter.
GitOrigin-RevId: 024ec630489928bd30fcba6c0c809d4970b66b6c
|
2020-05-18 02:29:28 +03:00 |
|
levlam
|
d3ed675cc2
|
Always return pointer from get_dialog_list.
GitOrigin-RevId: 4b16c99a9704189821e528aeb4f088b2789015c8
|
2020-05-15 16:32:07 +03:00 |
|
levlam
|
f949ecbd3c
|
Add basic support for updateDialogFilter and updateDialogFilterOrder.
GitOrigin-RevId: 59b715faad14356926593a744cf90e38bf78f38f
|
2020-05-15 02:14:06 +03:00 |
|
levlam
|
0e5b939a73
|
Support telegram_api::updateDialogFilters.
GitOrigin-RevId: 0a3ada4fa00079a120d358b0abaf413bbb88466d
|
2020-05-15 01:44:52 +03:00 |
|
levlam
|
2bbbfd684d
|
Add updateChatFilters.
GitOrigin-RevId: 6dcc138d5d83dfcf7a6c0ec4108ea2c516f8caf6
|
2020-05-15 01:39:28 +03:00 |
|
levlam
|
eb07452aaa
|
Add InputDialogId.
GitOrigin-RevId: 0fbfdb383b13c5398c8f98e7315837c892db258a
|
2020-05-12 15:52:10 +03:00 |
|
levlam
|
89e0dd6a06
|
Add DialogFilterId class.
GitOrigin-RevId: 050b0934a7646e3bdefa5875bb922b7dce06c408
|
2020-05-12 03:14:20 +03:00 |
|
levlam
|
c2ce25ee44
|
Add MessagesManager::need_dialog_in_list.
GitOrigin-RevId: 9e1b6d98f9fd47c23a9af237c632809a145f7b58
|
2020-05-12 01:57:17 +03:00 |
|
levlam
|
a2339a1514
|
Add total_dialog_count to DialogOrderInList.
GitOrigin-RevId: 2fca8a0788521b2f6d542102c4d36015a927d6f8
|
2020-05-10 22:06:13 +03:00 |
|
levlam
|
2a700693ce
|
Unpin dialog before changing folder_id.
GitOrigin-RevId: eae801a366f777db3872bc1e0ed4258e9d159e07
|
2020-05-10 01:28:17 +03:00 |
|
levlam
|
3a577baf9b
|
Add get_dialog_base_order.
GitOrigin-RevId: 9c9627826585365e5f15a2080833fabff8371327
|
2020-05-09 23:51:14 +03:00 |
|
levlam
|
f6b7ce83f7
|
Implement update_dialog_lists.
GitOrigin-RevId: 86e87827fe15c6404d1a0e859a99063ea2173557
|
2020-05-09 23:39:11 +03:00 |
|
levlam
|
3c93bf8da2
|
Remove chat.chat_list.
GitOrigin-RevId: 24149fa780522d30546e8fb820441ee58046a6c5
|
2020-05-09 02:15:40 +03:00 |
|
levlam
|
0613614651
|
Add td_api::chatPosition instead of order, is_pinned and source.
GitOrigin-RevId: b1abfde7442368e062a505e179d5510daea7335a
|
2020-05-08 15:48:25 +03:00 |
|
levlam
|
86440b8a7b
|
Use get_dialog_lists.
GitOrigin-RevId: 348ca9cf4213b40060fa772e93f6b1fc2c5bf593
|
2020-05-04 15:58:41 +03:00 |
|
levlam
|
4fe08330d9
|
Add get_dialog_lists method.
GitOrigin-RevId: 9d228b0681ddeef07963223f7fc93c96a1798168
|
2020-05-04 01:47:26 +03:00 |
|
levlam
|
2408b46150
|
Optimize get_dialog_pinned_order.
GitOrigin-RevId: c313c29889afca63a0ccf983d9d97013b3ac33ee
|
2020-05-04 00:51:01 +03:00 |
|
levlam
|
186a3d133a
|
Rename ordered_server_dialogs_ to ordered_dialogs_.
GitOrigin-RevId: e2e14b2438bd434e3cbae9ca7605296b4c55b6c7
|
2020-05-03 22:59:28 +03:00 |
|
levlam
|
1130708995
|
Remove persistent current_pinned_dialog_order_.
GitOrigin-RevId: 63a74b4ec8d1de6af090390df0e4688677c46626
|
2020-05-03 01:38:11 +03:00 |
|
levlam
|
ba0e0dacfa
|
Store pinned dialog list in binlog.
GitOrigin-RevId: 819de60a7c5e8bdedf69e2e390494005af16ab6b
|
2020-05-03 01:10:54 +03:00 |
|
levlam
|
8a95f1d21e
|
Do not update unreceived notification update count if received duplicate group_id.
GitOrigin-RevId: 7856aef2ce0fc42ab76ffbb5e4fe1f613f933ad5
|
2020-05-31 02:13:00 +03:00 |
|
levlam
|
0cb809581c
|
Specify correct mime-type for sent local animated stickers.
GitOrigin-RevId: d3fd227210d09814bc8e686b3ba6f3cd7410cfa5
|
2020-05-31 01:49:16 +03:00 |
|
levlam
|
f301359deb
|
Do not animate unknown stickers before they are sent.
GitOrigin-RevId: 333cca74ec642ede27c4d2f5fc5794eb776990a3
|
2020-05-31 01:33:14 +03:00 |
|
levlam
|
fb3a4b49aa
|
Fix poll parsing.
GitOrigin-RevId: a2089864c44b80a6a7f2e6f75c3cb8e533c9f839
|
2020-05-30 22:46:38 +03:00 |
|
levlam
|
5989a3939b
|
Increase version to 1.6.5.
GitOrigin-RevId: 09448e515eb54d43d9f672ac885aa007f1e5fecf
|
2020-05-30 02:44:36 +03:00 |
|
levlam
|
6196bab690
|
Add td_api::updateAnimationSearchParameters.
GitOrigin-RevId: 6f53679977437f279a10fee8b6b1069d37a4e7a6
|
2020-05-30 02:42:45 +03:00 |
|
levlam
|
4a1e2ee34c
|
Add animated thumbnail support for animations and videos
GitOrigin-RevId: a9026a32be9a9ddf2597c6244e112fd853d81b1f
|
2020-05-30 01:48:56 +03:00 |
|
levlam
|
e8cb1dfeb5
|
Support stickers attached to animation.
GitOrigin-RevId: 3e2464146410fbc68b51721b10327f1ac92cbb66
|
2020-05-29 11:51:51 +03:00 |
|
levlam
|
3d8ff7f852
|
Update layer to 114.
GitOrigin-RevId: 8cfc80aa94c507de56d068472e152fb8aa0ab8a9
|
2020-05-29 11:26:08 +03:00 |
|
levlam
|
82d14a6ec1
|
Temporarily return file_reference repair for secret files.
GitOrigin-RevId: 8c5266cd5e130fbb3628ec532ce8ba3c3ec5a692
|
2020-05-29 10:24:07 +03:00 |
|
levlam
|
c5018cb69c
|
Add new DC2 IP address.
GitOrigin-RevId: 8f9272b29d3f3e32bb2d3a79821b3269b4baf9e4
|
2020-05-29 10:20:29 +03:00 |
|
levlam
|
f9577c97a3
|
Fix StickersManager::has_input_media.
GitOrigin-RevId: 4154b648c8641eb1e38f952c90c7b267d83a785a
|
2020-05-25 22:30:26 +03:00 |
|
levlam
|
54e5afe41c
|
Force getChannelDifference if receive too new updateChannelReadInbox.
GitOrigin-RevId: 0d2f346a00be7a3c97919e96f60c92bf1cea0eb7
|
2020-05-25 00:31:00 +03:00 |
|
levlam
|
f06778c7f7
|
Improve logging.
GitOrigin-RevId: 5ffb2eb51d6f3a05985925630bf7ca243d47f418
|
2020-05-25 00:11:18 +03:00 |
|
levlam
|
d5c6c51f15
|
First check existence of generate location in run_generate.
GitOrigin-RevId: e4a9ac3a7cef153bde854a058bcd81a371d58dd7
|
2020-05-24 21:35:47 +03:00 |
|
levlam
|
77304e3209
|
Drop poll voters cache when poll options changes.
GitOrigin-RevId: e9774ad0cc3574a3f1e1fa8ac796c056bafcf89d
|
2020-05-23 20:04:51 +03:00 |
|
levlam
|
6879165446
|
Update correct_option_id on poll options change.
GitOrigin-RevId: 30ae8890e929644cc492afbad71574cf333a554a
|
2020-05-23 17:33:30 +03:00 |
|
levlam
|
8b0561f3be
|
Check that poll has no duplicate options.
GitOrigin-RevId: 781558fac8edf2f42a57dac0800590095babb20a
|
2020-05-23 17:21:56 +03:00 |
|
levlam
|
43704b69e0
|
Assign correct correct_option_id.
GitOrigin-RevId: 1c20d8f27a0312805bb696da42d0d39b68f90fc6
|
2020-05-23 17:11:53 +03:00 |
|
levlam
|
eb9a3e7ca3
|
Ignore polls without answers.
GitOrigin-RevId: 6087b7b68e05c04bf26e017a1250c7aac6a2900e
|
2020-05-23 16:22:44 +03:00 |
|
levlam
|
14bbb15eb6
|
Return view count for forwarded failed to send messages.
GitOrigin-RevId: ef08ac19c3650c114d5144aedc2952ab631cfa49
|
2020-05-22 21:03:53 +03:00 |
|
levlam
|
dadeb6223e
|
Update dice_success_values before dice_emojies.
GitOrigin-RevId: 025b2aeca96bef65bcb3120a8dff6a4792e08aa5
|
2020-05-22 20:59:00 +03:00 |
|
levlam
|
3ecbe54242
|
Fix misprint.
GitOrigin-RevId: 90bbeac5fa87b296b8f4e666fedb904d7a4ea6cb
|
2020-05-22 20:53:31 +03:00 |
|
levlam
|
ef9d8415f3
|
Do not get history in being added dialog.
GitOrigin-RevId: 06746812288030ab96c46e971e5d335024eaa64e
|
2020-05-22 18:48:04 +03:00 |
|
levlam
|
c204fd6256
|
Never allow animated stickers outside of sticker sets.
GitOrigin-RevId: 7e86904956e1bdfc7b423fdfef5f212199caeb85
|
2020-05-22 18:09:17 +03:00 |
|
levlam
|
05b279bb13
|
Never trust peers sticker set name in secret chats.
GitOrigin-RevId: 11f6534963920bd7c736a9cb3dcf3c73e2e68e6c
|
2020-05-22 18:07:04 +03:00 |
|
levlam
|
409796d9dd
|
Improve error message.
GitOrigin-RevId: 3c76a4b84edf78ac41ab2ce88ebda4421faff5b7
|
2020-05-22 15:59:29 +03:00 |
|
levlam
|
fc6738e85b
|
Add more checks for message ID being a scheduled server.
GitOrigin-RevId: cd86bff3c1b029905743e84103f4d30d79a2b1bf
|
2020-05-22 15:53:36 +03:00 |
|
levlam
|
aa515c895b
|
Hide view count for failed to send messages.
GitOrigin-RevId: 7450f2f80cf943d013f5da41101d0f85ee00e1fa
|
2020-05-22 15:38:46 +03:00 |
|
levlam
|
34c9ee6e84
|
Preload pinned_message_notification_message_id even it is newer than being added message, because it could be deleted in set_dialog_last_new_message_id->delete_all_dialog_messages_from_database->remove_dialog_pinned_message_notification.
GitOrigin-RevId: 8c4b73436bc26870af4fa788dedd5035e17116b9
|
2020-05-22 13:12:31 +03:00 |
|
levlam
|
54909ad713
|
Improve message_count updating.
GitOrigin-RevId: 365ac733fc40c06fc959376246c9c4b2b1987a10
|
2020-05-22 03:58:36 +03:00 |
|
levlam
|
b1dc75cdc4
|
Allow unordered updateNewMessage for bots.
GitOrigin-RevId: 3aa3e6143eb0558f1a822ece051b9666725f0301
|
2020-05-22 03:43:02 +03:00 |
|
levlam
|
4d8c9a3a60
|
Connect all messages after last server message just in case.
GitOrigin-RevId: c99a8e50f49a37d1f34997b5de53129f34ec80d3
|
2020-05-19 16:48:59 +03:00 |
|
levlam
|
179117cfb8
|
Delete server messages found after last server message just in case.
GitOrigin-RevId: f149afc10830895fc100db6251befc1afbeb4292
|
2020-05-19 16:39:44 +03:00 |
|
levlam
|
4c80155092
|
Improve spelling.
GitOrigin-RevId: 73edc0a7a57f40c404b4b5c8d00e9b20127f9abc
|
2020-05-18 22:54:18 +03:00 |
|
levlam
|
c13068832b
|
Remove excessive user photos instead of adjusting total_count.
GitOrigin-RevId: c66c645eb83e44a62172aff87a576d8b8d04368f
|
2020-05-18 16:23:30 +03:00 |
|
levlam
|
0e77a35b0a
|
Warn on changed sticker, only if set_id is still the same.
GitOrigin-RevId: 756c3c0ea8b40ce5c96dc72281961f1de9bd2453
|
2020-05-17 17:14:29 +03:00 |
|
levlam
|
c1555a0693
|
Improve logging on wrong poll_id received.
GitOrigin-RevId: 0740e1dbde312c17368a5182c9e2be57934fe70a
|
2020-05-17 17:14:09 +03:00 |
|
levlam
|
6f885c41d9
|
Rename crypto to RSA.
GitOrigin-RevId: 4c15f44c0d5c618933b7c1aecb3580664a15a557
|
2020-05-17 17:07:16 +03:00 |
|
levlam
|
9cf8aed326
|
Add check debug logging.
GitOrigin-RevId: a58f888b7af480e3e6da2ce668ef2fd5367857da
|
2020-05-17 03:00:48 +03:00 |
|
levlam
|
2a92f4cf6b
|
Add support for basketball dice emoji.
GitOrigin-RevId: 14ee79e80310d468f7acbb6693b56379c76b3bd2
|
2020-05-17 01:28:56 +03:00 |
|
levlam
|
588113388d
|
Do not create special sticker set for unknown dice emojis.
GitOrigin-RevId: f704a86e9c5ade800f50a8296ea581d111fc84d7
|
2020-05-17 01:06:23 +03:00 |
|
levlam
|
0581b298cc
|
Fix some IP address spelling.
GitOrigin-RevId: ca1e3f4110057c3badbd9c5898593a65b72410e2
|
2020-05-16 23:32:32 +03:00 |
|
levlam
|
5b18a56e03
|
Add IPAddress::get_ip_host and use it whenever appropriate.
GitOrigin-RevId: 7254ebd036463fe2c8b6262269cbee843b320421
|
2020-05-16 23:12:52 +03:00 |
|
levlam
|
9fe0d4bbd9
|
Do not remove brackets from HttpUrl IPv6 host.
GitOrigin-RevId: 59db5b747e66bd83cbfa81d4276af2aa1bb8b7ca
|
2020-05-16 22:53:19 +03:00 |
|
levlam
|
ea9caab8bc
|
Fix can_delete flags in updateNewChat.
GitOrigin-RevId: 715cca8966860c61b444fbe5ee83aaf884f3af4c
|
2020-05-16 03:16:11 +03:00 |
|
levlam
|
8ffc211e43
|
Do not use Dialog.order before first update_dialog_pos.
GitOrigin-RevId: c5ccea51ed3831db0deada3ebe2626ae9ee3d3a1
|
2020-05-16 03:03:40 +03:00 |
|
levlam
|
18bbec3565
|
Try not to use SWLite key-value while closing.
GitOrigin-RevId: 1b0c6df484ffa9b2831a1a7ccc0fb62a9ad80b5a
|
2020-05-16 02:45:26 +03:00 |
|
levlam
|
b29a945b1a
|
Ignore SQLite key-value responses after close.
GitOrigin-RevId: a91a2dbbf8efcda91959aabfcaca964caa6fe3c3
|
2020-05-16 02:25:03 +03:00 |
|
levlam
|
ebf10667b7
|
Added support for animated thumbnails in inline animations.
GitOrigin-RevId: 5a8830d6e89256900335b8667405b2f81f22f5bd
|
2020-05-15 19:48:21 +03:00 |
|
levlam
|
d647a2a2e8
|
Represent photo format as enum PhotoFormat.
GitOrigin-RevId: 9205a8c775111ff394e7c32bc52d343b41e53379
|
2020-05-11 22:17:49 +03:00 |
|
levlam
|
2def12b70f
|
Save only Main/Archive folders to database as index folders.
GitOrigin-RevId: 17d72a332c487c9207db2d3dc95788829a55dca8
|
2020-05-11 18:00:03 +03:00 |
|
levlam
|
03c93c5417
|
Ignore database results when closing.
GitOrigin-RevId: 12355cd62a7d6474e857c811579fb46a802c02f4
|
2020-05-11 16:21:23 +03:00 |
|
levlam
|
42f88e3b72
|
Remove whitespaces at the beginning of some entities.
GitOrigin-RevId: b0597524571c15b3ffbfec613cb856bfa6e7a224
|
2020-05-11 01:31:29 +03:00 |
|
levlam
|
f88735b9a9
|
Do not highlight parts of float numbers as bank card numbers.
GitOrigin-RevId: cc58f030c6485c393f115fb89a4e9a5b2e6b40b9
|
2020-05-07 23:11:54 +03:00 |
|
levlam
|
f2cb3afaef
|
Increase maximum photo size for upload by hash.
GitOrigin-RevId: b7dbcaf4710d04b03fc8eaf1d0c1c51ad5224829
|
2020-05-07 18:37:49 +03:00 |
|
levlam
|
e941622e32
|
Ignore file_reference errors for bots, because corresponding file_ids may not be duped.
GitOrigin-RevId: 3cf82083a6d3e5556f665bad9ad00e216c7901a0
|
2020-05-07 15:56:57 +03:00 |
|
levlam
|
5fe9d5feee
|
Fix forwarding as copy of photos to a lot of chats simultaneously.
GitOrigin-RevId: 27edf34c58447a9c2bfd9e1a2679f69b0e05c076
|
2020-05-07 15:43:53 +03:00 |
|
levlam
|
af5eed2abb
|
Log before checks.
GitOrigin-RevId: 16b87eb9a1d763e85007de1253ada424c566ed0e
|
2020-05-07 03:43:11 +03:00 |
|
levlam
|
0d85bc39cf
|
Use case-insensitive scheme comparison in check_url.
GitOrigin-RevId: d5c9cb66c49194d5264b63871aaabcc6768aaac4
|
2020-05-07 03:21:05 +03:00 |
|
levlam
|
bc5415ba88
|
Fix file reference repair for bots.
GitOrigin-RevId: a73a960140e6b6866d8e53dd312a25258ea03d95
|
2020-05-07 01:54:47 +03:00 |
|
levlam
|
e9118c7bd5
|
Improve logging.
GitOrigin-RevId: 4d0cf9d0c6bc1fb1db353e2bc4ea8b7149ef7903
|
2020-05-07 01:50:47 +03:00 |
|
levlam
|
4d9b8cf016
|
Update strip_empty_characters.
GitOrigin-RevId: 480beb7b352b28f59f65a63fd1d4550d8e16803f
|
2020-05-07 01:21:05 +03:00 |
|
levlam
|
c376c1ac08
|
Add comments about disallowed animated stickers.
GitOrigin-RevId: 52115deae5121cb29b332a6d9782cdd4506d8ce0
|
2020-05-06 00:56:44 +03:00 |
|
levlam
|
9ade35d9ba
|
Do not allow sticker set name in decryptedMessageMediaDocument.
GitOrigin-RevId: bf82ae795b24e265aab815e8a47ca20ece894a21
|
2020-05-05 19:41:01 +03:00 |
|
levlam
|
3cd9d6482f
|
Log session_count only if it is more than 1.
GitOrigin-RevId: e5018d2ce3ab363191e6bcb6798ce4f92741c2ee
|
2020-05-05 13:54:32 +03:00 |
|
levlam
|
e5f99f0691
|
Fix get_dialog_public_order.
GitOrigin-RevId: 0775a5b925d4eec8f5d93b16cdfe462af310437a
|
2020-05-05 03:59:42 +03:00 |
|
levlam
|
390d66e3d2
|
Improve match_bank_card_numbers.
GitOrigin-RevId: 1df7c2fc487a66ba12e92d80d63e355d1490cef5
|
2020-05-05 03:15:30 +03:00 |
|
levlam
|
033ae55a46
|
Add CHECKs that data is not overwritten.
GitOrigin-RevId: 55c74cf6b6526d1b506242e9423a46c3118ac64e
|
2020-05-05 01:07:13 +03:00 |
|
levlam
|
e45e13c77f
|
Force result of get_imput_media for bots.
GitOrigin-RevId: cbcd38739402f494ff1b687d67d6bd3677c8e9fc
|
2020-05-05 00:42:37 +03:00 |
|
levlam
|
5e02099069
|
Improve logging.
GitOrigin-RevId: ea4019e25d2e9413c5eed2d5dde5a7c9b58e1d1a
|
2020-05-05 00:37:27 +03:00 |
|
levlam
|
69ddff66bc
|
Silence expected warning.
GitOrigin-RevId: f32e419fb5a4da3663138be0fcef05475994caa4
|
2020-05-04 22:28:55 +03:00 |
|
levlam
|
d6404db146
|
Remove unneeded logging.
GitOrigin-RevId: 473cab6f91a53360e2a696cc50a48c018ce705c6
|
2020-05-04 21:52:15 +03:00 |
|
levlam
|
554fbe1b8b
|
Fix warning.
GitOrigin-RevId: 1994fbdc73aa41db3f14a063e4b97dfcce4976a1
|
2020-05-04 21:27:32 +03:00 |
|
levlam
|
4558916bd9
|
Add get_dialog_private_order.
GitOrigin-RevId: 11938649209ec923bb5ca26e7788943561df6780
|
2020-05-04 16:33:42 +03:00 |
|
levlam
|
99ffc0c5da
|
Add logging.
GitOrigin-RevId: 4e039d5973121b82dcf118ba34a6a5835b6f7502
|
2020-05-04 03:01:01 +03:00 |
|
levlam
|
c8f56c62d8
|
Do not try to reuse file_id without remote location.
GitOrigin-RevId: 2dd994de062d1f640982923e4a7970fd7bbda583
|
2020-05-04 16:01:35 +03:00 |
|
levlam
|
f2e549e361
|
Do not dup remotely available files for bots to fix bad FileManager performance.
GitOrigin-RevId: adbd9e3fdfdf249572472bcbccfea030c75a6992
|
2020-05-03 15:44:33 +03:00 |
|
levlam
|
8826f2690d
|
Fix check_url.
GitOrigin-RevId: 5d1323203cef7a8e74927daaa28fbdca364ffe32
|
2020-05-03 15:27:26 +03:00 |
|
levlam
|
91f79a41e7
|
Fix removing sponsored dialog.
GitOrigin-RevId: d782395e217b44b0f9aa46d748fabd8aa3b24acd
|
2020-05-03 15:23:28 +03:00 |
|
levlam
|
68ccc65bb4
|
Add searchMessagesFilterFailedToSend.
GitOrigin-RevId: fdae4552eea6fdbb28906d43963aa6001e7b9401
|
2020-05-02 00:50:51 +03:00 |
|
levlam
|
767766ae13
|
Add MessagesManager::invalidate_message_indexes.
GitOrigin-RevId: e50464c956d38eec8784b72311cb24e654563674
|
2020-05-01 22:43:05 +03:00 |
|
levlam
|
75ba29bffe
|
Add source to get_channel_full_force.
GitOrigin-RevId: 0a7a17f21e906322f572fac0409fd49827702884
|
2020-05-01 14:18:40 +03:00 |
|
levlam
|
8d2f08ebb2
|
Silence expected warning.
GitOrigin-RevId: 6d9d0da04e8d95e4a5ed8dcd48eb90be1ff1bdb7
|
2020-05-01 12:19:52 +03:00 |
|
levlam
|
3b4483677c
|
Do not drop username, location and linked chat of channels banned in.
GitOrigin-RevId: 2186c21d024c4d099d9bd4b0d537ff374c920553
|
2020-05-01 02:54:40 +03:00 |
|
levlam
|
b23ff9697b
|
Allow left creator to restrict/unrestrict channel members.
GitOrigin-RevId: 60c1e54b9c1b275f0038bb4ebc35c57662010711
|
2020-05-01 01:57:24 +03:00 |
|
levlam
|
8bbc32e21c
|
Drop UserFull cache when phone number privacy is changed.
GitOrigin-RevId: 4ff14b72fa4b903c9358a1a10023e7b5f3775ff8
|
2020-05-01 01:21:02 +03:00 |
|
levlam
|
c7003cda2b
|
Allow to start bots with sendBotStartMessage.
GitOrigin-RevId: 1dd84ae576c463a60189b0cdd9642bb8c10f8820
|
2020-04-30 23:21:37 +03:00 |
|
levlam
|
0eb0654bd6
|
Allow bots to receive updates.channelDifference without changed pts.
GitOrigin-RevId: 26f4effa096105254d2ba17db753103830eab2f0
|
2020-04-30 23:15:12 +03:00 |
|
levlam
|
0b1b9be4ef
|
Increase version to 1.6.4.
GitOrigin-RevId: e8b8559a415908ee71a26f7023f79143899a3822
|
2020-04-30 22:30:38 +03:00 |
|
levlam
|
c9f12fe73f
|
Do not use SequenceDispatcher for poll stop by bots.
GitOrigin-RevId: a86c1ad6d852a14755813e8987702052a9d02113
|
2020-04-30 22:28:52 +03:00 |
|
levlam
|
3175ed4c0a
|
Minor fixes.
GitOrigin-RevId: e10945b585d067da0b6a532b9d9210aade7673d4
|
2020-04-30 22:21:42 +03:00 |
|
levlam
|
0af026dd63
|
Poll promo data always.
GitOrigin-RevId: cf678c7389289dae6f7c040179bb60b86f1cac41
|
2020-04-30 21:00:58 +03:00 |
|
levlam
|
3afb615b59
|
Support removing PSA from the shat list.
GitOrigin-RevId: 4c0a07797e587d769caac33c8d7bc7ffddc5b0f8
|
2020-04-30 14:57:01 +03:00 |
|
levlam
|
5dda71e26a
|
Improve documentation.
GitOrigin-RevId: e3694e7c8e58fa0e8216c3aa69e7046b2f7c8612
|
2020-04-30 11:32:25 +03:00 |
|
levlam
|
269047d133
|
Remove AuthManager::set_is_bot.
GitOrigin-RevId: b56180dda8aab189c0cb3a3d2f5624e4a5307366
|
2020-04-30 00:54:43 +03:00 |
|
levlam
|
a40bdeca4c
|
Ensure that user photos offset doesn't exceed total photo count.
GitOrigin-RevId: 06bc1057cbcffe6e6a4911f236d2d7500057c1ec
|
2020-04-29 23:18:32 +03:00 |
|
levlam
|
585a8f19fa
|
Fix total UserPhotos count if know more photos than expected.
GitOrigin-RevId: ff30c4e2d6965d02eb24a9d58b1f01ea1d3d89a7
|
2020-04-29 22:54:33 +03:00 |
|
levlam
|
8ef2cd4ed4
|
Return to the chat list closed secret chats with messages.
GitOrigin-RevId: c0ca10fc5bff12b3c5291d228fe10b7a3cc2d45b
|
2020-04-29 22:35:43 +03:00 |
|
levlam
|
23ad80e3a9
|
Silence warning about changed dialog order if dialog info was received from serverr.
GitOrigin-RevId: b6211153533746180307542d3e19fcd10aac63d2
|
2020-04-29 22:28:57 +03:00 |
|
levlam
|
7fd495a69c
|
Optimize TlStorerToString.
GitOrigin-RevId: fe43727ec9a0ec777860c16fd6fcbd73a9fd4c09
|
2020-04-29 21:49:11 +03:00 |
|
levlam
|
1fe3b9809d
|
Ensure that bots doen't access notification settings.
GitOrigin-RevId: 218a38474e01dd9cdd7941308887bfb26470f5c1
|
2020-04-29 18:45:29 +03:00 |
|
levlam
|
8a76a6d13a
|
Ensure that get_dialog_list is not called for bots.
GitOrigin-RevId: 04b59057dfa78d26a2cfd7f0bb10c4696c7f7f65
|
2020-04-29 17:44:54 +03:00 |
|
levlam
|
c0adfe735d
|
Ensure that bots don't load chat list.
GitOrigin-RevId: a516afafacb8ac290c91f5d72681793f737c5dad
|
2020-04-29 17:13:17 +03:00 |
|
levlam
|
1f58155cf1
|
Do not allow revote in a quiz.
GitOrigin-RevId: c6865a295b154fee3ba09d96691a7bc86ba4214e
|
2020-04-29 16:35:53 +03:00 |
|
levlam
|
2e2a4b4570
|
Add public_service_announcement_type to forward info.
GitOrigin-RevId: a32fec98c5c61755930f623cdc00ce20f231d898
|
2020-04-28 17:25:24 +03:00 |
|
levlam
|
4498067221
|
Update layer to 113. Replace chat.is_sponsored with chat.source.
GitOrigin-RevId: 777a646b9639ed14d2ee1c304c6f0574c1d5ce5e
|
2020-04-28 16:25:56 +03:00 |
|
levlam
|
3d17513852
|
Add separate remove_sponsored_dialog.
GitOrigin-RevId: 23b569a314f0dc577e2f65e1a47d51a9434174aa
|
2020-04-28 12:03:00 +03:00 |
|
levlam
|
2c728d17b5
|
Remove handling of legacy promoted_dialog_id.
GitOrigin-RevId: bceea028730472fe367a9a904301896903afe571
|
2020-04-28 01:02:29 +03:00 |
|
levlam
|
da6f582788
|
Fix 'Internal Server Error' spelling.
GitOrigin-RevId: 9dd65cc0e6ea64650647e9600e9b92ef9f373c7e
|
2020-04-27 20:10:13 +03:00 |
|
levlam
|
d26cf8f8a3
|
Add temporary "upload by hash" for photos.
GitOrigin-RevId: f2fca54bce80d3eb9a84a7f4f6326e98633417a5
|
2020-04-24 00:50:14 +03:00 |
|
levlam
|
9328c20fcc
|
Return only key's suffix in prefix_get.
GitOrigin-RevId: 4e2043356fc69741a881407146fd4e9ca385b258
|
2020-04-23 20:27:46 +03:00 |
|
levlam
|
aa6029f63c
|
Remove "disabled_" options clean up.
GitOrigin-RevId: 67e05fa327e327f9182051099aff23f246f1c6c5
|
2020-04-23 17:30:48 +03:00 |
|
levlam
|
9be242f877
|
Rename get_pinned_dialogs to get_pinned_dialog_ids.
GitOrigin-RevId: 3673c26a7156f98c3078cfd13d6c0a414e495718
|
2020-04-23 02:35:56 +03:00 |
|
levlam
|
3a622cccaf
|
Remove limit on number of preloaded chats.
GitOrigin-RevId: 515a47d04641e23bc8d5f72bbf01568d83dde96d
|
2020-04-23 02:33:29 +03:00 |
|
levlam
|
392b62e40b
|
Correctly add sponsored chat to total chat count.
GitOrigin-RevId: 94cd41796d06b4a70902b4e424c181bbca740639
|
2020-04-23 02:31:16 +03:00 |
|
levlam
|
777e26dd77
|
Really fix updating of closed polls.
GitOrigin-RevId: a32c186adb947b909fbdeb68a58d3b98fb8e33ec
|
2020-04-22 19:36:42 +03:00 |
|
levlam
|
6c9659dec4
|
Fix deletion of unreachable from the end too new server messages in set_dialog_last_new_message_id.
GitOrigin-RevId: fd43badbfd5745eb3ad26eca5f1873d2ffc2bcb2
|
2020-04-22 17:52:51 +03:00 |
|
levlam
|
356051f59d
|
Do not warn on attaching new message to the next yet unsent message. Could happen when replying a message received through getMessage.
GitOrigin-RevId: c4c77ae81eab08cce855ba32a5756477340b66af
|
2020-04-22 17:11:29 +03:00 |
|
levlam
|
d7efe13082
|
Fix updating poll after close.
GitOrigin-RevId: 44fc0a7c598cf38afd58d38ecd320cd0586fb076
|
2020-04-22 16:18:19 +03:00 |
|
levlam
|
52ea0998ec
|
Allow to pass multiple input language codes in searchEmojis.
GitOrigin-RevId: 0fb99694447f3ac02063eb9c03af2c2b3dfc267e
|
2020-04-22 15:17:53 +03:00 |
|
levlam
|
c96f62b34f
|
Assume Russian language in searchEmojis with Cyrillic text.
GitOrigin-RevId: e9f0212882bafadde17f49a345847f4df8010e73
|
2020-04-22 15:02:56 +03:00 |
|
levlam
|
226cf0e6dc
|
Do not save yet unsent message IDs as deleted message IDs.
GitOrigin-RevId: 459bc8dab615ae509da8cd2ed23832362f37f41b
|
2020-04-22 14:22:33 +03:00 |
|
levlam
|
80fb2baf6e
|
Drop message random_id from cache after the message is deleted.
GitOrigin-RevId: 75985135435dafa0c4de4e7fcafa25490a25d354
|
2020-04-22 13:36:03 +03:00 |
|
levlam
|
1c605b7e52
|
Remove debug of being sent messages.
GitOrigin-RevId: cb191e904f2b392562f927c8b2ac28036176ba96
|
2020-04-22 12:48:52 +03:00 |
|
levlam
|
acf189bb51
|
Do not save failed to send message ids for bots.
GitOrigin-RevId: 0cc447dac85dc1ad8d61b60a53ebea027ce96d8f
|
2020-04-22 12:28:17 +03:00 |
|
levlam
|
4afc32d9f9
|
Do not save yet_unsent_message_id to persistent_message_id correspondence for bots.
GitOrigin-RevId: 850f7ac5fc0bb348985b02c46812a32b64018cc5
|
2020-04-22 12:16:52 +03:00 |
|
levlam
|
06e74cfba9
|
Remove whitespace-only entities added in merge_entities.
GitOrigin-RevId: 8b2dbe05d0758639c4447fbfec038b8350dfda9a
|
2020-04-22 00:57:00 +03:00 |
|
levlam
|
379bff13cb
|
Remove time limit on channel posts editing.
GitOrigin-RevId: 033ba6c0622739e89721ab6f5a9ec4e3a178e866
|
2020-04-21 23:27:48 +03:00 |
|
levlam
|
b8c300b05b
|
Fix updating of channel member count.
GitOrigin-RevId: f6f49994937d68bbe175a619d37d19900de756f6
|
2020-04-21 21:08:59 +03:00 |
|
levlam
|
13cfc54b31
|
Fix leaveChat for supergroup creator.
GitOrigin-RevId: 4f6816225d3a7a72b6458bb78ccda88b38386de9
|
2020-04-21 21:04:14 +03:00 |
|
levlam
|
07be10f6f9
|
Delete dice options for bots.
GitOrigin-RevId: f52bc6629d7befc1ab9eabcaabcc4346b7d23db1
|
2020-04-21 20:12:35 +03:00 |
|
levlam
|
30ddfc317b
|
Update documentation.
GitOrigin-RevId: 5e36155537d01f7b640632f4fdeb91053183d8bf
|
2020-04-21 20:04:23 +03:00 |
|
levlam
|
851d23f06c
|
Add messageDice.success_animation_frame_number.
GitOrigin-RevId: d0afff34c7d74fe5e06b008b7a8438be4aebe88b
|
2020-04-21 19:08:01 +03:00 |
|
levlam
|
7336134ff3
|
Implode dice emojis after parsing.
GitOrigin-RevId: 6b1616409a240566a634c1e71fb194824e4c97b8
|
2020-04-21 15:45:33 +03:00 |
|
levlam
|
e2998f79b6
|
Allow to delete dice just for self.
GitOrigin-RevId: 5ab4db809bc33c67f99c95f2a0267e3be84b59ac
|
2020-04-21 15:39:36 +03:00 |
|
levlam
|
8109988247
|
Add messageDice.need_success_animation.
GitOrigin-RevId: 1c308f71d628d896321ce331c634a6868f504bc0
|
2020-04-21 14:51:46 +03:00 |
|
levlam
|
c1a5285b47
|
Fix warning.
GitOrigin-RevId: 040b2879b6f120cc948ad6020f91c8ab5995134e
|
2020-04-21 13:51:17 +03:00 |
|
levlam
|
5ee6a4ea6b
|
Ignore invalid stickers stored in the database.
GitOrigin-RevId: ad7a1a976f37b4864a990538e568d9c4a4b4e555
|
2020-04-21 11:07:50 +03:00 |
|
levlam
|
8681b76de2
|
Minor fixes.
GitOrigin-RevId: b75bac1586ed36b91b7c2ab64c386f94f18d8539
|
2020-04-21 03:29:20 +03:00 |
|
levlam
|
35e421a23d
|
Do not apply expired message content early.
GitOrigin-RevId: e49ba509e615a0f088b5aba7f03d722248ae9af0
|
2020-04-21 01:39:44 +03:00 |
|
levlam
|
c6d06e41db
|
Increase version to 1.6.3.
GitOrigin-RevId: fe4df4857dd5fe028d98e40c105f22bd3d387a90
|
2020-04-20 01:05:39 +03:00 |
|
levlam
|
67565c9c34
|
Allow to delete local and scheduled messages.
GitOrigin-RevId: 5cc1fbe54fb0ea55fbc46e1f7ed1b1b138fd1edd
|
2020-04-20 00:59:09 +03:00 |
|
levlam
|
84ecb75f5d
|
Automatically load dice stickers.
GitOrigin-RevId: cc5478256fdfa9d898f54b8a372437e0ad2a2c34
|
2020-04-20 00:41:26 +03:00 |
|
levlam
|
b698019f36
|
Add SpecialStickerSetType::get_dice_emoji.
GitOrigin-RevId: 6f61536c84fdb19a743d9ed78d5bf514db04c353
|
2020-04-19 21:21:17 +03:00 |
|
levlam
|
0fe8cc5250
|
Support arbitrary dice sticker sets.
GitOrigin-RevId: 46e3d636c79dfddf15dadf9794fb900a6b27a53a
|
2020-04-19 16:30:04 +03:00 |
|
levlam
|
87afb93b93
|
Fix some ID spelling.
GitOrigin-RevId: cdd8cdb93696c690cf7bdb9b2df175bb926a7510
|
2020-04-19 13:45:37 +03:00 |
|
levlam
|
822bc95d13
|
Reget users to restore their online status after removing them from privacy restrictions.
GitOrigin-RevId: e29832c5a056cdc5708c02ce31e77570ff335ced
|
2020-04-19 12:53:07 +03:00 |
|
levlam
|
38de2b016e
|
Never drop correct poll option and quiz explanation.
GitOrigin-RevId: 5cd600cd0bb1a5c4200eb74d62ace5da6425ca7d
|
2020-04-19 11:27:40 +03:00 |
|
levlam
|
fc3a8105a3
|
Add updateDiceEmojis.
GitOrigin-RevId: 8495528763939fda21e04eac8555aaed975ded62
|
2020-04-19 11:17:51 +03:00 |
|
levlam
|
d27bf642eb
|
Add MessageDice::is_valid().
GitOrigin-RevId: 924ffa6d43cda4b32994f22b2300cf0f79ab7458
|
2020-04-19 09:47:37 +03:00 |
|
levlam
|
4a5320e2e5
|
Partial support of new MessageDice.
GitOrigin-RevId: 075d457a264bb00d28194e80b709205711b32c69
|
2020-04-18 08:45:41 +03:00 |
|
levlam
|
06135cccf9
|
Add parameters offset and limit to getTrendingStickerSets.
GitOrigin-RevId: 360c14f4cd357d23c3537ab26ee55a5b5ed29e81
|
2020-04-18 01:55:54 +03:00 |
|
levlam
|
b343e148e8
|
Do not iniitalize stickers manager before authorization.
GitOrigin-RevId: 497a09aeb0c7f8cadb00902d1ceeceaa144c0885
|
2020-04-17 16:12:12 +03:00 |
|
levlam
|
6225237cb9
|
Add td_api::updateStickerSet.
GitOrigin-RevId: 4c4299138929e45a2c5a044895f18bd49045256a
|
2020-04-17 15:56:57 +03:00 |
|
levlam
|
34eb79bbb5
|
Add StickerSet.need_save_to_database.
GitOrigin-RevId: 90a1be59896d9cc5c49af536f6329791de3fe9d1
|
2020-04-17 15:06:08 +03:00 |
|
levlam
|
3bcf9ad301
|
Update layer 112.
GitOrigin-RevId: 9d2b213ecf8a60ffa9af17512c026ee0c71730b6
|
2020-04-16 21:46:58 +03:00 |
|
levlam
|
4905a851f0
|
Add clear_draft parameter to inputMessageDice.
GitOrigin-RevId: 2ff67cf4fe198241f7713103f46d7d724d51e591
|
2020-04-13 14:18:46 +03:00 |
|
levlam
|
73a33d15a8
|
Document explanation maximum length.
GitOrigin-RevId: de5243171e3b5a17ef3322c25e158ccbac2ed453
|
2020-04-09 18:56:22 +03:00 |
|
levlam
|
d83a85038f
|
Add tz_offset support.
GitOrigin-RevId: 4b3a1b1d214bf163ce6a72901726fde4243adb50
|
2020-04-09 00:09:55 +03:00 |
|
levlam
|
54279d23cd
|
Reget poll once after close.
GitOrigin-RevId: c92d691661bbdd63ca038fa2c35ed8ce04078c8c
|
2020-04-05 05:35:52 +03:00 |
|
levlam
|
16b372bbba
|
Automatically close polls by timeout.
GitOrigin-RevId: 708729b3bb75397716ce6df1bcc0a5a7019145bb
|
2020-04-05 04:31:59 +03:00 |
|
levlam
|
b4efcc6697
|
Pass correct dialog_id.
GitOrigin-RevId: 0e81418d9ef01cc90f5550f42fe8ec26a1455c16
|
2020-04-04 01:13:59 +03:00 |
|
levlam
|
fda0fc0adc
|
Improve Poll.open_period field name.
GitOrigin-RevId: 733b05bbb08cece27ddba88875e9a8493e974081
|
2020-04-04 00:05:35 +03:00 |
|
levlam
|
4e7cd24285
|
Add support for quiz explanation.
GitOrigin-RevId: ab4346fe3abe5c5abd7234d5b4b3937e995494af
|
2020-04-03 23:39:50 +03:00 |
|
levlam
|
bb75ea35da
|
Update layer to 112.
GitOrigin-RevId: 9d18b24ce8aeb86624a61c04e55ca5b4a42634ce
|
2020-04-03 16:50:10 +03:00 |
|
levlam
|
5da08f8bb1
|
Remove unsupported include_sponsored_chat_to_unread_count option.
GitOrigin-RevId: dcedd9c37b8e5453590e092a3651456a4c62ad1c
|
2020-04-14 00:20:04 +03:00 |
|
levlam
|
65c6ac69eb
|
Add get_dialog_public_order overload from DialogList.
GitOrigin-RevId: 9ac90c9f041a756b4adbd1c9e632f97cf43edf66
|
2020-04-13 04:48:21 +03:00 |
|
levlam
|
65cd8e00a2
|
Fix misprints.
GitOrigin-RevId: 55d6be2321fdfd42edc061b3fe98fd995dbcc15c
|
2020-04-13 03:34:08 +03:00 |
|
levlam
|
6dd455449e
|
Use folder_id in MessagesManager::get_dialog_public_order.
GitOrigin-RevId: 70d6b38ceec67bdb3b0439454a9637f0d6178ee2
|
2020-04-13 01:39:47 +03:00 |
|
levlam
|
cd7a9d7b3a
|
Fix updating of last_successful_force_reupload_time_.
GitOrigin-RevId: c213f39ba0bb75d541f8c007cebb4dfa81de03fc
|
2020-04-11 03:56:19 +03:00 |
|
levlam
|
97c9cdc996
|
Do nothing if pending profile photo is not changed.
GitOrigin-RevId: fe980a5902fb9407437c1df56f15a76a64fba319
|
2020-04-11 01:44:22 +03:00 |
|
levlam
|
737afc8c7e
|
Move get_message logging to INFO.
GitOrigin-RevId: dd86fd3ca2d535fd3d6f2d2ce24cd69dbe5bb534
|
2020-04-11 01:08:55 +03:00 |
|
levlam
|
c044770022
|
Simplify messages.sendMedia creation.
GitOrigin-RevId: 8a8ad7b0e88e459f30104d2f6dd6084ddbac8a36
|
2020-04-10 04:16:50 +03:00 |
|
levlam
|
ba5e5f0ece
|
Allow to reupload file again after successful merge.
GitOrigin-RevId: 46bc9d002f804fe6c39e1ba8844740141e0a6f9f
|
2020-04-10 03:43:35 +03:00 |
|
levlam
|
b3594169b5
|
Fix MessagesManager::update_sent_message_contents.
GitOrigin-RevId: 5265e6d357109065790d6b6e85ddee09d25b025d
|
2020-04-10 02:38:56 +03:00 |
|
levlam
|
00a70b466d
|
Do not add file source from self-destructing messages.
GitOrigin-RevId: 5ac703d188ec532a52efa8549ee8c7e63a78a78b
|
2020-04-09 18:43:27 +03:00 |
|
Arseny Smirnov
|
5c0be2f24f
|
FileManager: trying to cancel upload/download in run_{upload,download} before any other checks
GitOrigin-RevId: 3df57338d0a0fcec3fb04a11ff21b090909c9c83
|
2020-04-09 12:53:00 +03:00 |
|
levlam
|
af61f0c7c4
|
Fix .NET binding.
GitOrigin-RevId: 4e251471a358c4d5546663eca7cd16b91ec2574e
|
2020-04-08 22:21:42 +03:00 |
|
levlam
|
8aae040e21
|
Return 429 from ImportContacts if no one was imported.
GitOrigin-RevId: 9fc2b4c929fc549872585df5f007504f8956e034
|
2020-04-08 02:48:34 +03:00 |
|
levlam
|
301ff466e1
|
Fix secret chats test.
GitOrigin-RevId: b8c4dca1b8937a8b07ce6fdd625b5a8f55284979
|
2020-04-08 02:27:53 +03:00 |
|
levlam
|
f42a955d75
|
Replace some offending characters in all strings.
GitOrigin-RevId: a942e9a71db7b5bc3c1be6b15f9b21d767c3d803
|
2020-04-08 01:23:05 +03:00 |
|
levlam
|
2cd73ca028
|
Skip empty contacts.deleteByPhones request.
GitOrigin-RevId: e9a2f30b9d2d149bcb699604e2fdb836e17c83ce
|
2020-04-08 00:54:41 +03:00 |
|
levlam
|
ad752d27bd
|
Do not allow to set need_phone_number_privacy_exception to true for contacts.
GitOrigin-RevId: b769afe07d879334a608e6c6bb6034b39ed37b45
|
2020-04-08 00:49:18 +03:00 |
|
levlam
|
b6ac360875
|
Invalidate cache of users deleted from contacts to repair their online status.
GitOrigin-RevId: b6775e9156385d7ca80fe627b395053eed24b155
|
2020-04-08 00:36:57 +03:00 |
|
levlam
|
fef67252d1
|
Reload ChannelFull before getting channel statistics if needed.
GitOrigin-RevId: 0730f4a8411bf2e5e2841bc95f1960b6619742c6
|
2020-04-07 23:11:44 +03:00 |
|
levlam
|
1d8004d279
|
Add force to get_user_full.
GitOrigin-RevId: 182ab8a99142a12c51662ee0928480f6a3e03f91
|
2020-04-07 03:23:53 +03:00 |
|
levlam
|
9df4c5dcf9
|
Silence expected error.
GitOrigin-RevId: 1a9c9390b385e63ad91807ee6ed02e088b060154
|
2020-04-07 03:06:25 +03:00 |
|
levlam
|
4334f5e63a
|
Remove unnecessary logging.
GitOrigin-RevId: 33419021cffedb85336c51b3d1f783ceeac9f415
|
2020-04-07 02:41:46 +03:00 |
|
levlam
|
3f6485fb39
|
Require ability to send stickers for dice.
GitOrigin-RevId: 61d61df0d56653d366ef82a86adb6e92046b8362
|
2020-04-04 02:45:36 +03:00 |
|
levlam
|
1e4c1f16b9
|
Fix handling errors to setPollAnswer.
GitOrigin-RevId: 686a76db9a69d7c19bda0c07d294ce9a448d09d4
|
2020-04-04 02:44:25 +03:00 |
|
levlam
|
1cb2141fee
|
Add force to get_channel_full.
GitOrigin-RevId: 76bc8e90bc5aba1443739199800074bf52e7d8d3
|
2020-04-02 04:33:04 +03:00 |
|
levlam
|
d8f18bd694
|
Add MessagesManager::add_sponsored_dialog.
GitOrigin-RevId: 8d786b88b5d2e551988aebb164d787bff3f4ea5b
|
2020-04-02 03:03:17 +03:00 |
|
levlam
|
b99f88ed77
|
Move logging to a better place.
GitOrigin-RevId: a61a8c10179635477447eee7d222b3906545254c
|
2020-04-02 01:05:57 +03:00 |
|
levlam
|
bf7f9e9bef
|
Improve logging.
GitOrigin-RevId: 6bc8d2e6a80629535839344f0832c871a5de5721
|
2020-04-02 00:43:54 +03:00 |
|
levlam
|
679bc7c84b
|
Adjust first_database_message_id after receiving messages from database.
GitOrigin-RevId: 2b27f0eebf0fd0f30fb1231df50ee808933a6f21
|
2020-04-02 00:15:23 +03:00 |
|
levlam
|
c8345a6131
|
Drop database message IDs if failed to load messages from the database.
GitOrigin-RevId: 269e0e46b896d37188326275323f521261d727c5
|
2020-04-01 21:36:09 +03:00 |
|
levlam
|
84cd8a8e3c
|
Load only 10 messages from database when repairing last message.
GitOrigin-RevId: f48e3418190b5253b53dfadab55a97a3ae61185a
|
2020-04-01 20:35:44 +03:00 |
|
levlam
|
3b2c06e520
|
Improve chat statistics.
GitOrigin-RevId: a55d3a62bbeded1000f58a348c1ab7225b85d39a
|
2020-04-03 03:53:33 +03:00 |
|
Fela Ameghino
|
81babdf915
|
Implemented chat statistics (#981)
|
2020-04-02 16:06:05 +03:00 |
|
levlam
|
d2b441f812
|
Disable profile photos debug warnings.
GitOrigin-RevId: abe2ea6b184027f6e23b1193d8d61e51ed580c65
|
2020-03-31 03:13:59 +03:00 |
|
levlam
|
aefab830b1
|
Use better type in static_cast.
GitOrigin-RevId: 6babad6d6340d428cf73cbbe914c3e1fd4b30040
|
2020-03-31 03:02:51 +03:00 |
|
levlam
|
2a1717cc18
|
Do not warn on chat version gap.
GitOrigin-RevId: 21afbfc8616ed851cf807a8210150dda6431ae95
|
2020-03-31 02:58:50 +03:00 |
|
levlam
|
f5ede0b528
|
Add debug warning in drop_user_photos.
GitOrigin-RevId: d886262d3d8fdff8cbb476a5e1b19e78f485b229
|
2020-03-31 02:50:50 +03:00 |
|
levlam
|
e65dddef7e
|
Apply pending profile photo before getting full list of photos.
GitOrigin-RevId: e03d728b9ba9012662c819fce24dca591b659f41
|
2020-03-31 02:46:04 +03:00 |
|
levlam
|
09f2dc8e9d
|
Improve error message.
GitOrigin-RevId: a0da9ac936aad83d95f1f13a18560728f9bf5ba7
|
2020-03-31 02:21:26 +03:00 |
|
levlam
|
62a9eac907
|
Suppress logging of MESSAGE_DELETE_FORBIDDEN errors.
GitOrigin-RevId: f131ae1323ba35367198f7b3e45f653bf84c29dd
|
2020-03-31 02:17:57 +03:00 |
|
levlam
|
29c81b4252
|
Warn on DcId change only for server locations.
GitOrigin-RevId: 04f11a63d84882f7c1ccd15a79845b7482c6a451
|
2020-03-31 02:16:23 +03:00 |
|
levlam
|
409fd70c15
|
Silence expected reply markup change warnings.
GitOrigin-RevId: abbc161a87e09cabebeadd13b50399f266d8fffc
|
2020-03-31 01:19:10 +03:00 |
|
levlam
|
8dd4358ad9
|
Improve comment message.
GitOrigin-RevId: 037a91723ebf80ce0540b2872cf7470858cb2708
|
2020-03-31 00:55:00 +03:00 |
|
levlam
|
bcc8dbc158
|
Use Global::is_expected_error whenever appropriate.
GitOrigin-RevId: aba8ee6e3dc1ab6e680a5ae10f6c3d217ab0a8dc
|
2020-03-31 00:35:58 +03:00 |
|
levlam
|
4cfb7c56d2
|
Add Global::is_expected_error.
GitOrigin-RevId: afa4741a772ad99844195a583ee40d3fc50fef4f
|
2020-03-31 00:22:52 +03:00 |
|
levlam
|
f432d403e7
|
Remove logging of some expected errors.
GitOrigin-RevId: 2a6e4704d57743da1dba740dc9333cc649c679ee
|
2020-03-31 00:02:43 +03:00 |
|
levlam
|
efd22eff7e
|
Add temporarily debug warning.
GitOrigin-RevId: aaa63a04daac08c75a0210a7055054c9251e150f
|
2020-03-30 23:29:12 +03:00 |
|
levlam
|
7932ea08eb
|
Invalidate list of poll voters if full list size is different from the expected total count.
GitOrigin-RevId: 544e9c4ae8b76bb10399c8370269940eb45a4684
|
2020-03-30 22:43:04 +03:00 |
|
levlam
|
e8e546a721
|
Fix retries in getBasicGroupFullInfo.
GitOrigin-RevId: acd566f171998c130f0e3a0544b11e6430148f07
|
2020-03-30 22:20:34 +03:00 |
|
levlam
|
10b1ac1c8a
|
Remove wrong migrate prefixes.
GitOrigin-RevId: c42b3dd184d6da5b3316d36e4de409ee2e931965
|
2020-03-30 21:03:25 +03:00 |
|
levlam
|
f0d22df81f
|
Fix hack with total_timeout_limit.
GitOrigin-RevId: c012eb2e24e3fda4647e7d9560029c2c69e314ab
|
2020-03-30 21:01:13 +03:00 |
|
levlam
|
7567fe0ec1
|
Update getChatStatisticsUrl documentation.
GitOrigin-RevId: dcb345264f8cd25a6f05289994f9cee73382c0c7
|
2020-03-30 17:55:47 +03:00 |
|
levlam
|
aad96d536e
|
Fix CHECK.
GitOrigin-RevId: 02effd6bbb16e7b84c9df3f47a98dad94844ddc7
|
2020-03-30 15:20:37 +03:00 |
|
levlam
|
a599557c9d
|
Support some updates before authorization.
GitOrigin-RevId: 21bd7a06bf41ebc81005b35a0695988d82e6b4a3
|
2020-03-30 01:48:44 +03:00 |
|
levlam
|
12a6bc9c04
|
Rename Die to Dice.
GitOrigin-RevId: 16b7b2915163103891d9813e034762fb6a8f6bff
|
2020-03-30 00:34:37 +03:00 |
|
levlam
|
9679cef0bb
|
Increase version to 1.6.2.
GitOrigin-RevId: 165c44595b49d153fbf4315953c8a8f3ee32bf87
|
2020-03-28 16:52:26 +03:00 |
|
levlam
|
ce4b2a5082
|
Add td_api::setCommands.
GitOrigin-RevId: 13284b798b074402096a1c6d8fd149d67ded0df1
|
2020-03-28 01:43:52 +03:00 |
|
levlam
|
f153539ea2
|
Support creation of animated sticker sets by bots.
GitOrigin-RevId: d75133cf70b667cbdf6dc555cc06f2b43f9c8609
|
2020-03-23 18:03:13 +03:00 |
|
levlam
|
2f850bc834
|
Fix warnings.
GitOrigin-RevId: 25c5aaaf29fd1284427f354291a6e664847413ea
|
2020-03-20 17:32:58 +03:00 |
|
levlam
|
05253ca35e
|
Add td_api::setStickerSetThumbnail.
GitOrigin-RevId: 1083c307cf89744c4dcfa16f89eaec1d2660309f
|
2020-03-20 16:36:07 +03:00 |
|
levlam
|
e1ff669682
|
Add support for die messages.
GitOrigin-RevId: 2ce7260b01ebe12599831df785ec6d777ddbd10e
|
2020-03-14 19:56:39 +03:00 |
|
levlam
|
d6850e891e
|
Add "animated_dice_sticker_set_name" option.
GitOrigin-RevId: b20ac808e74435c39acdb9f051ba11f77aa236af
|
2020-03-14 03:47:19 +03:00 |
|
levlam
|
3d07b45a21
|
Update layer to 111.
GitOrigin-RevId: 47862200a12f3b5b9e5058192d5e9a9cdca862aa
|
2020-03-14 01:56:47 +03:00 |
|
levlam
|
b89034d78b
|
Fix disable_web_page_preview flag of copied messages.
GitOrigin-RevId: 7b4c01436ab4bb8375307e57dd7b702cea5c289f
|
2020-03-28 02:35:07 +03:00 |
|
levlam
|
8e666c2d7a
|
Add has_message_content_web_page.
GitOrigin-RevId: 3bc382c77754a6a517616235d7b2572cfdfda607
|
2020-03-28 01:49:59 +03:00 |
|
Arseny Smirnov
|
36cc950820
|
RequestActor: add checks
GitOrigin-RevId: 16b850d775030948afcaea79695e5961d9652c70
|
2020-03-27 14:37:33 +03:00 |
|
levlam
|
a0a446f987
|
Correctly send updateChatOrder when sponsored chat changes.
GitOrigin-RevId: 0e2184406b689df860926817d4b4966869a5d05d
|
2020-03-26 19:04:48 +03:00 |
|
levlam
|
bc49ef8330
|
Add support for fetching vector<bytes> in JNI interface.
GitOrigin-RevId: a7e4a44cb20262b9268a981ebed139e21794d525
|
2020-03-25 02:14:08 +03:00 |
|
levlam
|
8898bfa655
|
Add typedefs for other integer and string types in generated C++ code.
GitOrigin-RevId: d6494c0aaaf10719c9bbb24ba4d259d7cde25060
|
2020-03-24 21:14:47 +03:00 |
|
levlam
|
24a4104ac2
|
Use separate type int53 in generated C++ code.
GitOrigin-RevId: 0316bec46dc5838858528456bb6947f92e350480
|
2020-03-24 20:52:33 +03:00 |
|
levlam
|
6943db4d52
|
Use separate type bytes in generated C++ code.
GitOrigin-RevId: 185d08246caf0dd6050b1c9409a4078746d9091e
|
2020-03-24 20:02:03 +03:00 |
|
levlam
|
302485d673
|
Repair dialog action bar with delay to not receive outdated data.
GitOrigin-RevId: 74c3cb3ae95e5204153b91fd220b3e6b62bd87df
|
2020-03-24 03:47:33 +03:00 |
|
levlam
|
f0a8af3b2d
|
Ignore notifications about messages, which can't be added to the dialog.
GitOrigin-RevId: 6e5780e843760b4ff39aee751249455b9d926b01
|
2020-03-24 01:49:04 +03:00 |
|
levlam
|
1310aa7f2c
|
Improve logging.
GitOrigin-RevId: d1c9c742981fa37ebe691aa569e8b6a9fc50d3c1
|
2020-03-24 01:36:43 +03:00 |
|
levlam
|
ca585ad181
|
Do not hide live location edit date.
GitOrigin-RevId: feb0d2b9b642ee507770cc58a9ad06d37c833957
|
2020-03-24 01:33:50 +03:00 |
|
levlam
|
487cb20597
|
Ignore web remote locations instead of crash.
GitOrigin-RevId: 0ab5d749eeff28bc25befd6610038a7aa43206a5
|
2020-03-24 01:12:23 +03:00 |
|
levlam
|
2d9eb0c00b
|
Do not create *Full if there is no corresponding User/Chat/Channel.
GitOrigin-RevId: 8f046c4fb85d5d406f59569a6be2ef7988d3e452
|
2020-03-24 00:59:14 +03:00 |
|
levlam
|
c5b7a92e78
|
Do not warn on animated sticker size changes.
GitOrigin-RevId: 256c201cb91e2ee99f23abd2464cc586a27d66c5
|
2020-03-24 00:36:22 +03:00 |
|
levlam
|
76558f0802
|
Add can_delete_message method.
GitOrigin-RevId: 87fd876f8155d6e93f1b2f50e03d610626c8ede0
|
2020-03-20 03:59:09 +03:00 |
|
levlam
|
c4023a3f9b
|
Use KB instead of kB for 1024 bytes.
GitOrigin-RevId: 163ebf3f28f5e6f6710b3ff85bdfc21996c67acb
|
2020-03-20 03:20:07 +03:00 |
|
levlam
|
61d0b113d9
|
Do not add sponsored chat to ordered_dialogs_.
GitOrigin-RevId: b0b9f90f2018bbe4f32597cd5b4077056ac901e7
|
2020-03-20 01:15:15 +03:00 |
|
levlam
|
3caaddc98d
|
Do not allow to pin chats not from chat list.
GitOrigin-RevId: 05cc829da14c54b73f7e5425c08647b70ddf2a49
|
2020-03-20 00:22:11 +03:00 |
|
levlam
|
33b87d1b13
|
Add MessagesManager::is_removed_from_dialog_list.
GitOrigin-RevId: a0d49b0a9c945110b6a7365489795c2fb9b73126
|
2020-03-19 23:52:09 +03:00 |
|
levlam
|
f14b83f367
|
Minor.
GitOrigin-RevId: cbffbf1a1918a86140c1b4b06a9e8a97627d46d3
|
2020-03-19 02:53:04 +03:00 |
|
levlam
|
0578d58d93
|
Minor improvements.
GitOrigin-RevId: 6c87ee82034d077c1f16f053948a0d89b4c2cd71
|
2020-03-19 01:54:59 +03:00 |
|
levlam
|
b9fd8fd5d6
|
More need_unread_counter usages.
GitOrigin-RevId: 50f1daa84a2e19a257a1f357454b3ea363afe1d4
|
2020-03-19 00:52:53 +03:00 |
|
levlam
|
443924ca11
|
Simplify MessagesManager::set_dialog_order.
GitOrigin-RevId: a91e590024087f71146637064b5a44a4a2da9960
|
2020-03-18 23:19:23 +03:00 |
|
levlam
|
fd10b27847
|
Improve logging.
GitOrigin-RevId: d03e6ce64b2e88389f0e3df1ecfec4efb5711e75
|
2020-03-18 20:51:02 +03:00 |
|
levlam
|
cd8c63f073
|
Simplify update_dialog_pos calls.
GitOrigin-RevId: 60f274d8149a650a04e2a9f289b7aba2992583b3
|
2020-03-18 19:41:18 +03:00 |
|
levlam
|
a1a7fc7a4d
|
Remove unneeded function parameters.
GitOrigin-RevId: d7e13769e18a6949bbae73da050b664fe09cc1f0
|
2020-03-17 04:29:24 +03:00 |
|
levlam
|
62863e9280
|
Minor fixes.
GitOrigin-RevId: e7b9ea9cb76d5c65c00a5ca86c85c6c8984e1d3c
|
2020-03-16 22:00:44 +03:00 |
|
levlam
|
eea23e4255
|
Fix formatting.
GitOrigin-RevId: 9d7abcae840a94912b8c0316c37a2553a38fa864
|
2020-03-16 19:42:10 +03:00 |
|
levlam
|
7a649c23f1
|
Fix chat order comparison.
GitOrigin-RevId: bf16c396fd837410124b59ea97f2953dcefd0bbc
|
2020-03-16 16:32:27 +03:00 |
|
levlam
|
07d6f17f33
|
Fix dialog order comparisons.
GitOrigin-RevId: c3d0a23d3e8d894532fa2dcf708175242e715c80
|
2020-03-16 04:12:34 +03:00 |
|
levlam
|
784836f3b6
|
Decrease maximum total_timeout_limit for bots.
GitOrigin-RevId: 8d42ef41c28e8a5a276f4a1b6058c3391419146e
|
2020-03-16 04:09:17 +03:00 |
|
levlam
|
aac59710b4
|
Move fetch_result to corresponding files.
GitOrigin-RevId: e553631e87f81f466ce8ebc353820acd82dd8510
|
2020-03-16 01:42:24 +03:00 |
|
levlam
|
d06a786a16
|
Simplify NetQueryCreator and remove mtproto dependency on telegram_api.
GitOrigin-RevId: 2edfc9d6d80eab8716dfd3722f6aebe53dba1e47
|
2020-03-16 01:01:14 +03:00 |
|
levlam
|
b8848a2ab4
|
Simplify NetQuery creation.
GitOrigin-RevId: a01e72f8e196b405dd28dfd75d16cadc7127ec4a
|
2020-03-16 00:17:11 +03:00 |
|
levlam
|
2bd330a5aa
|
Add NetQueryCreator.create_guest_dc.
GitOrigin-RevId: e8b0fffb5bb762ce288a9cbf1c446d584c7258e1
|
2020-03-15 05:22:43 +03:00 |
|
levlam
|
8d01251f8b
|
Add NetQueryCreator::create_unauth.
GitOrigin-RevId: 79043a3662b0353f000f388b3ee2763abf49fe2d
|
2020-03-15 04:51:14 +03:00 |
|
levlam
|
c4c9e51157
|
Make all fields required in full NetQueryCreator methos.
GitOrigin-RevId: aa8ebb5cc46b9f3b7c0b606c012ace5fafe2bbf2
|
2020-03-15 04:15:54 +03:00 |
|
levlam
|
0d08895871
|
Simplify NetQuery creation in SecretChatActor.
GitOrigin-RevId: a6d00cb5175552f9aa6dc7b38462fc00eb5b78f7
|
2020-03-15 03:43:42 +03:00 |
|
levlam
|
ad3c28932b
|
Remove manual Gzip flag specification in query creation; support uploaded files pack.
GitOrigin-RevId: 46ddfc230182615517eac7b611a79284559bd694
|
2020-03-15 02:49:10 +03:00 |
|
levlam
|
968689157c
|
Make max_compression_ratio required parameter in gzencode.
GitOrigin-RevId: c787fdeae202d3b80944412e7db4209f35adcd07
|
2020-03-15 01:56:48 +03:00 |
|
levlam
|
b4138231ec
|
Remove total_timeout_limit parameter from NetQuery creator.
GitOrigin-RevId: 5c5a15654176061a64c0f167633a7842192200ba
|
2020-03-15 01:44:21 +03:00 |
|
levlam
|
a157cbf8d7
|
Replace NetQueryCreator.create_result with create_update.
GitOrigin-RevId: 21523bbd42a847b26359e49d6b70556599319121
|
2020-03-15 01:24:11 +03:00 |
|
levlam
|
7d71ec447a
|
tg_cli: remove file_reference logging from WARNING,
GitOrigin-RevId: 06483fd96b69f5ef74660adeec21e46fed99bbb3
|
2020-03-14 20:38:09 +03:00 |
|
levlam
|
3d85a7f304
|
Fix possible crash.
GitOrigin-RevId: 33fdfa3f92b9dfe393aac934f1307be00d7c308b
|
2020-03-13 02:50:29 +03:00 |
|
levlam
|
a6ec9e784a
|
Fix draftMessage.date field type.
GitOrigin-RevId: 819b7e0442481ed875084910f44e96d006a08701
|
2020-03-12 22:59:31 +03:00 |
|
levlam
|
6518f0448c
|
Fix warnings.
GitOrigin-RevId: 42ec38520b8ed0a040680df56750493bbe4eccc3
|
2020-03-12 20:34:06 +03:00 |
|
levlam
|
9c0f2b0b90
|
Add "always_parse_markdown" option.
GitOrigin-RevId: d2eaef75272af9073fac5f49c37643cd544f43e8
|
2020-03-12 20:20:59 +03:00 |
|
levlam
|
8ca5e11e3f
|
Add draftMessage.date.
GitOrigin-RevId: 5fea574e388a14fed3186b5c97a2a830181d6e98
|
2020-03-12 19:56:42 +03:00 |
|
levlam
|
01de03a3ee
|
Improve logging.
GitOrigin-RevId: 26f1002bdf0e437da17d5132e7a6963f39548fdf
|
2020-03-12 19:44:29 +03:00 |
|
levlam
|
9b01faa1fd
|
Add logging on check fail.
GitOrigin-RevId: 98322776755f5155b450b27040679d778505298f
|
2020-03-12 18:37:25 +03:00 |
|
levlam
|
90d2203dab
|
Improve logging on check fail.
GitOrigin-RevId: 91812e6f8c92ee58b503dd93126695b37f7c5950
|
2020-03-12 18:36:47 +03:00 |
|
levlam
|
9c67f42682
|
Add td_api::getMarkdownText.
GitOrigin-RevId: b463cc2c92052c552d66d774450ffa7bb4bc132e
|
2020-03-12 06:22:14 +03:00 |
|
levlam
|
ed7e486668
|
Improve parse_markdown_v3 test and fix parse_text_url_entities_v3.
GitOrigin-RevId: 337b87cbb885f92f30c9c95603b0ac37693d104f
|
2020-03-12 01:44:42 +03:00 |
|
levlam
|
ee0e60e097
|
Allow to output FormattedText to StringBuilder.
GitOrigin-RevId: 8ffffb2305ebe531f5dcb9118f9333367afb1238
|
2020-03-11 04:09:23 +03:00 |
|
levlam
|
1433b3d82a
|
Do not allow to archive saved messages and 777000.
GitOrigin-RevId: 570ec48d7347ebaf4ea3a35847d95714b5fcf741
|
2020-03-11 01:36:47 +03:00 |
|
levlam
|
a0bf46a4d8
|
Fix wrong saved legacy time_diff.
GitOrigin-RevId: 4ab3c37713c8d2b1d9f469cea4b13f0aab7558ac
|
2020-03-11 01:24:07 +03:00 |
|
levlam
|
6854db1021
|
Remove unneeded call to ensure_const_time on a public exponent.
GitOrigin-RevId: 5b35a453851ecc4caf4c97f17d059c2dd1c81cfd
|
2020-03-10 18:28:25 +03:00 |
|
levlam
|
3e559e457c
|
Improve names of RSA methods.
GitOrigin-RevId: b6f61f141987f282b5cf4faa9ff6cdf1219e8562
|
2020-03-10 18:27:43 +03:00 |
|
levlam
|
08a5f1b874
|
Add fast path for ". " in match_urls.
GitOrigin-RevId: 306419ea1e076f527e924721ef6caa4347c955ff
|
2020-03-10 17:53:55 +03:00 |
|
levlam
|
83cf2b3dd1
|
Add text_length function.
GitOrigin-RevId: bf58e5427e0c354e6fdddd4756e67cf7eeaf49a9
|
2020-03-10 17:43:07 +03:00 |
|
levlam
|
08d32673a3
|
Add sort_entities function.
GitOrigin-RevId: 0026fb224c77cd895ed8f5c38a99a267efb95f84
|
2020-03-10 17:38:07 +03:00 |
|
levlam
|
532567a475
|
Resort entities if needed after rtrim.
GitOrigin-RevId: f3124b2dc72e1b7858dde90133c5313025103603
|
2020-03-10 17:22:57 +03:00 |
|
levlam
|
718067e218
|
Remove wrong check from remove_invalid_entities.
GitOrigin-RevId: 843dea6a6668de87287a23532d95e9c6712c5b09
|
2020-03-10 17:06:22 +03:00 |
|
levlam
|
b2a175463f
|
Improve logging on failed check_is_sorted check.
GitOrigin-RevId: 756039b50c69c4b3d5d07ff7b671801726e4a6dc
|
2020-03-10 16:43:09 +03:00 |
|
levlam
|
6417510d51
|
Return all entities in get_message_entities.
GitOrigin-RevId: b08c7a9ab0cfa9a78e450d5cbf3567203abd7d67
|
2020-03-10 03:51:56 +03:00 |
|
levlam
|
1068cac8f0
|
Add synchronous td_api::parseMarkdown method.
GitOrigin-RevId: 89f59eda7076959a6bed9db006f895298e2fd66c
|
2020-03-09 23:55:32 +03:00 |
|
levlam
|
c04ae16bda
|
Fir readin histoyr delay.
GitOrigin-RevId: 816dde71f13aefa00750ab9cb4baea455de40c9d
|
2020-03-08 02:32:24 +03:00 |
|
levlam
|
5ae8f3bc43
|
Do not delete files from being readded message.
GitOrigin-RevId: cccec0ad3b816f400b7fc61d510719ef9f78e90f
|
2020-03-07 21:00:10 +03:00 |
|
levlam
|
35bc27c028
|
Do not warn on wrong unread counter in nonjoined chats.
GitOrigin-RevId: f81f747679a9beab19defeb6ab36d9c5ed0ca6ea
|
2020-03-05 20:12:50 +03:00 |
|
levlam
|
f8abeef8ad
|
tg_cli: add spgttl and SMU.
GitOrigin-RevId: d9dc7e88a596faea73852bdb97f58b14a134c41b
|
2020-03-05 20:11:35 +03:00 |
|
levlam
|
d11882c0cb
|
Prefer continuous ranges as a bank card number.
GitOrigin-RevId: 77eb573fd9580cd79964cecfe879a91178d5a43c
|
2020-03-05 16:56:17 +03:00 |
|
levlam
|
22c1a88a79
|
Add support for back to top anchor links.
GitOrigin-RevId: 4d1c15db95eca645e90df08e19b8cefd569ee158
|
2020-03-05 03:36:30 +03:00 |
|
levlam
|
82e43bc7eb
|
Add url to richTextRefernce/AnchorLink.
GitOrigin-RevId: 68d814307eb4906c0429cd6674939460b6b9173c
|
2020-03-05 03:24:57 +03:00 |
|
levlam
|
cc8d876589
|
Add ignore_default_disable_notification option.
GitOrigin-RevId: 9386d08601bce5b6cd3ef3413033439a30f99362
|
2020-03-05 00:17:19 +03:00 |
|
levlam
|
afde9cf6b8
|
Add anchor to referenced texts.
GitOrigin-RevId: 035ed463fc05184e8ff1df1dd9460cd894569c9c
|
2020-03-04 16:38:22 +03:00 |
|
levlam
|
5e2ad0a814
|
Never return self twice in searchChatMembers.
GitOrigin-RevId: 79b104de48f8b0e20c9110fd57e5e9a5bc847e87
|
2020-03-04 03:35:49 +03:00 |
|
levlam
|
692fddfe91
|
tg_cli: allow username as supergroup_id.
GitOrigin-RevId: ffd0fcdd4e17be3151aeb3cd5e3c51e466e68c59
|
2020-03-04 03:10:50 +03:00 |
|
levlam
|
5bea5f83b2
|
Better error message on incorrect inputMessageContact.
GitOrigin-RevId: 0bd74bbb6cd42b6a68d436e8f40317a4ed180972
|
2020-03-04 01:45:37 +03:00 |
|
levlam
|
f752f3fade
|
Fix warning.
GitOrigin-RevId: e36b575836941252e7c91d6fcf9498d80af9977b
|
2020-03-03 16:21:46 +03:00 |
|
levlam
|
4f402851b2
|
Hide drafts in chats, to which the user is unable to write.
GitOrigin-RevId: 7d50bacb483e726b7d6464168b849933f2b898f0
|
2020-03-03 15:55:23 +03:00 |
|
levlam
|
bb02dfacd6
|
Add protection from references inside richTextReference.
GitOrigin-RevId: 2ed62fd49af95559c3e8453ee03374106d08b7d5
|
2020-03-03 01:33:06 +03:00 |
|
levlam
|
0ab2b00533
|
Use display_url instead of url for domain detection.
GitOrigin-RevId: e966418ddd25b33dc878b19f3e77f589e9db777a
|
2020-03-03 01:24:25 +03:00 |
|
levlam
|
fa475244f7
|
Add support for Youtube hashtags in WebPage description.
GitOrigin-RevId: 51819b0adacd5bb32748bcbf46c8152eaa29079b
|
2020-03-03 00:53:15 +03:00 |
|
levlam
|
5dee42c734
|
Improve handling of Instant View anchors.
GitOrigin-RevId: 9293ea4c1c7f4767c7f91421b3719e00d836470c
|
2020-03-03 00:40:52 +03:00 |
|
levlam
|
c36b6948b0
|
Add explicit Context to WebPageBlock methods.
GitOrigin-RevId: b3e9b9994091e16ae789311ed598067ae5f1fa3d
|
2020-03-02 22:31:01 +03:00 |
|
levlam
|
ae5588bf11
|
Make webPage.description a formatted text.
GitOrigin-RevId: b64cf0e915f9fdeeadc8cdee8280fcbb236c92bb
|
2020-03-02 16:05:18 +03:00 |
|
levlam
|
7ec4c26514
|
Improve error messages.
GitOrigin-RevId: 336ef2751e51381c4dd7905ef5b050b691b91e08
|
2020-03-02 12:52:13 +03:00 |
|
levlam
|
a1e93ebba5
|
Add optimizeStorage.return_deleted_file_statistics.
GitOrigin-RevId: f7533781027891624017c605b1d3ac3e91da5086
|
2020-03-02 11:59:47 +03:00 |
|
levlam
|
bd0621eeff
|
Optimize adding new files to FileStats.
GitOrigin-RevId: bceb6a4540f45339fed92c1a83b19d1981634836
|
2020-03-02 02:55:08 +03:00 |
|
levlam
|
0b30530260
|
Minor file GC improvements.
GitOrigin-RevId: a14b6e219ad90537875108b3e42473bf33267855
|
2020-03-02 02:41:47 +03:00 |
|
levlam
|
751dae9e64
|
Remove now unneded dummy parameters.
GitOrigin-RevId: 4ffd517ab80431c0d52b2c0a1b01b0216383aefd
|
2020-03-02 02:15:12 +03:00 |
|
levlam
|
dc89a85449
|
Remove view counter from sent scheduled messages.
GitOrigin-RevId: e6d17a4f740708d8e1e29fdec67b73dad5b4716e
|
2020-03-02 01:33:28 +03:00 |
|
levlam
|
01bb9073d8
|
Fix warning.
GitOrigin-RevId: 8f4e58bed82ba340b440f4cfd828e8a9cd6884ea
|
2020-02-29 21:57:42 +03:00 |
|
levlam
|
c0c87e5560
|
Add notificationTypeNewPushMessage.is_outgoing.
GitOrigin-RevId: c7ef758bef2b49cd08cab73520c2814e039e2154
|
2020-02-29 21:42:02 +03:00 |
|
levlam
|
44b31537aa
|
Add "disable_sent_scheduled_message_notifications" option.
GitOrigin-RevId: ad57858024b07b51b89d7b3c28faf20c3e7577da
|
2020-02-29 21:17:30 +03:00 |
|
levlam
|
0a5d563a2f
|
Fix MessagesManager::get_next_yet_unsent_scheduled_message_id.
GitOrigin-RevId: 2a3a76652e809d46b5395f8cfd505ae625e30459
|
2020-02-29 20:36:49 +03:00 |
|
levlam
|
e0f27dd9c0
|
Do not try to use PHP on HardenedBSD.
GitOrigin-RevId: 9418dd2c90cc35a930342376bd65711428c29333
|
2020-02-29 16:15:52 +03:00 |
|
levlam
|
d83d8a4977
|
Supress updateNewMessage for scheduled messages from database and received before first return of the scheduled messages list.
GitOrigin-RevId: e04e707c23259ce1ea9b651164ddf7df91ccb4a1
|
2020-02-28 23:01:30 +03:00 |
|
levlam
|
dd6e52418c
|
Better repair of has_scheduled_server_messages.
GitOrigin-RevId: eb1ebac91773ce3a7306a252afe98d2a1a9686fa
|
2020-02-28 21:40:31 +03:00 |
|
levlam
|
cf8254b2c9
|
Update has_scheduled_server_messages after receiving all scheduled messages.
GitOrigin-RevId: 5eb7947469f5470c4670c9d2db794d07cd81dcce
|
2020-02-28 17:39:26 +03:00 |
|
levlam
|
e48199f6c0
|
Add get_dialog_has_scheduled_messages.
GitOrigin-RevId: 1733e3d3878950e196a2f7a31436f16c5ec4c6d0
|
2020-02-27 22:39:06 +03:00 |
|
levlam
|
5fef27af1b
|
Add parameter force to get_dialog_scheduled_messages.
GitOrigin-RevId: 1876be0d4de852aa3508810c491e3bb073ae0384
|
2020-02-27 21:31:19 +03:00 |
|
levlam
|
fe462698bc
|
Repair scheduled messages after deletion of last known scheduled message.
GitOrigin-RevId: 5ccb76b94ed954d7067033a932e248501b8e2fd0
|
2020-02-27 21:15:55 +03:00 |
|
levlam
|
92df8f9827
|
Remove unneeded brackets.
GitOrigin-RevId: 0b8a2ae21d28e6c276db8b45ffb4d127800f5d73
|
2020-02-26 18:15:19 +03:00 |
|
levlam
|
c3f802f55f
|
Monor fixes.
GitOrigin-RevId: 54ffc796bf71a9337476e2d2c43b3b83da53487a
|
2020-02-26 17:42:56 +03:00 |
|
levlam
|
24e2dcd590
|
Reregister edited scheduled messages.
GitOrigin-RevId: 72d2f5804fb6fb7dc5e4fb026dd1ef6640ee63f6
|
2020-02-26 16:26:25 +03:00 |
|
levlam
|
63f8828003
|
Fix Mozilla DNS.
GitOrigin-RevId: fe9b90187b5c688272ef399799b7faa029cdcd95
|
2020-02-26 16:17:43 +03:00 |
|
levlam
|
801137dcf3
|
Repair scheduled messages after receiving opposite server flag.
GitOrigin-RevId: 5cead2b4fd6c52835b5dc775efaa9c855d72feb3
|
2020-02-26 00:28:03 +03:00 |
|
Arseny Smirnov
|
8e0baa9b16
|
get_emojis_fingerprint: simplified, uses bswap64 now
GitOrigin-RevId: a5ac0742dfa45fc9fb59e75d8cfd302fe666f483
|
2020-02-25 12:47:31 +01:00 |
|
levlam
|
c407b244a0
|
Prevent extensive pinned message loading from the database.
GitOrigin-RevId: 4365b7bf0c95a89f616731a78017a2f4a15bd1d9
|
2020-02-25 05:14:43 +03:00 |
|
levlam
|
e14d15196c
|
Repait broken entities instead of clearing.
GitOrigin-RevId: 7044b000997b7415f55caa1610c418a76c7ea793
|
2020-02-25 01:46:30 +03:00 |
|
levlam
|
4cb43a2786
|
Add support for entities in captions of incoming secret chat messages.
GitOrigin-RevId: 126de54c7b346431fc901a953fcc72f3bc88985c
|
2020-02-25 00:30:47 +03:00 |
|
levlam
|
0d45de3ffb
|
Add support for entities in captions of outgoing secret chat messages.
GitOrigin-RevId: a7267004625b2c1d7235d961ade06587f107420a
|
2020-02-25 00:07:39 +03:00 |
|
levlam
|
182caecccc
|
Simplify get_message_content/get_secret_message_content implementation.
GitOrigin-RevId: 833a59386271a665050c57b5737a12bd2e336f97
|
2020-02-25 00:06:29 +03:00 |
|
levlam
|
81d0172f33
|
Correctly merge new entities.
GitOrigin-RevId: 6ca976a3c17030cffb0c32119389ea5a8c1050ff
|
2020-02-24 20:26:08 +03:00 |
|
levlam
|
b007747dce
|
Use separate CMake variable for td_api sources.
GitOrigin-RevId: ed1828a2202a69c71e620bdf5a1883aa8799d35e
|
2020-02-24 02:00:43 +03:00 |
|
levlam
|
3a5242151d
|
Improve CMake variable names.
GitOrigin-RevId: 30a12d01f3f96beda159f055c5d0fd0d3088db74
|
2020-02-24 01:55:13 +03:00 |
|
levlam
|
419ecd5904
|
Remove useless forward declarations.
GitOrigin-RevId: 4cc2b0e76ff6af8408a261858292053c7b15a17a
|
2020-02-23 23:00:51 +03:00 |
|
levlam
|
c5f3b2223c
|
Add more logging in to_unix_time.
GitOrigin-RevId: 1e191c31e4be4a29584844f27b098a21811daffd
|
2020-02-22 19:31:08 +03:00 |
|
levlam
|
04a002d9f3
|
Add source to register_message_content.
GitOrigin-RevId: 035429321a0fa15ea8918c634b19f12c21fc1d61
|
2020-02-22 19:21:58 +03:00 |
|
levlam
|
283a82cfa3
|
Disable automatic dialog action timeout in chats with bots.
GitOrigin-RevId: 69e0d54d329a2bef15269623d14e0770dffd120e
|
2020-02-22 19:03:52 +03:00 |
|
levlam
|
adfedb169d
|
Move some logging from INFO to connections.
GitOrigin-RevId: 304da251bcc1860e8b13fb0c38077a9c7d44c13c
|
2020-02-22 18:53:56 +03:00 |
|
levlam
|
8bece302a8
|
Fix network stats since_date by authorization date.
GitOrigin-RevId: 6842226e768d1d500e60eec1491b6adbda1098a5
|
2020-02-22 18:46:16 +03:00 |
|
levlam
|
6a56320b06
|
Fix saving new channels to database.
GitOrigin-RevId: 77074cfbec8299dfc0be9ba70a79afc1e7c3256a
|
2020-02-22 17:04:15 +03:00 |
|
levlam
|
6b21b27cae
|
Add random fix_formatted_text test.
GitOrigin-RevId: 35d2bf822bfebe4221a3495bb83fb2555a984a1c
|
2020-02-21 16:22:40 +03:00 |
|