levlam
|
0b46b93bc8
|
Add MessagesManager::do_update_list_last_dialog_date.
GitOrigin-RevId: 337bcc66893ef8c47224d77d5ab54d841936c836
|
2020-06-07 23:22:33 +03:00 |
|
levlam
|
135be34b0f
|
Add MessagesManager::do_update_list_last_pinned_dialog_date.
GitOrigin-RevId: 9059bce326b65d2b7d5b260fdb7fcb52918ba072
|
2020-06-07 23:07:46 +03:00 |
|
levlam
|
1e53b71532
|
Better createChatFilter/editChatFilter return type.
GitOrigin-RevId: 7c9d51add4bc3e2e7bfd92483b2daad83209503b
|
2020-06-07 22:16:30 +03:00 |
|
levlam
|
deb006416b
|
Add DialogFilter::get_chat_filter_info_object.
GitOrigin-RevId: e61ce8a03c53ee052283abf272edf11a9aaa6564
|
2020-06-07 21:51:21 +03:00 |
|
levlam
|
415e234f3c
|
Fix include.
GitOrigin-RevId: 8ccca04a6d304cbbafc7e2da2be60b37306b6aba
|
2020-06-07 20:13:33 +03:00 |
|
levlam
|
b1419f9de5
|
Fix some includes.
GitOrigin-RevId: f4b44d2e91ca72b6090d7f1f35673e8268723241
|
2020-06-07 18:14:52 +03:00 |
|
levlam
|
275150b67f
|
Load pinned dialogs if needed in getChats.
GitOrigin-RevId: 753be1d7a3b1009935bb17187e8ee971a327606c
|
2020-06-07 00:41:18 +03:00 |
|
levlam
|
b7a403f8c5
|
Immediately reload dialog filters after restart if ignore background updates.
GitOrigin-RevId: 254584dcd936425006b37753ae796503d0342957
|
2020-06-06 23:29:08 +03:00 |
|
levlam
|
89ca6f6c51
|
Do not save pinned dialogs to binlog if there is no message database.
GitOrigin-RevId: 2d3de7cc40f471338bd95a5f72ce4f6b8750c61b
|
2020-06-06 23:22:12 +03:00 |
|
levlam
|
a87b1b4b75
|
Return parallel first chat list loading.
GitOrigin-RevId: 236bbe8ed898f8ef1dae2add8998a78e4ec1b5f7
|
2020-06-06 23:20:04 +03:00 |
|
levlam
|
de6d5359ed
|
Use #pragma managed(push, off) around unmanaged includes in managed code.
GitOrigin-RevId: 1b8944dfa23e38f675aec0f25d78644baa27ab84
|
2020-06-06 22:51:45 +03:00 |
|
levlam
|
b5b1c4c3a6
|
Fix loading of pinned dialogs.
GitOrigin-RevId: 1ee93b98a10d5f24899d0793e5c9ce1bf3807a85
|
2020-06-06 22:41:03 +03:00 |
|
levlam
|
2433e68d38
|
Improve logging.
GitOrigin-RevId: 39c10ac2041467967de93aa94fc5ab8315720cf6
|
2020-06-06 22:38:47 +03:00 |
|
levlam
|
c67816454f
|
Fix requestQrCodeAuthentication documentation.
GitOrigin-RevId: 788bd942672d94baf6937f4b1d039e687b8a98b7
|
2020-06-06 17:48:42 +03:00 |
|
levlam
|
760005df5b
|
Change minimum chunk size of poll voters to 10.
GitOrigin-RevId: a1789ac229021d183c9d800fbfebf16c521be11c
|
2020-06-06 02:30:06 +03:00 |
|
levlam
|
e046e2ced4
|
Improve need_dialog_in_filter behavior.
GitOrigin-RevId: 56ccaa30c748e1ac4c5850185f0682c61556b17e
|
2020-06-06 00:53:13 +03:00 |
|
levlam
|
23df5601fe
|
Fix tdweb CE.
GitOrigin-RevId: 06d34855850e771c6aa6bca756dc8d1f4c700d09
|
2020-06-05 16:43:36 +03:00 |
|
levlam
|
88f6e483fe
|
Fix warning.
GitOrigin-RevId: 601d5141c123ee4928ea309b1846511fcf6d6b62
|
2020-06-05 08:16:38 +03:00 |
|
levlam
|
8e084a5b43
|
Do not add animations with stickers to saved animations automatically.
GitOrigin-RevId: c3220224c091ce59fadc519634d6a73933ed3a32
|
2020-06-05 07:26:26 +03:00 |
|
levlam
|
e14601e878
|
Process errors for dialog list loading.
GitOrigin-RevId: ecd7b6fe7f0686c1c98aa6896e86b9de5c8baee1
|
2020-06-05 07:21:02 +03:00 |
|
levlam
|
c32878495e
|
Continue dialog list loading from server if needed.
GitOrigin-RevId: 28709a473fcbd72f42b3b4322ab43c4d571c67a1
|
2020-06-05 06:57:36 +03:00 |
|
levlam
|
f47a287bf8
|
Load dialog filters without database.
GitOrigin-RevId: 2fdeaa9bfc700a44b5c76001dadea2b922a80d51
|
2020-06-05 04:36:46 +03:00 |
|
levlam
|
0e0b7d1bb7
|
Improve error messages.
GitOrigin-RevId: 054f148623cdf23b05c9594ed27d532b42420877
|
2020-06-05 04:13:55 +03:00 |
|
levlam
|
c3ede7ac23
|
Update mute_until in update_dialog_unmute_timeout.
GitOrigin-RevId: 37b978f0ab78ce5495cbf854fa0f796fbf453448
|
2020-06-05 04:05:43 +03:00 |
|
levlam
|
cbf77e3786
|
Add synchronous td_api::getChatFilterDefaultIconName.
GitOrigin-RevId: 15072bd5fffdd55e9879e0e5076a567bfe56f432
|
2020-06-05 03:43:13 +03:00 |
|
levlam
|
074040903b
|
Fix total notification count in chats with unzynchronized notification settings.
GitOrigin-RevId: 3cb7093a5b2b349c26d84f290924cbdb7d54b545
|
2020-06-05 02:59:05 +03:00 |
|
levlam
|
d364bdbb5b
|
Add are_pinned_dialogs_inited_.
GitOrigin-RevId: f1a9333cf7c8bab0a952dc6417dbdc40f9f16638
|
2020-06-04 17:30:10 +03:00 |
|
levlam
|
835038023a
|
Update last dialog date only after all received chats are added to prevent out of order updateChatPosition for some random previously received chats.
GitOrigin-RevId: ec99596467502b705f51cac68286c15aa3517583
|
2020-06-04 16:22:51 +03:00 |
|
levlam
|
7fe9f1ca62
|
Update lists of received from server dialog only after it is fully updated.
GitOrigin-RevId: c426df9e04100d04557429e8eb3fb14ba897cf7a
|
2020-06-04 15:31:29 +03:00 |
|
levlam
|
4472fa4530
|
Do not update order of being added chat.
GitOrigin-RevId: 99a27adc3858336ac403ee306d4140671aaf696b
|
2020-06-04 02:29:58 +03:00 |
|
levlam
|
36b8ab4d1d
|
Fix MessagesManager initialization after authorization.
GitOrigin-RevId: bf9c4068876e778316218997c41392228633ab7d
|
2020-06-04 02:02:17 +03:00 |
|
levlam
|
c9929b9528
|
Do not load dice sticker sets before init.
GitOrigin-RevId: f9c26c05c433a31e97b2fb8bcdcf5344dfe041c0
|
2020-06-04 01:19:37 +03:00 |
|
levlam
|
1f1307ab42
|
Log tries to send requests before authorization.
GitOrigin-RevId: 73d4efdaccf4564fa8558140380a845e2cc89c4b
|
2020-06-04 00:22:21 +03:00 |
|
levlam
|
9c5c112733
|
Fix max file size checks.
GitOrigin-RevId: 04695d57d2e32db680308a45ca7adad2f87ebe11
|
2020-06-03 21:22:58 +03:00 |
|
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 |
|