levlam
|
0fe8023cdc
|
Add new flags to basicGroupFullInfo.
|
2022-12-20 11:17:51 +03:00 |
|
levlam
|
983cb965cf
|
Add supergroupFullInfo.can_hide_members.
|
2022-12-20 11:04:00 +03:00 |
|
levlam
|
f4f156a5b1
|
Hide viewers in chats with hidden participants.
|
2022-12-19 21:34:38 +03:00 |
|
levlam
|
89c407c129
|
Use server-side online count for supergroups with hidden members.
|
2022-12-19 21:25:53 +03:00 |
|
levlam
|
db761e0852
|
Correctly process received channel participants.
|
2022-12-19 21:20:14 +03:00 |
|
levlam
|
786cbf990c
|
Add supergroupFullInfo.has_hidden_members.
|
2022-12-19 20:29:33 +03:00 |
|
levlam
|
f2d8575828
|
Add supergroupFullInfo.can_toggle_aggressive_anti_spam.
|
2022-12-19 13:59:09 +03:00 |
|
levlam
|
8a2598869c
|
Rename fallback photo to public photo.
|
2022-12-19 13:03:38 +03:00 |
|
levlam
|
9d4517ab26
|
tg_cli: simplify message TTL testing.
|
2022-12-16 16:36:51 +03:00 |
|
levlam
|
0b8e1747a5
|
tg_cli: simplify has_spoiler testing.
|
2022-12-16 15:58:33 +03:00 |
|
levlam
|
02db4f2fac
|
Support sending of photos and videos with spoiler animation.
|
2022-12-15 22:41:55 +03:00 |
|
levlam
|
ab349e1562
|
Support photo deletion in setUserPersonalProfilePhoto.
|
2022-12-15 18:39:39 +03:00 |
|
levlam
|
1ee924aeb2
|
Add suggestUserPersonalProfilePhoto.
|
2022-12-15 18:12:30 +03:00 |
|
levlam
|
7b8ce74ec2
|
Allow to set fallback profile photo.
|
2022-12-15 17:44:26 +03:00 |
|
levlam
|
8de2bc531d
|
Add userFullInfo.fallback_photo.
|
2022-12-15 17:17:42 +03:00 |
|
levlam
|
121dd73bfb
|
Add ContactsManager::get_user_full_profile_photo_id.
|
2022-12-15 15:27:22 +03:00 |
|
levlam
|
214c8d5e70
|
Add replyMarkupShowKeyboard.is_persistent.
|
2022-12-15 14:59:12 +03:00 |
|
levlam
|
c30756f450
|
Add AttachmentMenuBot.request_write_access.
|
2022-12-15 14:25:45 +03:00 |
|
levlam
|
743ba7cc28
|
Add toggleBotIsAddedToAttachmentMenu.allow_write_access.
|
2022-12-15 14:21:22 +03:00 |
|
levlam
|
cc52263026
|
Add td_api::messageBotWriteAccessAllowed
|
2022-12-14 21:13:48 +03:00 |
|
levlam
|
b2c838f7bb
|
Add td_api::setUserPersonalProfilePhoto.
|
2022-12-13 14:16:49 +03:00 |
|
levlam
|
0db6fe533b
|
Support personal photo in UserFull.
|
2022-12-09 18:46:57 +03:00 |
|
levlam
|
f941df4ec7
|
Add profilePhoto.is_personal flag.
|
2022-12-09 15:52:21 +03:00 |
|
levlam
|
ebeb524f70
|
Add messageSuggestProfilePhoto.
|
2022-12-09 14:13:37 +03:00 |
|
levlam
|
9cc023111d
|
Add sticker.has_text_color.
|
2022-12-09 13:39:29 +03:00 |
|
levlam
|
8e7d5f5594
|
Update layer to 151.
|
2022-12-08 20:58:37 +03:00 |
|
levlam
|
86d5f12e6e
|
Don't try to load the same chat many times from the database.
|
2022-12-23 14:28:03 +03:00 |
|
levlam
|
1e65d38483
|
Ignore ReadMessageContents updates for bots.
|
2022-12-22 17:19:33 +03:00 |
|
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 |
|
levlam
|
3ec53c8d78
|
Fix compilation error.
|
2022-11-24 15:25:15 +03:00 |
|
levlam
|
af05db3f15
|
Add td::Hash and use it everywhere instead of unusable std::hash.
|
2022-11-23 19:37:32 +03:00 |
|
levlam
|
b1ddf9d3a7
|
Minor fixes.
|
2022-11-23 16:32:09 +03:00 |
|
levlam
|
0455f8cfbb
|
Skip too old channel difference for bots.
|
2022-11-23 13:21:46 +03:00 |
|
levlam
|
a776ac7566
|
Improve log message for failed to generate files.
|
2022-11-22 14:15:37 +03:00 |
|
levlam
|
f53cf540b7
|
Use WaitFreeHashMap to store poll messages.
|
2022-11-22 12:58:07 +03:00 |
|
levlam
|
5491cc3940
|
Store polls in a WaitFreeHashMap.
|
2022-11-22 12:23:58 +03:00 |
|
levlam
|
dd01e73c8f
|
Don't send updateMessageContent about poll messages to bots when the poll is changed.
|
2022-11-22 12:15:58 +03:00 |
|
levlam
|
468edb4d61
|
Use double timestamps in FloodControlStrict.
|
2022-11-21 21:07:56 +03:00 |
|
levlam
|
82b9d3493e
|
Adjust last_read_inbox_message_id in MessageReplyInfo by last read chat message.
|
2022-11-21 19:11:38 +03:00 |
|
levlam
|
f94e27fe12
|
Improve MessageReplyInfo field names.
|
2022-11-21 18:35:28 +03:00 |
|
levlam
|
2207d668e0
|
Fix postponed drop of default message sender.
|
2022-11-21 17:56:16 +03:00 |
|
levlam
|
c7f7abb6e7
|
Drop chat message sender when chat become private.
|
2022-11-21 17:19:23 +03:00 |
|
levlam
|
3ae4a8d702
|
Improve logging.
|
2022-11-21 15:39:14 +03:00 |
|
levlam
|
0227bbc3cf
|
Treat files with upload_pause as being uploaded.
|
2022-11-21 15:28:32 +03:00 |
|
levlam
|
68627a0c3f
|
Add source to cancel_upload_file.
|
2022-11-21 14:33:19 +03:00 |
|
levlam
|
19e080d3d2
|
Avoid non-required file_id duping.
|
2022-11-21 12:06:05 +03:00 |
|
levlam
|
0b387a61ad
|
Add source to dup_file_id.
|
2022-11-21 11:40:43 +03:00 |
|
levlam
|
ef71f55ec1
|
Use WaitFreeHashMap for user photos.
|
2022-11-20 23:16:21 +03:00 |
|
levlam
|
3b46f78584
|
Use WaitFreeHashMap for pending_user_photos_.
|
2022-11-20 22:48:01 +03:00 |
|
levlam
|
3992c3695a
|
Add more logging for long update applying.
|
2022-11-20 22:41:50 +03:00 |
|
levlam
|
6eb7217b66
|
Avoid expected warning.
|
2022-11-20 11:29:05 +03:00 |
|
levlam
|
7724f68fa2
|
Simplify variables initialization.
|
2022-11-19 12:29:25 +03:00 |
|
levlam
|
2d2446ae77
|
Improve updating of reply info.
|
2022-11-19 11:21:41 +03:00 |
|
levlam
|
fe7ea9bac9
|
Invalidate ChannelFull instead of running getDifference if appropriate.
|
2022-11-18 18:05:04 +03:00 |
|
levlam
|
a4a7d7264e
|
Try to add user to channel after unrestricting.
|
2022-11-18 17:49:11 +03:00 |
|
levlam
|
f18d1455cf
|
Improve parameters name.
|
2022-11-18 17:05:52 +03:00 |
|
levlam
|
2fad9afd49
|
Hide comments button if the user is banned in the discussion group.
|
2022-11-18 16:35:16 +03:00 |
|
levlam
|
f8e2af3f59
|
Rename size() to calc_size() for WaitFree hash tables.
|
2022-11-18 13:16:24 +03:00 |
|
levlam
|
5081ef4c2a
|
Use WaitFreeHashMap to store nodes in FileReferenceManager.
|
2022-11-17 19:13:36 +03:00 |
|
levlam
|
f085e7eea3
|
Use request promise in setBackground.
|
2022-11-17 18:48:48 +03:00 |
|
levlam
|
63b528f213
|
Speculatively add channel users added through addChatMembers.
|
2022-11-17 18:10:26 +03:00 |
|
levlam
|
830806937e
|
Improve source type in on_get_channel_error/on_get_dialog_error.
|
2022-11-17 14:18:11 +03:00 |
|
levlam
|
9f39aeecdf
|
Add source to invalidate_channel_full.
|
2022-11-17 14:01:08 +03:00 |
|
levlam
|
3143d0ead7
|
Add search text for topic service messages.
|
2022-11-17 13:22:24 +03:00 |
|
levlam
|
66032b4ccf
|
Use get_next_message_id.
|
2022-11-16 23:55:45 +03:00 |
|
levlam
|
2e6ac1f22c
|
Simplify authorization state timeout handling.
|
2022-11-15 11:36:39 +03:00 |
|
levlam
|
b2b59b02be
|
Add draft of history generation for better gap handling.
|
2022-11-14 20:12:23 +03:00 |
|
levlam
|
3373ac8aa8
|
Don't replace cached file_id of being uploaded files.
|
2022-11-14 18:30:10 +03:00 |
|
levlam
|
0461aff289
|
Hide replies to root message in topic messages.
|
2022-11-14 14:23:39 +03:00 |
|
levlam
|
ecceb1c472
|
Fix file registration.
|
2022-11-13 11:56:52 +03:00 |
|
levlam
|
73049c6c89
|
Improve logging.
|
2022-11-13 11:11:18 +03:00 |
|
levlam
|
f6f94e5255
|
Improve getRepliedMessage.
|
2022-11-13 03:13:11 +03:00 |
|
levlam
|
1d672470ea
|
Don't register VoiceNote and VideoNote messages for bots.
|
2022-11-12 10:51:57 +03:00 |
|
levlam
|
f43956f25d
|
Disable message thread database for now.
|
2022-11-12 09:59:56 +03:00 |
|
levlam
|
348ee9a95b
|
Remove unused return value in FileManager::merge.
|
2022-11-12 09:54:23 +03:00 |
|
levlam
|
b29fc78f85
|
Merge downloaded and generated files as early as possible to avoid pinning and keeping of a temporary file_id for local location.
|
2022-11-12 09:47:33 +03:00 |
|
levlam
|
f5872ee11a
|
Avoid deletion of message files for bots.
|
2022-11-11 23:13:44 +03:00 |
|
levlam
|
e35a81dbe9
|
Pin only main file_id.
|
2022-11-11 21:09:57 +03:00 |
|
levlam
|
8b64142af4
|
Reduce boundary for file identifier number warnings.
|
2022-11-11 16:54:13 +03:00 |
|
levlam
|
ba5b950055
|
Don't clear draft when inline message is sent not from input field.
|
2022-11-11 16:11:55 +03:00 |
|
levlam
|
f670d646c9
|
Unload at most 5000 messages at a time.
|
2022-11-11 16:06:05 +03:00 |
|
levlam
|
28d1dd02e9
|
Make SslCtx public.
|
2022-11-11 14:23:43 +03:00 |
|
levlam
|
ce3a86e721
|
Fix dropping of MessageReplyInfo.
|
2022-11-10 20:46:20 +03:00 |
|
levlam
|
73adf2827f
|
Add MessageThreadDatabase.
|
2022-11-10 19:46:17 +03:00 |
|
levlam
|
f78bf4005e
|
Flush DialogDb on closing.
|
2022-11-10 19:20:17 +03:00 |
|
levlam
|
8e32de133a
|
Rename MessagesDb to MessageDb.
|
2022-11-09 20:35:22 +03:00 |
|
levlam
|
3592494daf
|
Don't send updates about unloading from cache of unknown to app messages.
|
2022-11-08 14:00:11 +03:00 |
|
levlam
|
ef5107fcc4
|
Remove unused from_cache parameter in send_update_delete_messages.
|
2022-11-08 13:43:46 +03:00 |
|
levlam
|
7eba19887a
|
Remove ignored Status responses from DialogDb.
|
2022-11-07 23:19:32 +03:00 |
|
levlam
|
36686c29a6
|
Remove unused Status responses in MessagesDb.
|
2022-11-07 22:19:44 +03:00 |
|
levlam
|
39cee43b9f
|
Fix last_added_message_id.
|
2022-11-07 20:08:25 +03:00 |
|
levlam
|
16d454793c
|
Allow change of replied message to top thread message.
|
2022-11-07 18:19:57 +03:00 |
|
levlam
|
cc9de08be3
|
Improve source for error suppression.
|
2022-11-07 15:52:01 +03:00 |
|
levlam
|
3a9ea05a50
|
Don't try to fail message edits while closing.
|
2022-11-07 13:54:42 +03:00 |
|
levlam
|
36d05295d6
|
Fix warning.
|
2022-11-07 13:54:27 +03:00 |
|
levlam
|
bbe37ee594
|
Update version to 1.8.8.
|
2022-11-05 02:50:48 +03:00 |
|
levlam
|
e4fe474d58
|
Add "forum_member_count_min" option.
|
2022-11-05 02:43:23 +03:00 |
|
levlam
|
bf6a2723ef
|
Various user photo improvements.
|
2022-11-05 02:07:20 +03:00 |
|
levlam
|
76c13a21bc
|
Don't drop photo cache if only minithumbnail was changed.
|
2022-11-05 01:25:19 +03:00 |
|
levlam
|
ce2791fae3
|
Ensure that full photo and is null if unknown.
|
2022-11-05 01:19:56 +03:00 |
|
levlam
|
bbc3f5dace
|
Immediately drop UserFull photo after changing user photo.
|
2022-11-05 00:00:23 +03:00 |
|
levlam
|
585b1f1923
|
Log to ERROR inconsistent chatPhoto and chatPhotoInfo.
|
2022-11-04 20:33:54 +03:00 |
|
levlam
|
32795d50a1
|
Delete photo from *FullInfo before sending update*.
|
2022-11-04 20:31:53 +03:00 |
|
levlam
|
e14d72306f
|
Improve actor of TopicCreated chat log event.
|
2022-11-04 17:52:26 +03:00 |
|
levlam
|
7df7dfcd62
|
Output main chat list position along with all folder identifiers.
|
2022-11-04 17:40:44 +03:00 |
|
levlam
|
ce09421718
|
Update main chat list position after adding or deleting chat lists.
|
2022-11-04 17:26:41 +03:00 |
|
levlam
|
477fe509b5
|
Fix adding of a chat list to beginning.
|
2022-11-04 17:23:43 +03:00 |
|
levlam
|
ff0c205fe9
|
Generate new links for topic messages.
|
2022-11-04 15:56:16 +03:00 |
|
levlam
|
54799d0024
|
Support forum message links in getInternalLinkType.
|
2022-11-04 14:56:25 +03:00 |
|
levlam
|
939d43129c
|
Support message links for forum topics.
|
2022-11-04 14:40:57 +03:00 |
|
levlam
|
8f9275858f
|
Fix warning.
|
2022-11-04 13:20:22 +03:00 |
|
levlam
|
cb003d7f66
|
Fix compilation error.
|
2022-11-04 11:34:11 +03:00 |
|
levlam
|
f702cad110
|
Wait for emoji reactions to be loaded once in getEmojiReaction.
|
2022-11-04 00:59:45 +03:00 |
|
levlam
|
82ab2da9c0
|
Pass promise to StickersManager::get_emoji_reaction.
|
2022-11-03 21:07:07 +03:00 |
|
levlam
|
2e3cc8619e
|
Avoid call to is_deleted_message in delete_dialog_messages if it isn't needed.
|
2022-11-03 20:25:40 +03:00 |
|
levlam
|
136dfd15df
|
Use delete_dialog_messages if appropriate.
|
2022-11-03 19:56:53 +03:00 |
|
levlam
|
f8783063f3
|
Improve parameter name.
|
2022-11-03 19:37:07 +03:00 |
|
levlam
|
e8d1c7deae
|
Remove from_updates parameter from delete_dialog_messages.
|
2022-11-03 19:26:22 +03:00 |
|
levlam
|
df45195cc6
|
Split delete_dialog_messages in two functions.
|
2022-11-03 19:14:35 +03:00 |
|
levlam
|
695fab3323
|
Refactor delete_newer_server_messages_at_the_end.
|
2022-11-03 18:35:40 +03:00 |
|
levlam
|
17bc097d12
|
Destroy deleted messages on another thread.
|
2022-11-03 18:10:51 +03:00 |
|
levlam
|
d8c36c8062
|
Improve handling of too long messages and captions.
|
2022-11-03 16:46:50 +03:00 |
|
levlam
|
579d1dee8d
|
Improve logging.
|
2022-11-03 11:17:43 +03:00 |
|
levlam
|
c6d1940537
|
Support "restriction_add_platforms" app config parameter.
|
2022-11-02 20:38:52 +03:00 |
|
levlam
|
d1afd1c3b7
|
Minor improvements.
|
2022-11-02 19:51:41 +03:00 |
|
levlam
|
5aaa20b4d9
|
Rename forum topic title to topic name.
|
2022-11-02 17:31:25 +03:00 |
|
levlam
|
4cc5ed345d
|
Improve MessateReplyHeader processing.
|
2022-11-02 14:04:43 +03:00 |
|
levlam
|
481387b12d
|
Unpin locally only messages from forum topics.
|
2022-11-02 08:58:13 +03:00 |
|
levlam
|
1c89f505c9
|
Fix solid backgrounds.
|
2022-11-02 07:21:20 +03:00 |
|
levlam
|
69f03d8376
|
Improve message reply header handling.
|
2022-11-02 06:28:35 +03:00 |
|
levlam
|
cfad15eb17
|
Allow bots to get default topic icons.
|
2022-11-01 18:38:07 +03:00 |
|
levlam
|
a8535a78f7
|
Ignore MESSAGE_NOT_MODIFIED error for added reactions.
|
2022-11-01 14:38:49 +03:00 |
|
levlam
|
b4432a27ba
|
Use autogenerated constant instead of raw constructor number.
|
2022-11-01 13:22:56 +03:00 |
|
levlam
|
69d53080bf
|
Split API methods for chats and message threads.
|
2022-10-31 20:03:28 +03:00 |
|
levlam
|
88e2b735b4
|
Do nothing for bots in on_dialog_linked_channel_updated.
|
2022-10-31 19:46:04 +03:00 |
|
levlam
|
342f446631
|
Support unpinning of all messages in a message thread.
|
2022-10-31 19:44:01 +03:00 |
|
levlam
|
1cda8096c5
|
Allow forum topic methods for bots.
|
2022-10-31 11:53:37 +03:00 |
|
levlam
|
f58737a0c9
|
Improve getMessageThread for forums.
|
2022-10-31 11:51:08 +03:00 |
|
levlam
|
fee05c93b5
|
Avoid expected warning.
|
2022-10-31 11:16:56 +03:00 |
|
levlam
|
1345e8e9a4
|
Increase cache version for channels.
|
2022-10-30 12:17:47 +03:00 |
|
levlam
|
36b19416ac
|
Avoid warning for allowed channel useless updates.
|
2022-10-30 12:16:24 +03:00 |
|
levlam
|
43deaf4502
|
Add td_api::deleteForumTopic.
|
2022-10-30 00:35:37 +03:00 |
|
levlam
|
6acdfbdf9e
|
Keep information about dropped MessageReplyInfo.
|
2022-10-29 20:18:49 +03:00 |
|
levlam
|
ba7a1bd895
|
Don't send updateForumTopicInfo for bots just in case.
|
2022-10-29 02:42:51 +03:00 |
|
levlam
|
ff43a82359
|
Improve topic message detection.
|
2022-10-29 02:05:31 +03:00 |
|
levlam
|
6ec8f90367
|
Allow to get thread of failed to send and yet unsent messages.
|
2022-10-28 14:59:23 +03:00 |
|
levlam
|
03d17c32c3
|
Add various fixes.
|
2022-10-28 14:09:40 +03:00 |
|
levlam
|
fec023500c
|
Add comments about ignored top_thread_message_id.
|
2022-10-28 13:16:42 +03:00 |
|
levlam
|
4c7e9ad8a6
|
Add Message.is_topic_message.
|
2022-10-28 12:43: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
|
af73084d1d
|
Check that identifier of the edited topic wasn't changed.
|
2022-10-27 20:03:57 +03:00 |
|
levlam
|
431932eff2
|
Add separate chatEventForumTopicToggleIsClosed.
|
2022-10-27 19:52:26 +03:00 |
|
levlam
|
eb559e3671
|
Add separate messageForumTopicIsClosedToggled.
|
2022-10-27 19:40:37 +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
|
b27047bab7
|
tg_cli: add class MessageThreadId.
|
2022-10-27 14:19:04 +03:00 |
|
levlam
|
da1b385185
|
Add openWebApp.message_thread_id.
|
2022-10-27 12:36:17 +03:00 |
|
levlam
|
e33dac507d
|
Add getForumTopicDefaultIcons.
|
2022-10-27 10:06:13 +03:00 |
|
levlam
|
ac144ce2e4
|
Support whitelisted domains.
|
2022-10-27 00:57:28 +03:00 |
|
levlam
|
90ede43945
|
Support forum topic creation on behalf of channels.
|
2022-10-26 18:48:50 +03:00 |
|
levlam
|
8f0d216601
|
Don't update channel pts if failed to process updateEditChannelMessage.
|
2022-10-26 14:52:51 +03:00 |
|
levlam
|
201c4c3a2e
|
Improve error logging.
|
2022-10-26 13:58:37 +03:00 |
|
levlam
|
e1bc6a3394
|
Disallow deletion of TopicCreate service messages.
|
2022-10-26 13:58:13 +03:00 |
|
levlam
|
ce59ab321f
|
tg_cli: fix misprint.
|
2022-10-26 13:57:16 +03:00 |
|
levlam
|
0bf3e7f0e6
|
Treat usernames of length 4 as valid.
|
2022-10-25 19:25:15 +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 |
|
levlam
|
4ee2a1c066
|
Add premiumFeatureForumTopicIcon.
|
2022-10-25 12:46:07 +03:00 |
|
levlam
|
f9acc95d3d
|
Disallow message history hiding in forums.
|
2022-10-25 12:13:34 +03:00 |
|
levlam
|
9b304557c2
|
Add toggleSupergroupIsForum.
|
2022-10-25 11:52:45 +03:00 |
|
levlam
|
9edfdcfd1e
|
Add class ForumTopic.
|
2022-10-24 21:10:12 +03:00 |
|
levlam
|
cacdedc8d7
|
Check message thread identifier with can_use_top_thread_message_id while changing message draft.
|
2022-10-24 18:23:08 +03:00 |
|
levlam
|
e96d9f9d68
|
Add ContactsManager::is_forum_channel.
|
2022-10-24 18:22:43 +03:00 |
|
levlam
|
1fbd94cc81
|
Use InvokeAfter for requests changing usernames of the current user.
|
2022-10-24 17:46:27 +03:00 |
|
levlam
|
956d816721
|
Increase MESSAGE_UNSUPPORTED version.
|
2022-10-24 17:38:42 +03:00 |
|
levlam
|
303ba8cd23
|
Use InvokeAfter for requests changing channels.
|
2022-10-24 17:36:31 +03:00 |
|
levlam
|
75739dd0ea
|
Allow to pass message thread identifier to readAllChatReactions.
|
2022-10-24 17:04:05 +03:00 |
|
levlam
|
df561b7822
|
Allow to pass message thread identifier to readAllChatMentions.
|
2022-10-24 16:57:26 +03:00 |
|
levlam
|
543863b572
|
Username fixes.
|
2022-10-24 13:34:20 +03:00 |
|
levlam
|
edc660ba59
|
Allow to get unread mentions and reactions in a message thread.
|
2022-10-23 22:16:20 +03:00 |
|
levlam
|
6a16492266
|
Support can_manage_topics administrator right and chat permission.
|
2022-10-23 13:20:53 +03:00 |
|
levlam
|
62bcac0198
|
Support forwarding of messages to message threads.
|
2022-10-21 18:02:39 +03:00 |
|
levlam
|
0497c09047
|
Drop sponsored message cache when Premium state is changed.
|
2022-10-21 15:51:32 +03:00 |
|
levlam
|
ec1310a0e7
|
Support multiple sponsored messages.
|
2022-10-21 15:04:56 +03:00 |
|
levlam
|
e6d539097e
|
Support sponsored messages with chat photo.
|
2022-10-21 14:26:35 +03:00 |
|
levlam
|
0d05683771
|
Support waveform for video notes.
|
2022-10-20 23:23:40 +03:00 |
|
levlam
|
14b80ecd6f
|
Support speech recognition for video notes.
|
2022-10-20 21:31:00 +03:00 |
|
levlam
|
c23dceddf3
|
Add video note flags.
|
2022-10-20 20:35:00 +03:00 |
|
levlam
|
acf5b55792
|
Inline handling of transcribed audio update.
|
2022-10-20 20:03:49 +03:00 |
|
levlam
|
c9f8390bd5
|
Move TranscribeAudioQuery to TranscriptionInfo.cpp.
|
2022-10-20 19:52:20 +03:00 |
|
levlam
|
49c993b674
|
Make VideoNotesManager an actor.
|
2022-10-20 18:53:12 +03:00 |
|
levlam
|
46562f56d0
|
Explicitly subscribe to updateTranscribedAudio updates.
|
2022-10-20 17:52:32 +03:00 |
|
levlam
|
e079b684f0
|
Various improvements.
|
2022-10-20 13:28:07 +03:00 |
|
levlam
|
bd78d57e56
|
Move RateTranscribedAudioQuery to TranscriptionInfo.cpp.
|
2022-10-19 21:22:57 +03:00 |
|
levlam
|
5fe3a7ca94
|
Add class TranscriptionInfo.
|
2022-10-19 20:43:30 +03:00 |
|