Commit Graph

45 Commits

Author SHA1 Message Date
levlam
d24a0eda1d Move get_peers_dialog_ids to DialogManager. 2024-01-04 16:24:19 +03:00
levlam
32898dbe88 Move get_chat_ids_object and get_chats_object to DialogManager. 2024-01-04 16:13:20 +03:00
levlam
eb5a37e927 Add DialogManager::force_create_dialog. 2024-01-04 15:38:01 +03:00
levlam
978be7206f Use DialogManager::have_dialog_force. 2024-01-04 15:26:42 +03:00
levlam
b2fccc7d9c Move ContactsManager proxy methods to DialogManager. 2024-01-03 23:07:50 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
37637bf9ed Preload chat to which belongs the replied meessage from a draft. 2023-11-01 21:32:09 +03:00
levlam
1dcd78f1ed Add source to have_dialog_info_force. 2023-08-26 05:00:15 +03:00
levlam
bcf9ff7d43 Explicitly include telegram_api.h in cpp files. 2023-07-01 14:53:04 +03:00
levlam
288043556b Fix CHECK. 2023-06-27 15:41:41 +03:00
levlam
ac81a35283 Add td_api::getChatFolderChatCount. 2023-05-01 14:57:16 +03:00
levlam
1b891ddc7b Add chatFolderInfo.is_shareable. 2023-04-29 22:04:25 +03:00
levlam
f755ed8e97 Fix forward declaration usage. 2023-04-24 15:09:37 +03:00
levlam
27c3064c56 Remove DialogFilterManager::hide_dialog_filter_new_chats. 2023-04-19 10:18:40 +03:00
levlam
598ba5422f Add MessagesManager::get_chat_ids_object. 2023-04-14 13:38:25 +03:00
levlam
a52b6f025f Add td_api::getChatsForChatFolderInviteLink. 2023-04-09 21:54:40 +03:00
levlam
d6b53d61fc Use request promise in td_api::getChatFolder. 2023-04-09 01:35:42 +03:00
levlam
b4676dc57a Various fixes. 2023-04-07 16:02:31 +03:00
levlam
aebf904513 Various chat folder fixes. 2023-04-06 23:15:22 +03:00
levlam
f431c8ba5a Add td_api::hideChatFolderNewChats. 2023-04-05 19:43:58 +03:00
levlam
758926bbed Add td_api::addChatFolderNewChats. 2023-04-04 16:35:31 +03:00
levlam
e6cc743c33 Add td_api::getChatFolderNewChats. 2023-04-04 16:21:31 +03:00
levlam
241021ae83 Rename chat filters to chat folders. 2023-04-03 17:28:51 +03:00
levlam
b34d1d2c25 Update has_my_invite_links when receive the list of all links. 2023-04-03 15:16:11 +03:00
levlam
613ab34f09 Add chatFilterInfo.has_my_invite_links. 2023-04-03 15:06:37 +03:00
levlam
6198a6a842 Add td_api::getChatFilterChatsToLeave. 2023-04-02 12:40:57 +03:00
levlam
4bf49b246f Add deleteChatFilter.leave_chat_ids. 2023-04-02 12:05:04 +03:00
levlam
7085bc4d8f Pass promise to on_update_dialog_filters. 2023-04-02 11:53:25 +03:00
levlam
0ca51e8b79 Use DialogId::get_chat_ids. 2023-04-02 11:24:48 +03:00
levlam
ea27f659e6 Use chatlists.leaveChatlist to delete shareable folders. 2023-04-01 23:24:57 +03:00
levlam
cb2ce5d1de Add td_api::addChatFilterByInviteLink. 2023-03-31 16:48:32 +03:00
levlam
d47bd927fe Add td_api::checkChatFilterInviteLink. 2023-03-31 15:50:49 +03:00
levlam
49b9ea2ec1 Add td_api::deleteChatFilterInviteLink. 2023-03-30 19:52:55 +03:00
levlam
a9f862c3c3 Add td_api::editChatFilterInviteLink. 2023-03-30 19:37:01 +03:00
levlam
761bc9c992 Add chatFilter.is_shareable. 2023-03-30 18:23:26 +03:00
levlam
d1c9cacf85 Add td_api::getChatFilterInviteLinks. 2023-03-30 17:15:04 +03:00
levlam
a487c08eca Move logging to DialogFilter::merge_dialog_filter_changes. 2023-03-27 21:40:07 +03:00
levlam
f844179528 Add td_api::createChatFilterInviteLink. 2023-03-27 21:36:44 +03:00
levlam
19ac20adc9 Move checks from DialogFilterManager::create_dialog_filter to DialogFilter. 2023-03-27 18:46:01 +03:00
levlam
f12fedd4d6 Add class DialogFilterDialogInfo. 2023-03-27 18:34:25 +03:00
levlam
f4daa4b61a Move dialog filter list to DialogFilterManager. 2023-03-27 17:44:13 +03:00
levlam
9259728d16 Use do_edit_dialog_filter. 2023-03-27 14:16:02 +03:00
levlam
2ef970307b Move get_chat_filter_object and load_dialog_filter to DialogFilterManager. 2023-03-27 14:09:55 +03:00
levlam
0ff733edad Move recommended filters to DialogFilterManager. 2023-03-27 11:50:40 +03:00
levlam
800258fa57 Add DialogFilterManager. 2023-03-27 11:27:17 +03:00