Commit Graph

9977 Commits

Author SHA1 Message Date
levlam
50b5a6e9bf Move channel participant cache to DialogParticipantManager. 2024-01-08 18:03:04 +03:00
levlam
bba173ea7d Move get_channel_participant to DialogParticipantManager. 2024-01-08 17:45:04 +03:00
levlam
f8565154a1 Move get_dialog_participant to DialogParticipantManager. 2024-01-08 17:35:24 +03:00
levlam
f1a4579e67 Move bot chat member updates to DialogParticipantManager. 2024-01-08 17:27:32 +03:00
levlam
82e59914cd Minor improvements. 2024-01-08 15:42:21 +03:00
levlam
d832d5a70f Move chat administrators to DialogParticipantManager. 2024-01-08 15:23:16 +03:00
levlam
d1251e47a6 Move chat join request processing to DialogParticipantManager. 2024-01-08 14:36:18 +03:00
levlam
b579fcd3e0 Rename DialogOnlineMemberManager to DialogParticipantManager. 2024-01-08 14:22:44 +03:00
levlam
55faa7ad0b Fix parameter name. 2024-01-08 14:15:15 +03:00
levlam
e4c816d33c Move methods for chat invite link management to DialogInviteLinkManager. 2024-01-08 14:09:58 +03:00
levlam
5a1b4b8d71 Move DialogAccessByInviteLink to DialogInviteLinkManager. 2024-01-08 13:40:28 +03:00
levlam
409778b760 Move check/join by chat invite link to DialogInviteLinkManager. 2024-01-08 13:25:31 +03:00
levlam
ebf2f95681 Add DialogInviteLinkManager. 2024-01-08 12:43:31 +03:00
levlam
90b8acff67 Add and use BotCommands::update_all_bot_commands. 2024-01-08 01:44:58 +03:00
levlam
b4ac2653cd Move delete_dialog to DialogManager. 2024-01-08 01:27:49 +03:00
levlam
64c646b9de Use resolve_dialog_username internally. 2024-01-08 00:31:07 +03:00
levlam
a2c6f4aa7c Move resolved usernames to DialogManager. 2024-01-07 23:45:33 +03:00
levlam
dc3929fede Remove is_unsent_animated_emoji_click proxy function. 2024-01-07 01:08:41 +03:00
levlam
b684039566 Move some methods to DialogActionManager. 2024-01-07 00:46:36 +03:00
levlam
4bc9f8d72e Add DialogActionManager. 2024-01-06 22:56:28 +03:00
levlam
bd7f900df8 Move relevant methods to MessageImportManager. 2024-01-06 22:45:27 +03:00
levlam
f5a776b67c Add MessageImportManager. 2024-01-06 22:06:52 +03:00
levlam
cb6c15b9c9 Explicitly check message content before trying to register it for bots. 2024-01-05 18:43:53 +03:00
levlam
cb013c999a Don't keep restriction reasons for bots. 2024-01-05 18:24:35 +03:00
levlam
99a6c04dd3 Move online_member_dialogs out of User. 2024-01-05 12:33:53 +03:00
levlam
884a16f1ed Partly move report_dialog to DialogManager. 2024-01-04 22:46:13 +03:00
levlam
c24bd49cce Move set_dialog_photo to DialogManager. 2024-01-04 20:44:12 +03:00
levlam
e5f0b33508 Move toggle_dialog_has_protected_content to DialogManager. 2024-01-04 20:25:41 +03:00
levlam
17012dff1c Move set_dialog_permissions to DialogManager. 2024-01-04 20:20:18 +03:00
levlam
fd45eb84f5 Move set_dialog_title to DialogManager. 2024-01-04 20:15:29 +03:00
levlam
57f1b32617 Move remove_secret_chat_dialog_ids to DialogId. 2024-01-04 19:55:48 +03:00
levlam
c0a0f7de07 Move on_dialog_info_full_invalidated to DialogManager. 2024-01-04 19:52:31 +03:00
levlam
a719ed42be Simplify conditions for reloading chat full info. 2024-01-04 19:47:27 +03:00
levlam
249598a711 Move get_common_dialogs to CommonDialogManager. 2024-01-04 19:30:58 +03:00
levlam
8d7058109c Add CommonDialogManager. 2024-01-04 19:20:14 +03:00
levlam
2c6917d044 Simplify RecentDialogList::removed_dialog_ids_ implementation. 2024-01-04 19:10:15 +03:00
levlam
f43807ebbf Don't try to remove chat from recent for bots. 2024-01-04 19:06:50 +03:00
levlam
3003679192 Move online member count to DialogOnlineMemberManager. 2024-01-04 18:30:12 +03:00
levlam
211071970e Add DialogOnlineMemberManager. 2024-01-04 18:02:36 +03:00
levlam
52b8e295ca Minor include improvements. 2024-01-04 16:46:53 +03:00
levlam
6d1f6e250f Add DialogManager::is_dialog_removed_from_dialog_list. 2024-01-04 16:32:04 +03:00
levlam
d24a0eda1d Move get_peers_dialog_ids to DialogManager. 2024-01-04 16:24:19 +03:00
levlam
b97fa08e62 Move get_input_dialog_id to DialogManager. 2024-01-04 16:20:15 +03:00
levlam
32898dbe88 Move get_chat_ids_object and get_chats_object to DialogManager. 2024-01-04 16:13:20 +03:00
levlam
ebda6f1364 Use DialogManager::get_my_dialog_id. 2024-01-04 15:49:02 +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
36f6a97b58 Fix setting of global DialogFilter manager. 2024-01-02 16:43:09 +03:00
levlam
7897ab1ada Add empty DialogManager. 2024-01-02 16:22:25 +03:00