Commit Graph

56 Commits

Author SHA1 Message Date
levlam
e7242b1188 Fix includes. 2023-03-06 20:36:56 +03:00
levlam
319a3f1c39 Add and use LinkManager::get_t_me_url(). 2023-03-01 23:49:22 +03:00
levlam
f6616f6ba3 Fix creator in ForumTopicInfo. 2023-02-04 17:59:17 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
3422ab1082 Process updates about pinned forum topics. 2022-12-30 01:06:05 +03:00
levlam
9fb35e8c95 Add td_api::setPinnedForumTopics. 2022-12-29 23:48:19 +03:00
levlam
118c336c01 Add td_api::toggleForumTopicIsPinned. 2022-12-29 23:23:09 +03:00
levlam
0a0387e8f5 Improve getForumTopicLink. 2022-12-26 15:11:55 +03:00
levlam
f97c103e2b Update last read inbox/outbox message identifiers in topics. 2022-12-14 14:25:04 +03:00
levlam
e531ae2eb0 Never create again deleted forum topics. 2022-12-14 02:24:38 +03:00
levlam
d4dc4b6c4e Fix forum topic deletion. 2022-12-13 15:22:27 +03:00
levlam
8ee04b37e6 Minor improvements. 2022-12-09 12:12:49 +03:00
levlam
29752073cf Get channel difference if needed in getForumTopics. 2022-12-07 20:20:06 +03:00
levlam
b395539414 Get channel difference if needed in getForumTopic. 2022-12-07 19:58:12 +03:00
levlam
05ad0474bf Add td_api::getForumTopics. 2022-12-06 18:16:22 +03:00
levlam
bc2e23a27f Add need_update_dialog_notification_settings. 2022-12-06 16:34:17 +03:00
levlam
58d84a1c7e Improve get_dialog_notification_settings(td_api::object_ptr<td_api::chatNotificationSettings> &&notification_settings). 2022-12-06 16:18:11 +03:00
levlam
3c842f1ecb Improve get_dialog_notification_settings(tl_object_ptr<telegram_api::peerNotifySettings>). 2022-12-06 15:23:11 +03:00
levlam
d9e16106af Add setForumTopicNotificationSettings. 2022-12-06 14:53:54 +03:00
levlam
c654041d9b Add Topic.need_save_to_database_. 2022-12-05 18:46:07 +03:00
levlam
d27181a69d Add ForumTopicManager::set_topic_info. 2022-12-05 18:40:08 +03:00
levlam
426c308e23 Add ForumTopic cache. 2022-12-05 17:37:09 +03:00
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