Commit Graph

12445 Commits

Author SHA1 Message Date
levlam
29d4de052e Add profileAccentColor.min_supergroup_boost_level. 2024-02-08 14:35:42 +03:00
levlam
9400447fde Add td_api::chatEventCustomEmojiStickerSetChanged. 2024-02-08 13:46:45 +03:00
levlam
64635aefe1 Add td_api::messageChatBoost. 2024-02-07 20:50:00 +03:00
levlam
cb3c623fd2 Update layer to 174. 2024-02-07 20:34:28 +03:00
levlam
c0d78b9f04 Add MessagesManager::set_folder_pinned_dialogs. 2024-02-09 23:23:18 +03:00
levlam
3e66162c07 Add source to set_dialog_view_as_messages. 2024-02-08 01:33:08 +03:00
levlam
238c282368 Update server_total_count when topic list changes. 2024-02-07 20:03:46 +03:00
levlam
071d232908 Add td_api::updateSavedMessagesTopicCount. 2024-02-07 19:45:06 +03:00
levlam
d243739d67 Remove unused variable. 2024-02-07 18:01:35 +03:00
levlam
afb8524392 Minor fixes. 2024-02-07 17:50:57 +03:00
levlam
2ca4672a98 Improve logging and fix on_topic_changed. 2024-02-07 16:51:08 +03:00
levlam
e7d6a982fa Add source to send_update_saved_messages_topic. 2024-02-07 16:24:05 +03:00
levlam
6cfb50fd8f Support Saved Messages topic draft. 2024-02-07 16:10:56 +03:00
levlam
21696de370 Support Saved Messages in toggleChatViewAsTopics. 2024-02-07 15:32:50 +03:00
levlam
121461561e Add and use SavedMessagesManager::get_topic_ids. 2024-02-07 14:59:24 +03:00
levlam
7478bf3051 Don't reload pinned Saved Messages topics if they weren't loaded. 2024-02-07 14:52:02 +03:00
levlam
3fa7448dd9 Add logging in send_update_saved_messages_topic. 2024-02-07 14:33:01 +03:00
levlam
f28d40605a Improve Saved Messages topic API and naming. 2024-02-07 14:01:29 +03:00
levlam
aae57bf18a Move pinned topics to TopicList. 2024-02-07 12:49:00 +03:00
levlam
bb5d9d8777 Combine GetSavedDialogsQuery requests. 2024-02-07 12:45:13 +03:00
levlam
39ea60e889 Combine GetPinnedSavedDialogsQuery requests. 2024-02-07 12:42:10 +03:00
levlam
6cd6242931 Add td_api::loadSavedMessagesTopics instead of server-side topic load methods. 2024-02-07 12:30:34 +03:00
levlam
73f3696eda Send updateSavedMessagesTopic when last topic message changes. 2024-02-06 16:08:41 +03:00
levlam
7f0f3e9ff0 Add and use MessagesManager::send_update_last_message_if_needed. 2024-02-06 16:03:11 +03:00
levlam
5d0b8c71a5 Remove updatePinnedSavedMessagesTopics and handle updates on the TDLib side. 2024-02-06 15:12:03 +03:00
levlam
4882919461 Fix drop of topic order. 2024-02-06 14:58:37 +03:00
levlam
524899a6ae Update last topic date when loading Saved Messages topics. 2024-02-06 14:26:48 +03:00
levlam
f3d81a1aea Remove superflous saved_messages_topic_id parameters. 2024-02-06 01:24:25 +03:00
levlam
0baa1424f9 Add updateSavedMessagesTopic and more fields about the topic. 2024-02-06 01:21:55 +03:00
levlam
b45cd6e298 Add SavedMessagesManager::get_found_saved_messages_topic_object. 2024-02-06 00:58:13 +03:00
levlam
82702c4331 Store last message date along last topic message identifier. 2024-02-06 00:11:36 +03:00
levlam
0bcc699dc5 Add checks for maximum count of pinned Saved Messages topic and their existence before locally pin them. 2024-02-05 22:31:16 +03:00
levlam
abd4cec117 Maintain order of pinned Saved Messages topics and apply all changes locally first. 2024-02-05 22:22:17 +03:00
levlam
00984e1ebd Add logging in set_topic_last_message_id. 2024-02-05 10:30:04 +03:00
levlam
741b0fc6af Repair last Saved Messages topic message by fetching history. 2024-02-05 10:20:35 +03:00
levlam
db500ffae5 Process Saved Messages topic history inside SavedMessagesManager. 2024-02-05 10:06:58 +03:00
levlam
3d8c749536 Maintain last message of Saved Messages topics. 2024-02-05 00:56:20 +03:00
levlam
7267e1e89c Move Saved Messages-specific functions to SavedMessagesManager. 2024-02-04 23:06:48 +03:00
levlam
1eb8c22f75 Add empty SavedMessagesManager. 2024-02-04 12:41:53 +03:00
levlam
d85dcb8298 Send update when title of unused tag changes. 2024-02-02 18:52:53 +03:00
levlam
f0503191e4 Load Saved Messages tags in topic from database. 2024-02-02 17:09:49 +03:00
levlam
3e9f2ba515 Merge add_saved_reaction_tags and get_saved_reaction_tags. 2024-02-02 16:49:13 +03:00
levlam
af0c522c45 Use currently used tags to sort available tags in Saved Messages. 2024-02-02 16:38:37 +03:00
levlam
04f3432574 Load all Saved Messages tags from database. 2024-02-02 16:30:11 +03:00
levlam
56e37a87a2 Save Saved Messages tags to database. 2024-02-02 00:06:59 +03:00
levlam
32eba3c7d1 Enable setting tags by Premium users. 2024-02-01 22:40:55 +03:00
levlam
db4bd6b133 Strip more empty characters. 2024-02-01 21:16:01 +03:00
levlam
d6ba869457 Update getSavedMessagesTags documentation. 2024-02-01 20:41:14 +03:00
levlam
b9e339c934 Improve ServiceActor logging. 2024-02-01 20:31:43 +03:00
levlam
c287f02e9a Fix logging of migrating actors. 2024-02-01 16:00:38 +03:00