Commit Graph

1319 Commits

Author SHA1 Message Date
levlam
8ac59dc77d Improve update output to log.
GitOrigin-RevId: 7d61ef046b867a4f1c72f548deb93e208830edfd
2020-08-05 00:13:18 +03:00
levlam
6bc45e1c2e Save empty pinned chats list after it is received first time.
GitOrigin-RevId: 32559feeaa60e4d30387b3227a8990b625944137
2020-08-02 03:56:45 +03:00
Arseny Smirnov
166682865a DialogDb, MessageDb, MessagesManager: abort if an error happens during a transaction
GitOrigin-RevId: 63751130e05ed6d37928646c9a89ff35166e78e8
2020-07-27 18:03:22 +03:00
levlam
09036ad929 Invalidate and reload UserFull after receiving first incoming message from the user to fix chatActionBar.
GitOrigin-RevId: 34c0492433475fc49f01159615462e7b7edf7d0b
2020-07-10 21:56:28 +03:00
levlam
c1c431e969 Add distance to chatActionBarReportAddBlock.
GitOrigin-RevId: 35d4e7228ab9aec2911cc15556c92e47ac974bc6
2020-07-10 12:44:02 +03:00
levlam
d1e4c1dbc4 Add can_unarchive flag to chatActionBar.
GitOrigin-RevId: 9eaf7172e83c668677bed40206b27f4e93e13451
2020-07-09 23:14:41 +03:00
levlam
6476e05d1e Change input photo type to InputChatPhoto in setChatPhoto.
GitOrigin-RevId: fae612a07ffdf71f393ffea7951a76808b90f7b3
2020-07-08 19:40:23 +03:00
levlam
cf93b3c69c Support initial folder for secret chats.
GitOrigin-RevId: 57894f3ff767a0b24bac08c8251f51f3e4722b6a
2020-06-30 12:11:22 +03:00
levlam
a297294aac Update layer to 116.
GitOrigin-RevId: 7c12605195674f0b48dbc05734e99bffb2062d0c
2020-06-24 11:45:36 +03:00
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