Commit Graph

508 Commits

Author SHA1 Message Date
levlam
cb3c623fd2 Update layer to 174. 2024-02-07 20:34:28 +03:00
levlam
5d0b8c71a5 Remove updatePinnedSavedMessagesTopics and handle updates on the TDLib side. 2024-02-06 15:12:03 +03:00
levlam
7267e1e89c Move Saved Messages-specific functions to SavedMessagesManager. 2024-02-04 23:06:48 +03:00
levlam
5acc895975 Improve error message. 2024-01-29 00:55:37 +03:00
levlam
ba75dd2626 Improve update handling logging. 2024-01-26 15:08:16 +03:00
levlam
73dc2b9889 Use multiset to store pending updates and improve PendingPtsUpdate comparison. 2024-01-26 14:59:07 +03:00
levlam
3391c643f3 Don't try to fetch the same update more than once. 2024-01-26 14:01:44 +03:00
levlam
b6fe959ece Improve update processing logging. 2024-01-26 11:25:09 +03:00
levlam
238d154ed7 Immediately fetch affected messages. 2024-01-26 00:30:49 +03:00
levlam
168bba072d Remove UpdatesManager::init_sessions, because sessions are inited now by choosing of random one to send request, and init_sessions isn't called after temporary key is changed. 2024-01-25 22:33:44 +03:00
levlam
233633b705 Don't postpone updates with pts_count > 1, because they can partly overlap with getDifference results. 2024-01-25 22:28:07 +03:00
levlam
c9a357f80d Support gaps with 0 pts_count in UpdatesManager::on_get_pts_update. 2024-01-25 22:02:11 +03:00
levlam
956c35d6e0 Add td_api::setSavedMessagesTagLabel. 2024-01-23 19:04:31 +03:00
levlam
9a09125d62 Support telegram_api::updateSavedReactionTags. 2024-01-23 16:39:15 +03:00
levlam
0823ee492e Add enum ReactionListType. 2024-01-18 20:53:43 +03:00
levlam
74aab0a7b2 Load default tag reactions. 2024-01-18 20:08:37 +03:00
levlam
ae7e290789 Add td_api::updatePinnedSavedMessagesTopics. 2024-01-18 18:51:34 +03:00
levlam
be8b21cdf4 Update layer to 171. 2024-01-02 03:23:51 +03:00
levlam
cd3cc873f0 Fix usage of unsupported chat identifier. 2024-01-23 19:05:39 +03:00
levlam
e5f9e4c400 Decrease UPDATE_APPLY_WARNING_TIME and improve logging. 2024-01-17 16:50:08 +03:00
levlam
f1a4579e67 Move bot chat member updates to DialogParticipantManager. 2024-01-08 17:27:32 +03:00
levlam
b684039566 Move some methods to DialogActionManager. 2024-01-07 00:46:36 +03:00
levlam
c0a0f7de07 Move on_dialog_info_full_invalidated to DialogManager. 2024-01-04 19:52:31 +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
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
1494d5fcdf Add td_api::getDisallowedChatEmojiStatuses. 2023-12-24 02:30:49 +03:00
levlam
f07d21ac6b Add td_api::getDefaultChatEmojiStatuses. 2023-12-22 12:29:12 +03:00
levlam
e2747b6c76 Add td_api::getThemedChatEmojiStatuses. 2023-12-21 22:44:59 +03:00
levlam
cc37a0c937 Add td_api::updateMessageReactions for bots. 2023-12-14 23:44:31 +03:00
levlam
00aff8f557 Add td_api::updateMessageReaction for bots. 2023-12-14 19:55:53 +03:00
levlam
c6ce44815e Update layer to 169. 2023-12-05 12:30:12 +03:00
levlam
53ee8caf37 Simplify QTS update processing. 2023-12-14 23:27:46 +03:00
levlam
60eb989657 Add td_api::updateProfileAccentColors. 2023-11-27 18:08:45 +03:00
levlam
fbcd4c7198 Use help.getPeerColors to update accent colors. 2023-11-27 16:35:27 +03:00
levlam
d08796fade Reload chat themes with other data. 2023-11-27 13:34:14 +03:00
levlam
1e5db44c0d Support telegram_api::updatePeerWallpaper.wallpaper_overridden. 2023-11-23 23:12:59 +03:00
levlam
ab39c96b2c Move transcription update subscription to TranscriptionManager. 2023-11-21 20:32:23 +03:00
levlam
7ffcd56f23 Support telegram_api::updateChannelViewForumAsMessages updates. 2023-11-16 17:11:36 +03:00
levlam
65e474ef49 Support telegram_api::updatePeerWallpaper. 2023-11-10 14:08:46 +03:00
levlam
d20ed201b0 Update layer to 167. 2023-11-09 19:37:26 +03:00
levlam
247eff6f58 Fix updates logging. 2023-11-09 01:46:02 +03:00
levlam
b2a85a5d1b Add td_api::updateChatBoost. 2023-10-31 00:18:38 +03:00
levlam
3c64604acc Update layer 166 scheme. 2023-10-30 23:26:53 +03:00
levlam
5c1b940402 Minor improvements. 2023-10-30 19:04:14 +03:00
levlam
21ef7d0f6c Disallow restricted member status in channels. 2023-10-19 22:37:44 +03:00
levlam
bd36f48054 Update layer to 166. 2023-09-28 16:13:36 +03:00
levlam
74396f65a1 Add class StickerListType. 2023-10-19 15:12:26 +03:00
levlam
cabdd047b9 Don't update pts_diff on PTS initialization. 2023-10-19 11:51:33 +03:00