Commit Graph

9953 Commits

Author SHA1 Message Date
levlam
cb27d4bd07 Make DialogFilter fields private. 2023-03-22 23:19:32 +03:00
levlam
f10fb4b6b5 Add and use DialogFilter::get_pinned_dialog_ids(). 2023-03-22 23:09:57 +03:00
levlam
7871a4192a Add DialogFilter::is_dialog_pinned. 2023-03-22 23:05:13 +03:00
levlam
d0593a02c1 Add DialogFilter::can_have_archived_dialogs. 2023-03-22 22:35:37 +03:00
levlam
dc18ce7b0e Add and use DialogFilter::is_dialog_included. 2023-03-22 22:30:00 +03:00
levlam
314dca6757 Fix misprint. 2023-03-22 21:50:07 +03:00
levlam
de8b68a492 Send updateLanguagePackStrings when language pack is loaded for the first time. 2023-03-22 21:40:05 +03:00
levlam
a9ba8f5a6c Reload promo data sequentially. 2023-03-22 19:52:06 +03:00
levlam
511689877c Improve some log messages. 2023-03-22 19:29:33 +03:00
levlam
2bdb2dc371 Load channels from messages. 2023-03-22 19:22:10 +03:00
levlam
66da2bc97e Add more input_channel checks. 2023-03-22 19:17:00 +03:00
levlam
f733e01d76 Add more checks for get_input_channel responses. 2023-03-22 18:35:28 +03:00
levlam
7c3822d932 Add and use ContactsManager::get_input_user_force. 2023-03-22 18:18:35 +03:00
levlam
25047c28cf Use TRY_RESULT_PROMISE for get_input_user. 2023-03-22 17:39:56 +03:00
levlam
d1146a46f2 Add more secret chat checks. 2023-03-22 16:44:52 +03:00
levlam
e4942d9cf7 Add GroupCallManager::can_join_group_calls. 2023-03-22 15:36:45 +03:00
levlam
4a0f5011cb Add some secret chat checks. 2023-03-22 15:05:05 +03:00
levlam
dbf66634cf Add DialogFilter::can_include_dialog. 2023-03-22 14:26:05 +03:00
levlam
4c5651027e Add DialogFilter::set_pinned_dialog_ids. 2023-03-22 14:14:21 +03:00
levlam
d3ef57e961 Add td_api::getSupportName. 2023-03-22 13:54:04 +03:00
levlam
b5df19ae34 Improve DialogFilter variable names. 2023-03-22 13:36:28 +03:00
levlam
ecc57d7b93 Move set_dialog_filters_order to DialogFilter. 2023-03-22 01:24:14 +03:00
levlam
f792137692 Add DialogFilter::need_dialog. 2023-03-22 01:17:07 +03:00
levlam
06940b2817 Add DialogFilter::get_chat_filter_object. 2023-03-22 01:00:54 +03:00
levlam
0c22f267c2 Improve log message. 2023-03-22 00:49:51 +03:00
levlam
54a9f1a554 Completely delete DialogFilter if all chats there are inaccessible. 2023-03-22 00:28:18 +03:00
levlam
18b7ee5e62 Add DialogFilter::set_dialog_is_pinned/include_dialog. 2023-03-21 23:21:19 +03:00
levlam
739bc08a31 Add DialogFilter::remove_dialog_id. 2023-03-21 23:20:33 +03:00
levlam
c5c06a8523 Move get_dialog_filter_ids to DialogFilter. 2023-03-21 22:35:00 +03:00
levlam
bfc0361b02 Move get_dialog_filter_folder_ids to DialogFilter. 2023-03-21 17:02:09 +03:00
levlam
d8a7114a2b Move create_dialog_filter to DialogFilter. 2023-03-21 16:55:07 +03:00
levlam
9acf785389 Move sort_input_dialog_ids to class DialogFilter. 2023-03-21 16:26:06 +03:00
levlam
51c4c1368b Add DialogFilter::for_each_dialog. 2023-03-21 16:12:47 +03:00
levlam
b5fe088574 Avoid the use of low-numbered file descriptors for sockets. 2023-03-21 13:54:43 +03:00
levlam
28362c1879 Avoid duplicate is_error() check in TRY_STATUS/TRY_RESULT. 2023-03-21 13:30:42 +03:00
levlam
7055176e89 Remove ActorSendType::LaterWeak. 2023-03-21 13:01:24 +03:00
levlam
52509b20a8 Improve check in MultiTimeout::update_timeout. 2023-03-21 12:25:01 +03:00
levlam
cf9866cfe4 Add HttpReader::parse_http_version. 2023-03-21 11:36:44 +03:00
levlam
0168d47a8a Add a.t.me Telegram domain. 2023-03-20 16:29:45 +03:00
levlam
1af942de49 Add td_api::resetAuthenticationEmailAddress. 2023-03-20 15:17:51 +03:00
levlam
e47adeab37 Improve email address reset API. 2023-03-20 14:45:11 +03:00
levlam
2f006bfdfe Move log message to binlog tag. 2023-03-20 12:51:46 +03:00
levlam
61a4259bfe Add email address reset infomation to authorizationStateWaitEmailCode. 2023-03-20 01:40:05 +03:00
levlam
da2424bc64 Flush binlog buffer from time to time. 2023-03-20 00:38:20 +03:00
levlam
f3225b7106 Allow to call resendAuthenticationCode for Firenase SMS. 2023-03-19 00:29:10 +03:00
levlam
200b334f49 Update layer to 156. 2023-03-18 23:30:58 +03:00
levlam
b7d6383de7 Print a warning if a field is marked as nullable erroneously. 2023-03-17 22:43:37 +03:00
levlam
670bff9a01 Send updateUser when user.have_access is changed. 2023-03-17 21:59:22 +03:00
levlam
5563ad4304 Add get_update_user/basic_group/supergroup/secret_chat_object 2023-03-17 21:42:34 +03:00
levlam
c44869f873 Support input*FromMessage. 2023-03-17 18:51:04 +03:00