Commit Graph

1310 Commits

Author SHA1 Message Date
levlam
193c7c6293 Rename chatPhotoFullInfo to chatPhoto.
GitOrigin-RevId: f97da057f1f74ccce283d21d1cfdd827bf51c871
2020-07-07 13:48:56 +03:00
levlam
d484baa1ee Rename chatPhoto to chatPhotoInfo.
GitOrigin-RevId: e301571c29719009148353161da483de9902eb8d
2020-07-07 13:00:56 +03:00
levlam
9a92f6d571 Simplify get_photo_object.
GitOrigin-RevId: 08c8fb7fe4eadb4bff56198d5834c708e032979b
2020-07-06 18:45:43 +03:00
levlam
c56f2a8c1d Use chatPhotoFullInfo where appropriate.
GitOrigin-RevId: ffde532a24735ddac2536a448100ac8884adba83
2020-07-06 15:34:07 +03:00
levlam
06bd4fa734 Add DialogParticipant validness checks.
GitOrigin-RevId: 74ca340bd890f0bd913a9f0d7aeb3e81f3829cf7
2020-06-30 17:46:36 +03:00
levlam
d5b4c57993 Add inputMessageDocument.force_file.
GitOrigin-RevId: 7f2780ba7f333e5f8df9c28bab429b8b12eaf26c
2020-06-22 02:02:21 +03:00
levlam
4f005e3356 Add MessagesManager::get_input_peer_force for offset_peer.
GitOrigin-RevId: 45ec6bb84f679c2b843f7487105069c3aa64341f
2020-06-20 03:45:25 +03:00
levlam
0275ecdcbc Fix "Try to" usages.
GitOrigin-RevId: 4ff6d26737f67180a1e9a1289f7f7fb428828b08
2020-06-18 05:02:18 +03:00
levlam
20099b730e Improve logging.
GitOrigin-RevId: 0740f7fc674e80a6be76f8cc8c847a22a0b6be90
2020-06-17 23:57:23 +03:00
levlam
96b18f3ad8 Fix loading empty list of pinned chats from binlog.
GitOrigin-RevId: 21f90fe3f9f869fe4b4fdab228a5bae1975728ae
2020-06-16 15:21:37 +03:00
levlam
71ec8cc655 Send updateChatFilters for empty list of chat filters after logging in.
GitOrigin-RevId: 18176b0c9bd08a1552189bb35eb46a982a33732d
2020-06-08 01:22:59 +03:00
levlam
eb9efdcba1 Fix edit_dialog_filter.
GitOrigin-RevId: 43043c6b0e054341d6c7c69e9c0dff7440224801
2020-06-07 23:59:16 +03:00
levlam
41d3a4dc33 Add disable_get_dialog_filter_ and more checks that bots doesn't use filters.
GitOrigin-RevId: a9806876ab714ea145dc0ddfd37270ca24e474ac
2020-06-07 23:45:11 +03:00
levlam
0b46b93bc8 Add MessagesManager::do_update_list_last_dialog_date.
GitOrigin-RevId: 337bcc66893ef8c47224d77d5ab54d841936c836
2020-06-07 23:22:33 +03:00
levlam
135be34b0f Add MessagesManager::do_update_list_last_pinned_dialog_date.
GitOrigin-RevId: 9059bce326b65d2b7d5b260fdb7fcb52918ba072
2020-06-07 23:07:46 +03:00
levlam
1e53b71532 Better createChatFilter/editChatFilter return type.
GitOrigin-RevId: 7c9d51add4bc3e2e7bfd92483b2daad83209503b
2020-06-07 22:16:30 +03:00
levlam
deb006416b Add DialogFilter::get_chat_filter_info_object.
GitOrigin-RevId: e61ce8a03c53ee052283abf272edf11a9aaa6564
2020-06-07 21:51:21 +03:00
levlam
275150b67f Load pinned dialogs if needed in getChats.
GitOrigin-RevId: 753be1d7a3b1009935bb17187e8ee971a327606c
2020-06-07 00:41:18 +03:00
levlam
b7a403f8c5 Immediately reload dialog filters after restart if ignore background updates.
GitOrigin-RevId: 254584dcd936425006b37753ae796503d0342957
2020-06-06 23:29:08 +03:00
levlam
89ca6f6c51 Do not save pinned dialogs to binlog if there is no message database.
GitOrigin-RevId: 2d3de7cc40f471338bd95a5f72ce4f6b8750c61b
2020-06-06 23:22:12 +03:00
levlam
a87b1b4b75 Return parallel first chat list loading.
GitOrigin-RevId: 236bbe8ed898f8ef1dae2add8998a78e4ec1b5f7
2020-06-06 23:20:04 +03:00
levlam
b5b1c4c3a6 Fix loading of pinned dialogs.
GitOrigin-RevId: 1ee93b98a10d5f24899d0793e5c9ce1bf3807a85
2020-06-06 22:41:03 +03:00
levlam
e046e2ced4 Improve need_dialog_in_filter behavior.
GitOrigin-RevId: 56ccaa30c748e1ac4c5850185f0682c61556b17e
2020-06-06 00:53:13 +03:00
levlam
23df5601fe Fix tdweb CE.
GitOrigin-RevId: 06d34855850e771c6aa6bca756dc8d1f4c700d09
2020-06-05 16:43:36 +03:00
levlam
88f6e483fe Fix warning.
GitOrigin-RevId: 601d5141c123ee4928ea309b1846511fcf6d6b62
2020-06-05 08:16:38 +03:00
levlam
e14601e878 Process errors for dialog list loading.
GitOrigin-RevId: ecd7b6fe7f0686c1c98aa6896e86b9de5c8baee1
2020-06-05 07:21:02 +03:00
levlam
c32878495e Continue dialog list loading from server if needed.
GitOrigin-RevId: 28709a473fcbd72f42b3b4322ab43c4d571c67a1
2020-06-05 06:57:36 +03:00
levlam
f47a287bf8 Load dialog filters without database.
GitOrigin-RevId: 2fdeaa9bfc700a44b5c76001dadea2b922a80d51
2020-06-05 04:36:46 +03:00
levlam
0e0b7d1bb7 Improve error messages.
GitOrigin-RevId: 054f148623cdf23b05c9594ed27d532b42420877
2020-06-05 04:13:55 +03:00
levlam
c3ede7ac23 Update mute_until in update_dialog_unmute_timeout.
GitOrigin-RevId: 37b978f0ab78ce5495cbf854fa0f796fbf453448
2020-06-05 04:05:43 +03:00
levlam
cbf77e3786 Add synchronous td_api::getChatFilterDefaultIconName.
GitOrigin-RevId: 15072bd5fffdd55e9879e0e5076a567bfe56f432
2020-06-05 03:43:13 +03:00
levlam
074040903b Fix total notification count in chats with unzynchronized notification settings.
GitOrigin-RevId: 3cb7093a5b2b349c26d84f290924cbdb7d54b545
2020-06-05 02:59:05 +03:00
levlam
d364bdbb5b Add are_pinned_dialogs_inited_.
GitOrigin-RevId: f1a9333cf7c8bab0a952dc6417dbdc40f9f16638
2020-06-04 17:30:10 +03:00
levlam
835038023a Update last dialog date only after all received chats are added to prevent out of order updateChatPosition for some random previously received chats.
GitOrigin-RevId: ec99596467502b705f51cac68286c15aa3517583
2020-06-04 16:22:51 +03:00
levlam
7fe9f1ca62 Update lists of received from server dialog only after it is fully updated.
GitOrigin-RevId: c426df9e04100d04557429e8eb3fb14ba897cf7a
2020-06-04 15:31:29 +03:00
levlam
4472fa4530 Do not update order of being added chat.
GitOrigin-RevId: 99a27adc3858336ac403ee306d4140671aaf696b
2020-06-04 02:29:58 +03:00
levlam
36b8ab4d1d Fix MessagesManager initialization after authorization.
GitOrigin-RevId: bf9c4068876e778316218997c41392228633ab7d
2020-06-04 02:02:17 +03:00
levlam
c9929b9528 Do not load dice sticker sets before init.
GitOrigin-RevId: f9c26c05c433a31e97b2fb8bcdcf5344dfe041c0
2020-06-04 01:19:37 +03:00
levlam
1f1307ab42 Log tries to send requests before authorization.
GitOrigin-RevId: 73d4efdaccf4564fa8558140380a845e2cc89c4b
2020-06-04 00:22:21 +03:00
levlam
7680ccf967 Do not reload dialog filters before authorization.
GitOrigin-RevId: c76d4e0a87a24c41a82d288534b4c3c201bf963b
2020-06-03 19:21:59 +03:00
levlam
44c141a776 Add more logging in CHECK.
GitOrigin-RevId: bdf8e0569105ef2033af8a4ac3bd2c82867dbc1f
2020-06-03 18:03:16 +03:00
levlam
1e6a2faecb Change scope mute_until in update_scope_unmute_timeout.
GitOrigin-RevId: 646066978d7bf5f4b2ee98f7e8d84f670e6bfa1f
2020-06-02 20:31:33 +03:00
levlam
3e3409ee9b Add schedule_scope_unmute.
GitOrigin-RevId: 4518854ffdc7e3d5dc0e7d74343ded9390d61dff
2020-06-02 20:21:56 +03:00
levlam
a0cb4aa260 Add schedule_dialog_unmute.
GitOrigin-RevId: 05fd1e8bbfc08f5a27217085050b3a0ec14a191e
2020-06-02 20:02:25 +03:00
levlam
25f77585c9 Move DialogFilter implementation to separate files.
GitOrigin-RevId: c58b7f42811242882f00d48152417826e465b5bc
2020-06-02 13:58:53 +03:00
levlam
6599d76837 Merge local and remote filter changes.
GitOrigin-RevId: 4413966eb1c6dd1bcf4400b5ca19ad30ac7342d1
2020-06-02 05:40:17 +03:00
levlam
492c18523f Move check_dialog_filter_limits inside DialogFilter.
GitOrigin-RevId: f4daa38456c378856a3ba3c87ce841aa0b9154c2
2020-06-02 04:26:40 +03:00
levlam
7aaf6a4641 Rename is_similar to are_similar.
GitOrigin-RevId: 18988afaefde2f228e9e0c5be82aaa094993f0c2
2020-06-02 04:18:31 +03:00
levlam
f234440d3d Improve method names.
GitOrigin-RevId: 34ec6eb1d3f3db02b946e147673a64c269c49132
2020-06-01 23:09:35 +03:00
levlam
01b319f22b Add recommended filters at the beginning of the list.
GitOrigin-RevId: 850744bddec52d19952a599b3ac9a8fca4667bf9
2020-06-01 18:05:32 +03:00