levlam
|
01d7178272
|
Add source to do_reload_sticker_set.
|
2022-12-21 11:18:30 +03:00 |
|
levlam
|
2afe1fc6ce
|
Drop pending updates with too big PTS after getDifference.
|
2022-12-20 12:42:03 +03:00 |
|
levlam
|
4f8844d6d5
|
Unify parameter order.
|
2022-12-20 11:27:38 +03:00 |
|
levlam
|
f1eedfaa47
|
Simplify some usages of optional TL fields.
|
2022-12-18 22:15:57 +03:00 |
|
levlam
|
4240026bf7
|
Check that sticker is still in the set before using it.
|
2022-12-17 21:14:39 +03:00 |
|
levlam
|
5b8161c838
|
Simplify optional fields access in *Full.
|
2022-12-16 12:37:49 +03:00 |
|
levlam
|
36c7dc2b63
|
Improve FullLocalFileLocation default constructor.
|
2022-12-15 23:05:51 +03:00 |
|
levlam
|
f97c103e2b
|
Update last read inbox/outbox message identifiers in topics.
|
2022-12-14 14:25:04 +03:00 |
|
levlam
|
848de33676
|
Replace top_thread_message_id in unsupported messages.
|
2022-12-14 13:28:16 +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
|
0e33195953
|
Move static get_message_id/get_message_dialog_id to corresponding classes.
|
2022-12-12 21:43:49 +03:00 |
|
levlam
|
d2060a2eb3
|
Improve log messages with time.
|
2022-12-11 01:32:46 +03:00 |
|
levlam
|
b10ad9ffc4
|
Increase MessageUnsupported version.
|
2022-12-10 23:13:59 +03:00 |
|
levlam
|
b634948c15
|
Move static MessageId helpers to MessageId class.
|
2022-12-10 22:57:41 +03:00 |
|
levlam
|
8ee04b37e6
|
Minor improvements.
|
2022-12-09 12:12:49 +03:00 |
|
levlam
|
6cbe1825ef
|
Delete left dialogs from filters.
|
2022-12-08 13:14:50 +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
|
a32bb3e7ef
|
Move get_messages_info to MessagesInfo.cpp.
|
2022-12-07 19:38:42 +03:00 |
|
levlam
|
75453b542f
|
Add separate header for MessagesInfo.
|
2022-12-07 19:28:27 +03:00 |
|
levlam
|
2e139cc895
|
Fix processing of links to messages in General topic.
|
2022-12-07 18:18:39 +03:00 |
|
levlam
|
67a67276a3
|
Support creation of message links for messages in General topic.
|
2022-12-07 17:54:03 +03:00 |
|
levlam
|
1db1532591
|
Add is_forum_channel.
|
2022-12-07 17:21:36 +03:00 |
|
levlam
|
a7952f3836
|
Fix compilation error.
|
2022-12-07 09:45:37 +03:00 |
|
levlam
|
5b5e05c13e
|
Update defeult value for "forum_member_count_min" option.
|
2022-12-07 01:18:53 +03:00 |
|
levlam
|
9e524598a5
|
Update version to 1.8.9.
|
2022-12-06 23:49:39 +03:00 |
|
levlam
|
294c99248e
|
Fix add_local_message.
|
2022-12-06 19:32:02 +03:00 |
|
levlam
|
05ad0474bf
|
Add td_api::getForumTopics.
|
2022-12-06 18:16:22 +03:00 |
|
levlam
|
8917b9c845
|
Support updates about forum topic notification settings.
|
2022-12-06 16:48:32 +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> &¬ification_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
|
ac9ee00a6b
|
Fix forum topic initial notification settings.
|
2022-12-06 15:00:27 +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
|
a40acdfcc3
|
Support General forum topic links.
|
2022-12-05 14:13:55 +03:00 |
|
levlam
|
374f3249be
|
Use need_unread_counter.
|
2022-12-05 13:44:50 +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
|
68ebfa3055
|
Don't try to change top_thread_message_id for messages in dialog.
|
2022-12-04 17:58:18 +03:00 |
|
levlam
|
7fdbc4b704
|
Add chatEventIsAggressiveAntiSpamEnabledToggled.
|
2022-12-04 12:04:39 +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
|
c29a48c9ac
|
Update built-in list of countries.
|
2022-12-02 14:58:41 +03:00 |
|
levlam
|
2f8d60669a
|
Update rights check for setChatMessageTtl.
|
2022-12-02 14:52:02 +03:00 |
|
levlam
|
70cfbab277
|
Extract only relevant random_id from updates.
|
2022-12-02 12:36:31 +03:00 |
|
levlam
|
f8a5f42886
|
Improve return value of UpdatesManager::get_new_messages.
|
2022-12-02 12:11:07 +03:00 |
|
levlam
|
fff8e81261
|
Don't return SetMessagesTTL messages in get_new_messages.
|
2022-12-01 23:44:58 +03:00 |
|
levlam
|
02ff843bbb
|
Add internalLinkTypeUserToken.
|
2022-12-01 17:42:57 +03:00 |
|
levlam
|
6977ac94ed
|
Add td_api::searchUserByToken.
|
2022-12-01 16:54:58 +03:00 |
|
levlam
|
b340e559bb
|
Add td_api::getUserLink.
|
2022-12-01 15:08:13 +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
|
7a93fcdeb4
|
Add forumTopicInfo.is_general.
|
2022-11-30 17:01:18 +03:00 |
|
levlam
|
aef203ed05
|
Allow to change topic name and icon separately.
|
2022-11-30 16:53:01 +03:00 |
|
levlam
|
7c4ec3cffa
|
Add chatEventForumTopicToggleIsHidden.
|
2022-11-30 16:11:37 +03:00 |
|
levlam
|
f6e8e85547
|
Move is_hidden to ForumTopicInfo.
|
2022-11-30 15:47:55 +03:00 |
|
levlam
|
20ba802e48
|
Add messageForumTopicIsHiddenToggled.
|
2022-11-30 15:39:29 +03:00 |
|
levlam
|
8a0429c30f
|
Add forum.is_hidden.
|
2022-11-30 14:44:00 +03:00 |
|
levlam
|
bc332ffa37
|
Make option "anti_spam_bot_user_id" public and allow to load the user without network request.
|
2022-11-30 13:36:44 +03:00 |
|
levlam
|
1ba66081a5
|
Ignore useless "reactions_in_chat_max" option.
|
2022-11-30 12:56:54 +03:00 |
|
levlam
|
5d0a41c807
|
Send updateUser when Fragment prefixes are changed.
|
2022-11-30 12:50:16 +03:00 |
|
levlam
|
b0e22e15e2
|
Add user.has_anonymous_phone_number.
|
2022-11-30 12:43:54 +03:00 |
|
levlam
|
7e88119c1f
|
Process fragment_prefixes option.
|
2022-11-29 23:42:29 +03:00 |
|
levlam
|
db5a7bb198
|
Add td_api::getDefaultMessageTtl.
|
2022-11-29 19:51:33 +03:00 |
|
levlam
|
2e163cfa7b
|
Add td_api::setDefaultMessageTtl.
|
2022-11-29 18:53:36 +03:00 |
|
levlam
|
4f737910ab
|
Ignore message interaction info updates for bots.
|
2022-11-29 17:25:43 +03:00 |
|
levlam
|
0cf9eb0b4b
|
Avoid unneeded calls to channels.getDifference.
|
2022-11-29 17:14:45 +03:00 |
|
levlam
|
2844156dfc
|
Allow to specify message_ttl during creation of basic group and channel chats.
|
2022-11-29 15:44:12 +03:00 |
|
levlam
|
62e721fa6f
|
Add messageChatSetTtl.from_user_id.
|
2022-11-29 14:02:05 +03:00 |
|
levlam
|
8b11ef9aa3
|
Apply message_ttl from telegram_api::dialog.
|
2022-11-29 13:08:06 +03:00 |
|
levlam
|
650e2367bc
|
Add authenticationCodeTypeFragment.
|
2022-11-25 18:14:20 +03:00 |
|
levlam
|
f7897dc2ba
|
Add "aggressive_anti_spam_supergroup_member_count_min" option.
|
2022-11-25 17:16:37 +03:00 |
|
levlam
|
e6941d231d
|
Add chatEventMessageDeleted.can_report_anti_spam_false_positive.
|
2022-11-25 16:50:16 +03:00 |
|
levlam
|
3d3f73df7a
|
Add td_api::reportSupergroupAntiSpamFalsePositive.
|
2022-11-25 16:38:00 +03:00 |
|
levlam
|
6827c79570
|
Add toggleSupergroupIsAggressiveAntiSpamEnabled.
|
2022-11-25 16:06:04 +03:00 |
|
levlam
|
58e0e5b2ae
|
Add supergroupFullInfo.is_aggressive_anti_spam_enabled.
|
2022-11-25 15:16:37 +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
|
24be58d083
|
Move ForumTopicInfo out of ForumTopic.
|
2022-11-15 16:14:57 +03:00 |
|
levlam
|
0f357cdb95
|
Apply information about forum topics from messages.channelMessages.
|
2022-11-15 16:00:19 +03:00 |
|
levlam
|
b2aef90b1a
|
Support new ForumTopic fields.
|
2022-11-15 14:54:57 +03:00 |
|
levlam
|
92d44a5282
|
Fix checkChatUsernameResultPublicChatsTooMany spelling.
|
2022-11-15 14:48:50 +03:00 |
|
levlam
|
a20076b620
|
Add checkChatUsernameResultUsernamePurchasable.
|
2022-11-15 14:27:18 +03:00 |
|
levlam
|
47c8d957a1
|
Update layer to 149.
|
2022-11-10 20:27:09 +03:00 |
|
levlam
|
d581e0499a
|
Allow to read deleted thread messages.
|
2022-11-28 17:54:32 +03:00 |
|
levlam
|
c8507ec16a
|
Add time limit for applying of pending PTS updates.
|
2022-11-27 00:59:09 +03:00 |
|
levlam
|
d6842ced1b
|
Avoid update about deleted closed polls.
|
2022-11-26 12:35:29 +03:00 |
|
levlam
|
409f7f5dd7
|
Do nothing in MessagesManager::reload_voice_chat_on_search before authorization.
|
2022-11-25 18:58:17 +03:00 |
|