Commit Graph

34 Commits

Author SHA1 Message Date
levlam
c9d906dcb7 Add ForumTopicManager::can_be_message_thread_id. 2022-12-05 13:22:32 +03:00
levlam
ec0dd68a57 Add td_api::getForumTopicLink. 2022-12-05 13:03:38 +03:00
levlam
31fb277acf Fix topic message count. 2022-12-02 20:39:52 +03:00
levlam
1ad450129f Return last message in forumTopic. 2022-12-02 17:58:00 +03:00
levlam
feb267fcb7 Add on_get_forum_topic_info. 2022-12-02 17:47:08 +03:00
levlam
cdaddd75b2 Add td_api::getForumTopic. 2022-12-02 17:04:24 +03:00
levlam
38d3ecbd26 Add td_api::toggleGeneralForumTopicIsHidden. 2022-11-30 18:52:31 +03:00
levlam
4d82036ac4 Improve editForumTopic. 2022-11-30 17:18:22 +03:00
levlam
aef203ed05 Allow to change topic name and icon separately. 2022-11-30 16:53:01 +03:00
levlam
f6e8e85547 Move is_hidden to ForumTopicInfo. 2022-11-30 15:47:55 +03:00
levlam
33288a93d9 Update layer to 150. 2022-11-25 14:57:21 +03:00
levlam
b3fe271782 Delete topic from database after it was deleted locally. 2022-11-16 17:45:47 +03:00
levlam
0dc327bd3f Delete all topics from database when chat is deleted. 2022-11-16 17:35:12 +03:00
levlam
94f999435f Save information about forum topics to database. 2022-11-16 17:26:51 +03:00
levlam
65a2f1c025 Add ForumTopicManager::get_topic. 2022-11-16 16:02:22 +03:00
levlam
ff31fa1b52 Unload forum topic information after all messages are unloaded. 2022-11-15 17:37:31 +03:00
levlam
ab165bd34d Add ForumTopicManager::can_be_forum. 2022-11-15 17:07:05 +03:00
levlam
2ee0eb67f3 Support storing additional data about forum topics. 2022-11-15 16:59:32 +03:00
levlam
0f357cdb95 Apply information about forum topics from messages.channelMessages. 2022-11-15 16:00:19 +03:00
levlam
d1afd1c3b7 Minor improvements. 2022-11-02 19:51:41 +03:00
levlam
43deaf4502 Add td_api::deleteForumTopic. 2022-10-30 00:35:37 +03:00
levlam
ba7a1bd895 Don't send updateForumTopicInfo for bots just in case. 2022-10-29 02:42:51 +03:00
levlam
d6482525b3 Add updateForumTopicInfo. 2022-10-28 00:12:44 +03:00
levlam
090d2b4bc3 Add ForumTopicManager::add_topic_info. 2022-10-27 23:30:24 +03:00
levlam
25b7412042 Allow to edit forum topic by its creator. 2022-10-27 19:18:25 +03:00
levlam
f79e67cab8 Apply edited data from service message about forum topics. 2022-10-27 19:03:58 +03:00
levlam
99e6629c79 Add toggleForumTopicIsClosed. 2022-10-27 17:31:05 +03:00
levlam
0a0710c3eb Ignore TOPIC_NOT_MODIFIED errors. 2022-10-27 17:00:56 +03:00
levlam
be81c6d2b9 Add td_api::editForumTopic. 2022-10-27 16:53:23 +03:00
levlam
3b58079799 Use async destruction for ForumTopicManager. 2022-10-27 14:59:21 +03:00
levlam
1b9a8cc6fe Add ForumTopicInfo cache. 2022-10-27 14:58:21 +03:00
levlam
90ede43945 Support forum topic creation on behalf of channels. 2022-10-26 18:48:50 +03:00
levlam
eadf411679 Support forum topic creation. 2022-10-25 16:10:15 +03:00
levlam
83a2a786ef Add ForumTopicManager. 2022-10-25 15:03:35 +03:00