levlam
|
f6168879af
|
Explicitly fail reload attachment menu bot queries.
|
2023-01-16 15:16:36 +03:00 |
|
levlam
|
14fbdf5928
|
Forcely load chosen chat from database.
|
2023-01-13 17:47:08 +03:00 |
|
levlam
|
97cc57a25c
|
Add td_api::sendChosenChat.
|
2023-01-13 17:16:16 +03:00 |
|
levlam
|
0b54e28467
|
Add td_api::sendChosenUser.
|
2023-01-13 17:03:35 +03:00 |
|
levlam
|
4922b0c776
|
Add messageUserChosen.
|
2023-01-11 20:03:43 +03:00 |
|
levlam
|
9a2dd58b6f
|
Implement RequestedDialogType.
|
2023-01-11 19:52:35 +03:00 |
|
levlam
|
1afcc3bcfd
|
Add separate keyboardButtonTypeRequestUser.
|
2023-01-11 18:31:49 +03:00 |
|
levlam
|
83403d9836
|
Add keyboardButtonTypeRequestChat.
|
2023-01-11 16:54:46 +03:00 |
|
levlam
|
06a432a373
|
Add td_api::messageChatChosen.
|
2023-01-10 16:20:30 +03:00 |
|
levlam
|
6f3d7ac308
|
Add td_api::getDefaultProfilePhotoCustomEmojiStickers.
|
2023-01-10 15:40:52 +03:00 |
|
levlam
|
84077d72dc
|
Add td_api::getDefaultChatPhotoCustomEmojiStickers.
|
2023-01-10 15:23:07 +03:00 |
|
levlam
|
f0d0ac6b78
|
Allow to create forum supergroups.
|
2023-01-09 21:43:51 +03:00 |
|
levlam
|
ad8ecec67c
|
Support separate chat permissions for different media types.
|
2023-01-06 14:16:34 +03:00 |
|
levlam
|
69760f891a
|
Make DialogParticipant flags 64-bit.
|
2023-01-06 13:43:46 +03:00 |
|
levlam
|
f638e83e34
|
Support authentication_token after authorization.
|
2023-01-06 13:00:21 +03:00 |
|
levlam
|
2cdb35d2fb
|
Support auth.sentCodeSuccess.
|
2023-01-06 12:53:24 +03:00 |
|
levlam
|
050a11ece7
|
Update layer to 152.
|
2023-01-06 12:42:16 +03:00 |
|
levlam
|
758ced943e
|
Don't use Time::now_cached in Session.
|
2023-01-19 12:27:23 +03:00 |
|
levlam
|
1588f0d687
|
Return after call to on_error.
|
2023-01-18 17:10:08 +03:00 |
|
levlam
|
d912fd1431
|
Improve can_send_messages documentation.
|
2023-01-17 16:26:20 +03:00 |
|
levlam
|
42af57ee05
|
Support General topic in getMessageThread.
|
2023-01-17 15:34:31 +03:00 |
|
levlam
|
754ff0fc53
|
Improve handling of internal options with updates.
|
2023-01-17 14:24:18 +03:00 |
|
levlam
|
02a4851e12
|
Fix set_option_empty.
|
2023-01-17 13:55:51 +03:00 |
|
levlam
|
4408af6643
|
Improve "id" variable names in FileManager.
|
2023-01-16 13:30:03 +03:00 |
|
levlam
|
ad8f0c4146
|
Improve some spelling.
|
2023-01-16 12:59:43 +03:00 |
|
levlam
|
c508e54a49
|
Improve message_id variable names in Session.
|
2023-01-15 23:27:58 +03:00 |
|
levlam
|
8d8f72a17a
|
Fix some lower-case spelling.
|
2023-01-15 12:00:26 +03:00 |
|
levlam
|
052d5e120b
|
Improve some mixed-case spelling.
|
2023-01-15 11:25:54 +03:00 |
|
levlam
|
45ff12ca49
|
Improve PTS/QTS spelling.
|
2023-01-15 11:05:53 +03:00 |
|
levlam
|
fb935a8de2
|
Reduce ping timeout in primary non-main-DC connections.
|
2023-01-15 00:25:22 +03:00 |
|
levlam
|
973df16c88
|
Improve logging.
|
2023-01-14 23:08:50 +03:00 |
|
levlam
|
1a732db19e
|
Explicitly fail some promises on closing.
|
2023-01-14 22:01:35 +03:00 |
|
levlam
|
fb79543d41
|
Combine getChannel queries with the same channel_id.
|
2023-01-13 15:42:15 +03:00 |
|
levlam
|
d3690e1502
|
Merge GetChat queries.
|
2023-01-13 14:45:53 +03:00 |
|
levlam
|
13e8094aaa
|
Reload contacts if failed to load the from database.
|
2023-01-13 14:38:36 +03:00 |
|
levlam
|
eed410ce0a
|
Merge getUser queries.
|
2023-01-13 14:29:47 +03:00 |
|
levlam
|
b1883d357c
|
Add QueryMerger.
|
2023-01-13 13:09:38 +03:00 |
|
levlam
|
75bdc6292b
|
Remove some getAuthorizationState usages.
|
2023-01-12 22:25:47 +03:00 |
|
levlam
|
3b6874818a
|
Always wait for mailbox.
|
2023-01-11 01:08:22 +03:00 |
|
levlam
|
d7ea7dfea7
|
Remove never used AbridgedTransport.
|
2023-01-10 22:03:17 +03:00 |
|
levlam
|
eac1f0a096
|
Improve config recovery source order.
|
2023-01-10 20:03:05 +03:00 |
|
levlam
|
eeb73d4eb2
|
Optimize parsing of argument value in HTML tags.
|
2023-01-09 17:14:31 +03:00 |
|
levlam
|
137fd3beb9
|
Replace text in-place in parse_html.
|
2023-01-09 15:12:14 +03:00 |
|
levlam
|
ac0de06b5f
|
Ensure that PTS/QTS updates are null after processing.
|
2023-01-09 13:27:28 +03:00 |
|
levlam
|
fd53a81603
|
Replace text in-place in parse_markdown.
|
2023-01-09 13:11:45 +03:00 |
|
levlam
|
34226ac4ad
|
Recheck UTF-8 in parse_html only if needed.
|
2023-01-09 12:59:14 +03:00 |
|
levlam
|
0fb64f97a4
|
Use StringBuilder to create new string in parse_html.
|
2023-01-09 12:43:15 +03:00 |
|
levlam
|
2ba41ac279
|
Explicitly use std::move to return entities.
|
2023-01-09 10:46:49 +03:00 |
|
levlam
|
4dc554bd08
|
Avoid some minor string copying in message entity parsing.
|
2023-01-09 00:48:45 +03:00 |
|
levlam
|
1c037ff0e0
|
Don't send more than 100 user entities to server.
|
2023-01-08 23:07:57 +03:00 |
|
levlam
|
d0500988ac
|
Remove checks that status.is_error in ResultHandler::on_error.
|
2023-01-07 23:36:55 +03:00 |
|
levlam
|
aa8c5ec1c9
|
Improve setAuthenticationPhoneNumber and requestQrCodeAuthentication documentation.
|
2023-01-06 14:19:44 +03:00 |
|
levlam
|
e3951e524c
|
Fix warning.
|
2023-01-04 17:49:53 +03:00 |
|
levlam
|
3573990d52
|
Support symbolic links in walk_path.
|
2023-01-04 17:25:30 +03:00 |
|
levlam
|
4a5b2ac722
|
Skip returned by server messages, not matching the filter.
|
2023-01-04 13:18:38 +03:00 |
|
levlam
|
887ddbd88e
|
Improve warnings about changed MessageForwardInfo.
|
2023-01-04 10:49:53 +03:00 |
|
levlam
|
9834594b16
|
Don't send parallel ping-server requests.
|
2023-01-03 15:32:10 +03:00 |
|
levlam
|
62040c8d8e
|
Fix check for use_pfs.
|
2023-01-03 15:06:12 +03:00 |
|
levlam
|
c06ae49db4
|
Log if instance wasn't launched for more than 24 hours.
|
2023-01-03 13:54:49 +03:00 |
|
levlam
|
ab735519a6
|
Log last used time for auth key.
|
2023-01-03 12:58:19 +03:00 |
|
levlam
|
5711c6c8eb
|
Add some emptiness checks.
|
2023-01-02 20:12:15 +03:00 |
|
levlam
|
29c264df59
|
Log number of unprocessed updateMessageID while closing.
|
2023-01-02 19:07:48 +03:00 |
|
levlam
|
686fcc1933
|
Log source for failed to add awaited messages.
|
2023-01-02 18:05:35 +03:00 |
|
levlam
|
12561229fe
|
Improve logging in on_get_channel_difference.
|
2023-01-02 17:36:38 +03:00 |
|
levlam
|
0f05e72fa3
|
Silently ignore PERSISTENT_TIMESTAMP_INVALID errors for channels.getDifference.
|
2023-01-02 17:06:26 +03:00 |
|
levlam
|
903d994799
|
Improve punctuation.
|
2023-01-02 15:38:04 +03:00 |
|
levlam
|
4258030967
|
Drop cached attachment menu bots when database is deleted.
|
2023-01-02 13:51:04 +03:00 |
|
levlam
|
c8e0c2fedc
|
Improve internalLinkTypePassportDataRequest documentation.
|
2023-01-02 13:10:12 +03:00 |
|
levlam
|
cf1984844b
|
Update copyright year.
|
2023-01-01 00:28:08 +03:00 |
|
levlam
|
5ee9c7365b
|
Remove "forum_member_count_min" option.
|
2022-12-31 00:17:18 +03:00 |
|
levlam
|
b0bfdd2b35
|
Improve setTdlibParameters errors.
|
2022-12-30 23:13:40 +03:00 |
|
levlam
|
691941ea10
|
Revert invalid 439e0863f3 .
|
2022-12-30 22:24:31 +03:00 |
|
levlam
|
93c42f6d7c
|
Update version to 1.8.10.
|
2022-12-30 12:59:58 +03:00 |
|
levlam
|
6a3dac6730
|
Split call to destroy_on_scheduler in two to avoid variable tracking size limit.
|
2022-12-30 11:55:01 +03:00 |
|
levlam
|
9ab6822e19
|
Fix warning.
|
2022-12-30 04:31:01 +03:00 |
|
levlam
|
24a67cb67c
|
Send typings to General topic by default in forums.
|
2022-12-30 04:00:52 +03:00 |
|
levlam
|
e4c8eb376e
|
Fix spoiler in on_upload_message_media_success.
|
2022-12-30 02:39:31 +03:00 |
|
levlam
|
2a0f211dfe
|
Improve field name.
|
2022-12-30 01:36:06 +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
|
b203030e5c
|
Add "pinned_forum_topic_count_max" option.
|
2022-12-29 22:26:09 +03:00 |
|
levlam
|
86f0de23f5
|
Improve message-TTL-related log messages.
|
2022-12-28 21:59:41 +03:00 |
|
levlam
|
90b6403e86
|
Improve message_auto_delete_time field and class names.
|
2022-12-28 21:46:16 +03:00 |
|
levlam
|
a77c7d566c
|
Avoid duplicate 't' and 'i' photo sizes.
|
2022-12-28 20:39:24 +03:00 |
|
levlam
|
6aa4558850
|
Improve return value of searchCallMessages.
|
2022-12-28 19:17:25 +03:00 |
|
levlam
|
9663dc98b5
|
Improve return type of searchChatMessages.
|
2022-12-28 18:42:11 +03:00 |
|
levlam
|
630101358b
|
Add internalLinkTypeEditProfileSettings.
|
2022-12-28 18:08:00 +03:00 |
|
levlam
|
1a3789e88d
|
Add internalLinkTypeDefaultMessageAutoDeleteTimerSettings.
|
2022-12-28 17:58:17 +03:00 |
|
levlam
|
7e1d550870
|
Fix misprints.
|
2022-12-28 17:25:51 +03:00 |
|
levlam
|
36fc74ea7c
|
Rename message.ttl to self_destruct_timer.
|
2022-12-28 17:09:39 +03:00 |
|
levlam
|
1ff40ce132
|
Rename message TTL to auto-delete timer when appropriate.
|
2022-12-28 17:02:41 +03:00 |
|
levlam
|
a19f55b116
|
Rename is_aggressive_anti_spam_enabled to has_aggressive_anti_spam_enabled.
|
2022-12-27 19:14:37 +03:00 |
|
levlam
|
bb9108ca32
|
Add internalLinkTypeStickerSet.expect_custom_emoji.
|
2022-12-27 18:17:49 +03:00 |
|
levlam
|
14989932b7
|
Improve set_user_profile_photo.
|
2022-12-27 16:00:43 +03:00 |
|
levlam
|
17990719ee
|
Improve documentation.
|
2022-12-27 15:33:49 +03:00 |
|
levlam
|
c05a6d9631
|
Improve class name.
|
2022-12-26 23:33:01 +03:00 |
|
levlam
|
6dcc260f2a
|
Ignore photo returned by DeleteContactProfilePhotoQuery.
|
2022-12-26 22:24:08 +03:00 |
|
levlam
|
206c8275f9
|
Drop UserFull photos, only if they are unknown.
|
2022-12-26 22:11:14 +03:00 |
|
levlam
|
3bb9e06f62
|
Use cached UserFull in ContactsManager::delete_profile_photo.
|
2022-12-26 22:04:06 +03:00 |
|
levlam
|
27fcd805e1
|
Remove unneeded calls to update_user/update_user_full.
|
2022-12-26 21:54:42 +03:00 |
|
levlam
|
d3c070e95e
|
Drop all UserFull photos when profile photo is changed.
|
2022-12-26 21:51:31 +03:00 |
|
levlam
|
74eb5d6ae4
|
Always send updates in ContactsManager::delete_my_profile_photo_from_cache.
|
2022-12-26 21:40:04 +03:00 |
|
levlam
|
604b98696c
|
Fix call to drop_user_photos.
|
2022-12-26 21:19:51 +03:00 |
|
levlam
|
36614ae398
|
Apply empty personal and public photos.
|
2022-12-26 21:15:26 +03:00 |
|
levlam
|
91cbf1b04c
|
Improve suggestUserProfilePhoto documentation.
|
2022-12-26 20:35:14 +03:00 |
|
levlam
|
5c89fe749a
|
Separately create admin log message ogjects.
|
2022-12-26 20:30:44 +03:00 |
|
levlam
|
dcd1e60910
|
Add separate message.auto_delete_in.
|
2022-12-26 17:31:04 +03:00 |
|
levlam
|
0a0387e8f5
|
Improve getForumTopicLink.
|
2022-12-26 15:11:55 +03:00 |
|
levlam
|
a4fc556e5e
|
Minor improvements.
|
2022-12-26 14:58:31 +03:00 |
|
levlam
|
eff7675749
|
Support spoilers for messageAnimation.
|
2022-12-26 14:20:48 +03:00 |
|
levlam
|
92e37fae46
|
Improve documentation.
|
2022-12-26 13:53:51 +03:00 |
|
levlam
|
8267462041
|
Improve method name.
|
2022-12-26 13:49:00 +03:00 |
|
levlam
|
996efb73fe
|
Improve handling of telegram_api::updateUser.
|
2022-12-26 13:23:05 +03:00 |
|
levlam
|
439e0863f3
|
Update user's username from min-user.
|
2022-12-26 13:15:52 +03:00 |
|
levlam
|
e16f442f55
|
Fix setting of public photo.
|
2022-12-26 00:38:16 +03:00 |
|
levlam
|
fa06258486
|
Returm server messages for General topic in getMessageThreadHistory.
|
2022-12-25 23:10:28 +03:00 |
|
levlam
|
f694687e47
|
Improve next_offset in getMessagePublicForwards.
|
2022-12-25 22:59:57 +03:00 |
|
levlam
|
fc2ab0a7ab
|
Use next_rate in searchMessages.
|
2022-12-25 22:43:37 +03:00 |
|
levlam
|
3080f64273
|
Simplify searchMessages usage.
|
2022-12-25 22:28:05 +03:00 |
|
levlam
|
9768637010
|
Add pushMessageContentSuggestProfilePhoto.
|
2022-12-25 21:29:56 +03:00 |
|
levlam
|
ea30ec106c
|
Improve userFullInfo photos documentation.
|
2022-12-24 09:05:49 +03:00 |
|
levlam
|
21e2cff6b4
|
Improve getUserProfilePhotos documentation.
|
2022-12-24 08:59:08 +03:00 |
|
levlam
|
bc730f7d0f
|
Improve photo field order in userFullInfo.
|
2022-12-24 08:54:17 +03:00 |
|
levlam
|
1416cb13b2
|
tg_cli: randomize sendMessageAlbum testing.
|
2022-12-23 19:11:52 +03:00 |
|
levlam
|
b0446523eb
|
Support sending of media with spoiler.
|
2022-12-23 18:27:38 +03:00 |
|
levlam
|
3342dcef23
|
Improve delete_my_profile_photo_from_cache.
|
2022-12-23 18:05:41 +03:00 |
|
levlam
|
7a865961c5
|
Add source to drop_user_full_photos.
|
2022-12-23 17:16:02 +03:00 |
|
levlam
|
38fb9a2413
|
Guarantee that all UserFull photos are known or none.
|
2022-12-23 17:07:53 +03:00 |
|
levlam
|
5e44b04cc2
|
Always reload full user after changing a photo.
|
2022-12-23 16:32:14 +03:00 |
|
levlam
|
9d192f5674
|
Remove unused ContactsManager::on_update_user_photo.
|
2022-12-23 16:09:45 +03:00 |
|
levlam
|
168d921533
|
Keep personal and public photos after setting previous profile photo.
|
2022-12-23 15:36:40 +03:00 |
|
levlam
|
63745c9ace
|
Preload UserFull before deletion of profile photos.
|
2022-12-23 15:11:00 +03:00 |
|
levlam
|
f3d4492086
|
Repair personal and public photo with getUserFull.
|
2022-12-23 14:52:12 +03:00 |
|
levlam
|
c467910ad6
|
Fix photo.id usages.
|
2022-12-23 14:30:30 +03:00 |
|
levlam
|
3f55703211
|
Register suggested profile photos.
|
2022-12-23 13:19:56 +03:00 |
|
levlam
|
f28fe46746
|
Don't update cache when suggesting a profile photo.
|
2022-12-22 22:53:40 +03:00 |
|
levlam
|
5b24e30cf5
|
Check userProfilePhoto.photo_id.
|
2022-12-22 22:41:11 +03:00 |
|
levlam
|
a80794ffeb
|
Explicitly call drop_user_full_photos.
|
2022-12-22 22:38:30 +03:00 |
|
levlam
|
252df2ff43
|
Drop only needed full profile photos.
|
2022-12-22 22:23:52 +03:00 |
|
levlam
|
044b1ef6af
|
Avoid duplicate updateChatPhoto updates.
|
2022-12-22 21:41:43 +03:00 |
|
levlam
|
f6de50e19f
|
Fix some spelling.
|
2022-12-22 17:04:18 +03:00 |
|
levlam
|
f40a6ff477
|
Add StickerTypeFullInfo.
|
2022-12-21 23:25:31 +03:00 |
|
levlam
|
14dd89e804
|
Disable sending of media with spoilers for now.
|
2022-12-21 19:14:32 +03:00 |
|
levlam
|
d810a73a4f
|
Hide can_get_message_thread for non-root messages.
|
2022-12-21 19:10:36 +03:00 |
|
levlam
|
d4b7ebdd1e
|
tg_cli: fix call to canPurchasePremium.
|
2022-12-21 18:06:08 +03:00 |
|
levlam
|
b8f4df741b
|
Remove PhotoWithSpoiler and VideoWithSpoiler file types.
|
2022-12-21 17:37:16 +03:00 |
|
levlam
|
816c7d312a
|
Combine sticker set reload queries.
|
2022-12-21 17:07:21 +03:00 |
|
levlam
|
0d4c918fea
|
Reload emoji sticker sets once.
|
2022-12-21 15:18:42 +03:00 |
|
levlam
|
6516210321
|
Remove "themed_emoji_statuses_sticker_set_id" option.
|
2022-12-21 12:26:29 +03:00 |
|
levlam
|
94e678dbc8
|
Add has_spoiler flag to messagePhoto and messageVideo.
|
2022-12-20 18:06:21 +03:00 |
|
levlam
|
6cb9371061
|
Add toggleSupergroupHasHiddenMembers.
|
2022-12-20 15:51:37 +03:00 |
|
levlam
|
8bfc68b3f8
|
Improve ContactsManager::get_channel_effective_has_hidden_participants.
|
2022-12-20 15:12:36 +03:00 |
|
levlam
|
299dc26be6
|
Add phoneNumberInfo.is_anonymous.
|
2022-12-20 15:01:39 +03:00 |
|
levlam
|
164848cb8f
|
Allow to add emoji stickers to animations, photos and videos.
|
2022-12-20 14:04:22 +03:00 |
|
levlam
|
01c1bcc149
|
Support stickerSetNoCovered.
|
2022-12-20 13:31:59 +03:00 |
|
levlam
|
d611b21f17
|
Increase MessageUnsupported version to load photo and video with spoiler.
|
2022-12-20 13:05:28 +03:00 |
|
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
|
5ed064b810
|
Split some long class/field descriptions.
|
2022-12-14 17:35:31 +03:00 |
|
levlam
|
1edde0e808
|
Split multiline documentation by different lines.
|
2022-12-14 16:30:37 +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
|
b714a53084
|
Improve authorization states documentation.
|
2022-12-19 17:12:48 +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
|
1f129ecade
|
Simplify update logging.
|
2022-12-11 01:20:13 +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
|
6e2c2d9e03
|
Clarify meaning of chatMember.joined_chat_date.
|
2022-12-05 00:04:03 +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
|
13fc5a334f
|
Improve documentation.
|
2022-12-03 11:27:55 +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
|
91a7399c27
|
Improve message TTL documentation.
|
2022-11-29 21:07:27 +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
|
6ec127587e
|
Improve FullInfo.photo documentation.
|
2022-11-04 19:29:04 +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
|
b021af5185
|
Improve chatActionBar documentation.
|
2022-10-30 23:40:58 +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
|
4496c53313
|
Document searchChatMessages behavior for unsupported search criteria combinations.
|
2022-10-24 16:00:50 +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 |
|
levlam
|
02ed5e4f1e
|
Register video note messages.
|
2022-10-19 18:30:25 +03:00 |
|
levlam
|
ea12905dd2
|
Mark reactions as loaded after saving them to database just in case.
|
2022-10-19 18:06:33 +03:00 |
|
levlam
|
c941f488a0
|
Proxy speech recognition methods through MessagesManager.
|
2022-10-19 17:56:18 +03:00 |
|
levlam
|
5e0103c442
|
Add messageForumTopicEdited.
|
2022-10-18 22:16:03 +03:00 |
|
levlam
|
739f6bd2a1
|
Fix Usernames store.
|
2022-10-18 21:53:18 +03:00 |
|
levlam
|
56e49bf53d
|
Add class ForumTopicEditedData.
|
2022-10-18 21:44:52 +03:00 |
|
levlam
|
d68836f482
|
Add messageForumTopicCreated.
|
2022-10-18 16:08:53 +03:00 |
|
levlam
|
be4b1bad46
|
Add class ForumTopicIcon.
|
2022-10-18 15:04:52 +03:00 |
|
levlam
|
177b5f1e89
|
Pass top_thread_message_id to server methods for message sending.
|
2022-10-18 14:23:46 +03:00 |
|
levlam
|
24a3b4f86a
|
Add supergroup.is_forum flag.
|
2022-10-18 14:23:09 +03:00 |
|
levlam
|
bf6b804d7a
|
Keep top_thread_message_id for yet unsent scheduled messages.
|
2022-10-18 13:05:05 +03:00 |
|
levlam
|
6cff780af9
|
Add chatEventLogFilters.forum_changes.
|
2022-10-17 20:33:39 +03:00 |
|
levlam
|
87b3d9415c
|
Add forum-related chat actions.
|
2022-10-17 20:30:34 +03:00 |
|
levlam
|
5420c3526c
|
Add td_api::forumTopicInfo.
|
2022-10-17 20:07:06 +03:00 |
|
levlam
|
41262d4629
|
Immediately succeed reorder usernames queries if they can't change order.
|
2022-10-17 17:29:13 +03:00 |
|
levlam
|
4067ba66d3
|
Improve backward compatibility.
|
2022-10-17 15:44:30 +03:00 |
|
levlam
|
e42e224154
|
Add disableAllSupergroupUsernames.
|
2022-10-17 14:58:47 +03:00 |
|
levlam
|
85b0c0060e
|
Add toggleUsernameIsActive/toggleSupergroupUsernameIsActive.
|
2022-10-17 14:04:22 +03:00 |
|
levlam
|
e8d7f23e2c
|
Restore support for ContactsManager::on_update_channel_editable_username.
|
2022-10-17 13:12:02 +03:00 |
|
levlam
|
2d8d3716f9
|
Add td_api::chatEventActiveUsernamesChanged.
|
2022-10-14 18:02:03 +03:00 |
|
levlam
|
9b0cea912a
|
Support usernames without editable username.
|
2022-10-14 17:45:58 +03:00 |
|
levlam
|
b3ab397bcd
|
Support reordering of active usernames.
|
2022-10-14 15:32:54 +03:00 |
|
levlam
|
897032e0fd
|
Add support for multiple usernames.
|
2022-10-12 21:04:18 +03:00 |
|
levlam
|
87174e5e81
|
Update layer to 148.
|
2022-10-07 18:04:00 +03:00 |
|
levlam
|
76f5f3316f
|
Improve order of available message senders.
|
2022-10-29 12:31:06 +03:00 |
|
levlam
|
6319862890
|
Improve some emplace_back/push_back usage.
|
2022-10-27 12:53:53 +03:00 |
|
levlam
|
92f8093486
|
Improve download/upload callback handling.
|
2022-10-26 12:29:12 +03:00 |
|
levlam
|
88ffdb62e7
|
Split NotificationSettings.h.
|
2022-10-25 01:22:04 +03:00 |
|
levlam
|
ac76e8604c
|
Improve TdDb::check_parameters.
|
2022-10-24 13:37:34 +03:00 |
|
levlam
|
a885f3bc63
|
Simplify checks in AdministratorRights.
|
2022-10-23 12:15:09 +03:00 |
|
levlam
|
85e64fc3b9
|
Fix cleaning of being loaded imported contacts.
|
2022-10-22 01:04:29 +03:00 |
|
levlam
|
d7cf3292e9
|
Improve logging.
|
2022-10-22 00:48:34 +03:00 |
|
levlam
|
b788518f22
|
Add debug for get_binlog_pmc.
|
2022-10-22 00:38:04 +03:00 |
|
levlam
|
72b258e78e
|
Optimize the very first key generation.
|
2022-10-22 00:00:32 +03:00 |
|
levlam
|
42244e0a77
|
Use suggested_video_note_length as default size for video notes.
|
2022-10-21 00:10:43 +03:00 |
|
levlam
|
a13afd0a93
|
Use std::move to update document fields.
|
2022-10-20 01:16:24 +03:00 |
|
levlam
|
807d18cefc
|
Improve documentation.
|
2022-10-19 13:14:16 +03:00 |
|
levlam
|
d9fecc6cb0
|
Explicitly set promise in on_update_message_reactions.
|
2022-10-19 06:07:30 +03:00 |
|
levlam
|
eecec61fa9
|
Move get_background_url to LinkManager.
|
2022-10-18 22:52:47 +03:00 |
|
levlam
|
a54ddc8830
|
Call MessagesManager::on_dialog_bots_updated even the list of bots wasn't changed.
|
2022-10-17 17:40:59 +03:00 |
|
levlam
|
9ceab403c6
|
Send updateMessageSendFailed when closing for being uploaded messages.
|
2022-10-16 14:39:26 +03:00 |
|
levlam
|
de5379f00b
|
Add more checks for close_status.
|
2022-10-13 14:51:00 +03:00 |
|
levlam
|
c1a3fa633f
|
Move is_valid_username to misc.h.
|
2022-10-12 16:09:42 +03:00 |
|
levlam
|
ee28a37906
|
Minor improvements.
|
2022-10-12 15:59:58 +03:00 |
|
levlam
|
0b29caaac1
|
tg_cli: unify function names.
|
2022-10-12 15:03:47 +03:00 |
|
levlam
|
3c257c2258
|
Fix CallActor closing.
|
2022-10-12 01:55:32 +03:00 |
|
levlam
|
2dd1185eae
|
tg_cli: add last_message_date to ghf.
|
2022-10-11 23:36:23 +03:00 |
|
levlam
|
9b16702674
|
Add ContactsManager::get_dialog_search_text.
|
2022-10-11 20:35:35 +03:00 |
|
levlam
|
62403aac3c
|
Simplify username caching.
|
2022-10-11 15:13:06 +03:00 |
|
levlam
|
102c40cc3b
|
Asynchronously check local location for downloaded files.
|
2022-10-10 16:24:32 +03:00 |
|
levlam
|
188a7b7c3e
|
Pass promise to FileManager::download.
|
2022-10-10 15:40:39 +03:00 |
|
levlam
|
3648df4e0d
|
Asynchronously check location for files loaded from database.
|
2022-10-10 14:51:24 +03:00 |
|
levlam
|
28c3c7fb03
|
Add FileManager::check_local_location_async.
|
2022-10-10 14:19:35 +03:00 |
|
levlam
|
f26f05a074
|
Move check_local_location to FileLoaderUtils.
|
2022-10-10 12:58:48 +03:00 |
|
levlam
|
6786276481
|
Improve FileManager::check_local_location.
|
2022-10-10 12:45:20 +03:00 |
|
levlam
|
af3c33e481
|
Simplify local location check in FileManager::download.
|
2022-10-10 12:11:40 +03:00 |
|
levlam
|
f1146d05bd
|
Make FileManager::check_local_location static.
|
2022-10-09 22:15:46 +03:00 |
|
levlam
|
f86f8e5a85
|
Don't check local file size for downloaded files.
|
2022-10-09 21:20:57 +03:00 |
|
levlam
|
683627a350
|
Make all operator bool const and nonexcept.
|
2022-10-09 19:30:18 +03:00 |
|
levlam
|
445cd4118d
|
Improve 'always be' spelling.
|
2022-10-09 19:18:33 +03:00 |
|
levlam
|
7f5f6e41ad
|
Minor improvements.
|
2022-10-09 19:00:14 +03:00 |
|
levlam
|
5a29dcd337
|
Avoid redundant usages of Status::error().
|
2022-10-09 14:15:54 +03:00 |
|
levlam
|
7e1555531c
|
Fix warning.
|
2022-10-08 21:56:51 +03:00 |
|
levlam
|
829201278f
|
Fix call discarding.
|
2022-10-08 21:00:15 +03:00 |
|
levlam
|
a7a17b34b3
|
Update version to 1.8.7.
|
2022-10-07 01:49:49 +03:00 |
|
levlam
|
d4bf6f9239
|
Send updateMessageSendFailed about being sent messages on closing if there is no message database.
|
2022-10-07 01:38:39 +03:00 |
|
levlam
|
b1f2e553cb
|
Explicitly fail some promises stored in MessagesManager.
|
2022-10-07 01:28:18 +03:00 |
|
levlam
|
7115f19332
|
Suppress expected warnings.
|
2022-10-06 18:31:01 +03:00 |
|
levlam
|
09cffa693a
|
Improve source for telegram_api::updates.
|
2022-10-06 18:21:25 +03:00 |
|
levlam
|
0a42eda1ff
|
Remove legacy "default_reaction" options.
|
2022-10-06 18:11:02 +03:00 |
|
levlam
|
b83c04be60
|
Don't send fake optionValueEmpty while logging out.
|
2022-10-06 17:59:19 +03:00 |
|
levlam
|
c91e8d6ce2
|
Improve logging.
|
2022-10-06 16:29:35 +03:00 |
|
levlam
|
b03f869ee9
|
Fix duplicate file source creation for web pages.
|
2022-10-06 15:32:50 +03:00 |
|
levlam
|
78314b2da9
|
Immediately ignore duplicate and invalid file sources loaded from database.
|
2022-10-06 15:15:45 +03:00 |
|
levlam
|
a235628428
|
Avoid creation of multiple FileSourceId for the same URL.
|
2022-10-06 15:09:00 +03:00 |
|
levlam
|
94a8cd0046
|
Fix checks for *Full initialization to avoid file resaving.
|
2022-10-06 14:10:33 +03:00 |
|
levlam
|
1e6a6c28af
|
Synchronously load file in FileManager::add_file_source to avoid resaving it to the database.
|
2022-10-06 13:48:52 +03:00 |
|
levlam
|
7ff1ec04b1
|
Improve log and error messages.
|
2022-10-05 21:29:05 +03:00 |
|
levlam
|
59acbf6d15
|
Add warnings about big file nodes.
|
2022-10-05 16:32:16 +03:00 |
|
levlam
|
f0b4824924
|
Allow to start OptionManager on any scheduler.
|
2022-10-04 21:08:07 +03:00 |
|
levlam
|
b9c5518c91
|
ClientActor: create Td on desired thread.
|
2022-10-04 19:02:31 +03:00 |
|
levlam
|
8d1ee490ad
|
Update response of getChatAvailableMessageSenders.
|
2022-10-04 17:53:56 +03:00 |
|
levlam
|
bbd97ec59e
|
Make TdApi default constructor private.
|
2022-10-04 15:19:46 +03:00 |
|
levlam
|
af5ddbfa15
|
Use WaitFreeHashMap for resolved_usernames.
|
2022-10-04 14:53:46 +03:00 |
|
levlam
|
91ba17c47b
|
Fix read_date usage.
|
2022-10-04 14:18:57 +03:00 |
|
levlam
|
882b08f935
|
Support empty filter in getChatMessagePosition.
|
2022-10-03 20:55:15 +03:00 |
|
levlam
|
ab3f7856a9
|
Explicitly ignore READ_REACTION notifications.
|
2022-10-03 17:22:20 +03:00 |
|
levlam
|
10680fe353
|
Minor improvements.
|
2022-10-03 14:39:20 +03:00 |
|
levlam
|
aa6ed42734
|
Add class CustomEmojiId.
|
2022-10-03 01:26:32 +03:00 |
|
levlam
|
197d1de31b
|
Resave file after clearing local location to keep file sources.
|
2022-10-02 23:42:33 +03:00 |
|
levlam
|
f88993e45f
|
Improve getFile response.
|
2022-10-02 23:19:41 +03:00 |
|
levlam
|
df3df17c6f
|
Fix FileManager::clear_from_pmc.
|
2022-10-02 23:06:37 +03:00 |
|
levlam
|
e6b7624811
|
Fix scanning of temporary directories.
|
2022-10-02 22:26:03 +03:00 |
|
levlam
|
d29c86bb14
|
Ensure that all network requests are sent and all their responses are processed asynchronously.
|
2022-10-02 01:53:56 +03:00 |
|
levlam
|
08ce44a194
|
Avoid message type checks in treap_insert/treap_find.
|
2022-10-02 00:36:11 +03:00 |
|
levlam
|
d4d365d31f
|
Remove template ActorOwn::reset.
|
2022-10-01 16:29:56 +03:00 |
|
levlam
|
be87e4179f
|
Inline ActorOwn::hangup.
|
2022-10-01 15:58:27 +03:00 |
|
levlam
|
39d2ac80b0
|
Remove unused ActorId methods.
|
2022-10-01 11:29:09 +03:00 |
|
levlam
|
da886281f4
|
Improve logging.
|
2022-10-01 01:28:54 +03:00 |
|
levlam
|
1f7258f697
|
Add getChatMessagePosition.
|
2022-09-30 20:04:21 +03:00 |
|
levlam
|
481a69676d
|
Update comment.
|
2022-09-30 16:52:27 +03:00 |
|
levlam
|
d3a2df8858
|
Return stickers from getCustomEmojiReactionAnimations.
|
2022-09-30 15:55:46 +03:00 |
|
levlam
|
5cb02b8d01
|
Improve logging for auth key dropping.
|
2022-09-29 14:50:25 +03:00 |
|
levlam
|
6917d9c36f
|
Improve secret chat schema constructor naming.
|
2022-09-28 12:17:04 +03:00 |
|
levlam
|
e39bd45086
|
Support search by keywords in getStickers.
|
2022-09-27 20:52:47 +03:00 |
|
levlam
|
75a021e836
|
Really avoid force_reuse even for message photos.
|
2022-09-27 20:17:30 +03:00 |
|
levlam
|
4e78b4b65f
|
Add helpers for sticker search.
|
2022-09-27 18:29:10 +03:00 |
|
levlam
|
ee04923ce1
|
Add lazy initialization for keyword_stickers_map_.
|
2022-09-27 16:16:36 +03:00 |
|
levlam
|
0c21d0d596
|
Save sticker keywords.
|
2022-09-27 00:20:13 +03:00 |
|
levlam
|
7ccaaf3b70
|
Update layer to 147.
|
2022-09-26 20:00:45 +03:00 |
|
levlam
|
b3e16c5dd7
|
Use the same template recursively for instant view links.
|
2022-09-26 19:24:39 +03:00 |
|
levlam
|
a3bb5913a7
|
Improve clicked animated emoji zoom.
|
2022-09-26 16:13:57 +03:00 |
|
levlam
|
bc3ea3e123
|
Add fallback_url to internalLinkTypeInstantView.
|
2022-09-26 01:48:06 +03:00 |
|
levlam
|
35058bb6a7
|
Add animatedEmoji.sticker_width/sticker_height.
|
2022-09-25 23:40:42 +03:00 |
|
levlam
|
302e2fd4b9
|
Make struct Invoice private.
|
2022-09-24 23:09:40 +03:00 |
|
levlam
|
aa5f4b1982
|
Make InputInvoice fields private.
|
2022-09-24 23:04:04 +03:00 |
|
levlam
|
ecb3d76fb4
|
Move store/parse inside classes Invoice/InputInvoice.
|
2022-09-24 23:00:49 +03:00 |
|
levlam
|
bb69175aab
|
Add InputInvoice::is_equal_but_different.
|
2022-09-24 22:55:03 +03:00 |
|
levlam
|
b10983acfa
|
Add InputInvoice::need_reget.
|
2022-09-24 22:45:29 +03:00 |
|
levlam
|
6a5989eb8b
|
Add InputInvoice::update_from.
|
2022-09-24 22:42:47 +03:00 |
|
levlam
|
92f9f8bdd0
|
Support extended media polling.
|
2022-09-24 22:17:17 +03:00 |
|
levlam
|
85f9f0481f
|
Fix extended media store.
|
2022-09-23 19:54:05 +03:00 |
|
levlam
|
263b383530
|
Support extended media in inputMessageInvoice.
|
2022-09-23 16:16:56 +03:00 |
|
levlam
|
3827bc92b0
|
Make Invoice operator == private.
|
2022-09-23 12:55:25 +03:00 |
|
levlam
|
e5d1fd0dfa
|
Move InputInvoice methods inside the class.
|
2022-09-23 12:52:54 +03:00 |
|
levlam
|
87e2e107bb
|
Unify field naming in Invoice/InputInvoice classes.
|
2022-09-23 12:30:26 +03:00 |
|
levlam
|
7f353cd064
|
Support telegram_api::updateMessageExtendedMedia.
|
2022-09-23 12:07:07 +03:00 |
|
levlam
|
7a50d0764e
|
Minor improvements.
|
2022-09-22 23:28:54 +03:00 |
|
levlam
|
63a664ec71
|
Remove unused class ShippingOption.
|
2022-09-22 21:07:01 +03:00 |
|
levlam
|
fa5dbe4751
|
Move get_product_description_object to InputInvoice.h.
|
2022-09-22 19:37:02 +03:00 |
|
levlam
|
cb01c3022c
|
Move check_currency_amount to misc.h.
|
2022-09-22 19:33:43 +03:00 |
|
levlam
|
7f433c7e18
|
Add OrderInfo.h.
|
2022-09-22 19:28:39 +03:00 |
|
levlam
|
1e1191fcfc
|
Move InputInvoice to InputInvoice.h.
|
2022-09-22 19:08:06 +03:00 |
|
levlam
|
72c1a1597d
|
Add LabeledPricePart.h.
|
2022-09-22 18:49:08 +03:00 |
|
levlam
|
2a4201f989
|
Move some functions to Photo.h.
|
2022-09-22 18:25:20 +03:00 |
|
levlam
|
e9b181ec42
|
Support ExtendedMedia in MessageContent.
|
2022-09-22 18:05:58 +03:00 |
|
levlam
|
1fd5452c8f
|
Add version for MessageExtendedMedia::Unsupported.
|
2022-09-22 15:30:12 +03:00 |
|
levlam
|
2440ebda56
|
Never replace ExtendedMedia media with preview.
|
2022-09-22 06:39:40 +03:00 |
|
levlam
|
a7d8d28895
|
Add td_api::messageExtendedMedia.
|
2022-09-22 01:46:12 +03:00 |
|
levlam
|
386e9fb296
|
Add InputInvoice flags.
|
2022-09-16 17:08:58 +03:00 |
|
levlam
|
1679d1338c
|
Update layer to 146.
|
2022-09-16 15:36:25 +03:00 |
|
levlam
|
8ab43e5b9f
|
Make most MessageReaction methods private.
|
2022-09-24 21:32:50 +03:00 |
|
levlam
|
798f4fdb2f
|
Add MessageReactions::add_min_channels.
|
2022-09-24 21:09:07 +03:00 |
|
levlam
|
375446ac88
|
Add MessageReactions::add_dependencies.
|
2022-09-24 21:07:35 +03:00 |
|
levlam
|
da00ea6f86
|
Add MessageReactions::get_message_reactions_object.
|
2022-09-24 20:58:54 +03:00 |
|
levlam
|
c9f7603ad7
|
Add MessageReactions::are_consistent_with_list.
|
2022-09-24 20:15:38 +03:00 |
|
levlam
|
8e196d2570
|
Increase limits for slow operations logging.
|
2022-09-23 22:29:18 +03:00 |
|
levlam
|
faa738d6a9
|
Keep only Slice overload of utf8_utf16_substr.
|
2022-09-22 12:08:34 +03:00 |
|
levlam
|
2a41ab0562
|
Don't add self speculatively to channel members if join requests are enabled in the chat.
|
2022-09-21 19:04:36 +03:00 |
|
levlam
|
6c91b9aa6b
|
Create all dialogs before initializing inactive_channel_ids_.
|
2022-09-21 18:55:21 +03:00 |
|
levlam
|
831f0bead3
|
Send updateMessageContent about edited messages.
|
2022-09-21 18:02:28 +03:00 |
|
levlam
|
23fe3994bf
|
Don't unload messages from the last media album.
|
2022-09-21 17:44:25 +03:00 |
|
levlam
|
e9ccb43ccd
|
Use const Message * earlier in add_message_to_dialog.
|
2022-09-21 17:30:03 +03:00 |
|
levlam
|
b6db8a66ec
|
Remove dangerous Timestamp::store.
|
2022-09-21 14:25:31 +03:00 |
|
levlam
|
9c04dc47ad
|
Add support for cashtag in Twitter link preview.
|
2022-09-20 18:13:14 +03:00 |
|
levlam
|
3a579dd5cb
|
Improve warning on long RawConnection::flush.
|
2022-09-20 17:46:10 +03:00 |
|
levlam
|
097f3d42e1
|
Fix error code in on_upload_error/on_download_error.
|
2022-09-20 02:02:28 +03:00 |
|
levlam
|
ee381ecbb5
|
Avoid force_reuse even for message photos.
|
2022-09-20 00:26:22 +03:00 |
|
levlam
|
74879d9726
|
Move PerfWarningTimer to SessionConnection::do_flush.
|
2022-09-19 21:33:23 +03:00 |
|
levlam
|
06e1ebf809
|
Add check just in case.
|
2022-09-19 16:34:28 +03:00 |
|
levlam
|
b9bd024969
|
Update message notifications after external changes of message content.
|
2022-09-19 16:26:56 +03:00 |
|
levlam
|
bb6fc999f8
|
Add on_message_notification_changed function.
|
2022-09-19 16:19:59 +03:00 |
|
levlam
|
618bface99
|
Save voice message to database when it is recognized.
|
2022-09-19 11:15:13 +03:00 |
|
levlam
|
8d0cb5b82d
|
Return is_content_changed from update_message_content.
|
2022-09-19 01:12:20 +03:00 |
|
levlam
|
5cf248ae01
|
Call on_message_changed after send_update_message_content.
|
2022-09-19 01:05:23 +03:00 |
|
levlam
|
51403c883c
|
Avoid usage of send_update_message_content with dialog_id.
|
2022-09-19 00:29:31 +03:00 |
|
levlam
|
91c54cc748
|
Move send_update_message_content out of update_message_content.
|
2022-09-19 00:24:15 +03:00 |
|
levlam
|
fcdd1e01d5
|
Destroy SQLite database if wasn't authorized.
|
2022-09-18 22:09:57 +03:00 |
|
levlam
|
12a8a5dbda
|
Fix error handling in ReadFeaturedStickerSetsQuery.
|
2022-09-18 21:57:13 +03:00 |
|
levlam
|
297594af7e
|
Use SqliteDb::destroy instead of plain unlink.
|
2022-09-18 21:35:16 +03:00 |
|
levlam
|
15db91b536
|
Update version to 1.8.6.
|
2022-09-16 21:38:09 +03:00 |
|
levlam
|
aeed5107b7
|
Fix Slice lifetime.
|
2022-09-16 13:56:56 +03:00 |
|
levlam
|
b76a920db8
|
Open Telegraph links in instant view.
|
2022-09-16 13:51:52 +03:00 |
|
levlam
|
47d4101def
|
Add enum LinkType.
|
2022-09-16 13:20:19 +03:00 |
|
levlam
|
0025c4164b
|
Add internalLinkTypeInstantView.
|
2022-09-16 01:30:54 +03:00 |
|
levlam
|
d2ad29725d
|
Replace actor in chatEventMessagePinned/chatEventMessageUnpinned.
|
2022-09-15 21:35:37 +03:00 |
|
levlam
|
ce1292ea32
|
Allow to always reuse photos from inputMessagePhoto.
|
2022-09-15 16:08:19 +03:00 |
|
levlam
|
111018eadd
|
Add logging for some slow operations.
|
2022-09-15 15:03:19 +03:00 |
|
levlam
|
e087521b01
|
Fix compilation error.
|
2022-09-14 19:02:49 +03:00 |
|
levlam
|
e5fbb33555
|
Remove all chosen reactions, exceeding reaction limit.
|
2022-09-14 17:55:02 +03:00 |
|
levlam
|
cef7ca17f3
|
Always show all reaction choosers in private chats.
|
2022-09-14 17:15:12 +03:00 |
|
levlam
|
534f17e784
|
Randomize delays between failed getChannelDifference.
|
2022-09-14 16:41:59 +03:00 |
|
levlam
|
c646e43e37
|
Minor improvements.
|
2022-09-14 16:31:47 +03:00 |
|
levlam
|
1ac2dfef30
|
Replace ConcurrentScheduler::init with constructor.
|
2022-09-14 15:06:52 +03:00 |
|
levlam
|
70e3586626
|
Allow to specify affinity mask for concurrent scheduler threads.
|
2022-09-14 14:49:48 +03:00 |
|
levlam
|
124b0dee6c
|
Ensure that custom reactions aren't added twice.
|
2022-09-13 19:39:35 +03:00 |
|
levlam
|
30b961aebf
|
Sort reactions returned in getMessageAvailableReactions.
|
2022-09-13 19:19:35 +03:00 |
|
levlam
|
5213561096
|
Make non-const MessageReaction functions private.
|
2022-09-13 15:35:18 +03:00 |
|
levlam
|
38fbd00e99
|
Add and use get_reactions_hash.
|
2022-09-12 21:55:30 +03:00 |
|
levlam
|
8e5dccbdb5
|
Fix updating of active reactions in MessagesManager.
|
2022-09-12 21:39:23 +03:00 |
|
levlam
|
999326d56a
|
Locally add reaction to recent.
|
2022-09-12 20:17:14 +03:00 |
|
levlam
|
164f5e97fd
|
Support telegram_api::updateRecentReactions.
|
2022-09-12 19:52:08 +03:00 |
|
levlam
|
f85b79d9bc
|
Add td_api::clearRecentReactions.
|
2022-09-12 19:37:45 +03:00 |
|
levlam
|
ece581b797
|
Load recent reactions.
|
2022-09-12 19:14:02 +03:00 |
|
levlam
|
7b6d0ea6b4
|
Load top reactions from server.
|
2022-09-12 17:28:58 +03:00 |
|
levlam
|
de1ed3275f
|
Add td_api::getCustomEmojiReactionAnimations.
|
2022-09-12 15:44:37 +03:00 |
|
levlam
|
a33eb5233c
|
Add td_api::getEmojiReaction.
|
2022-09-12 15:03:35 +03:00 |
|
levlam
|
d29d3674ba
|
Replace updateReactions with updateActiveEmojiReactions.
|
2022-09-12 01:35:47 +03:00 |
|
levlam
|
f119e867df
|
Update chosen reaction order when reactions are added or removed.
|
2022-09-11 15:10:56 +03:00 |
|
levlam
|
2ee994aed1
|
Add MessageReactions::get_chosen_reactions.
|
2022-09-11 14:06:01 +03:00 |
|
levlam
|
e07ab8e71a
|
Save chosen reaction order.
|
2022-09-11 13:35:25 +03:00 |
|
levlam
|
ce9175a00b
|
Always use "must be non-empty".
|
2022-09-10 22:48:34 +03:00 |
|
levlam
|
345c930aa7
|
Explicitly disallow removal of an empty reaction.
|
2022-09-09 19:42:14 +03:00 |
|
levlam
|
52fbb073fe
|
Fix reaction updating.
|
2022-09-09 19:42:02 +03:00 |
|
levlam
|
79fcd07956
|
Add internal options "reactions_user_max_*".
|
2022-09-09 18:24:42 +03:00 |
|
levlam
|
6fb097dfe0
|
Return only reactions that can be added in getMessageAvailableReactions.
|
2022-09-09 18:15:03 +03:00 |
|
levlam
|
28d3d1ab37
|
Add MessageReactis::add_reaction/remove_reaction.
|
2022-09-09 17:43:21 +03:00 |
|
levlam
|
e0699944b3
|
Add is_custom_reaction.
|
2022-09-09 17:05:27 +03:00 |
|
levlam
|
89a1311c91
|
Add ChatReactions::is_allowed_reaction.
|
2022-09-09 16:34:14 +03:00 |
|
levlam
|
a223067cd1
|
Add availableReactions.allow_custom_emoji.
|
2022-09-09 16:28:51 +03:00 |
|
levlam
|
55ec944266
|
Pass all chosen reactions to send_message_reaction.
|
2022-09-09 16:21:00 +03:00 |
|
levlam
|
6b2f6b4204
|
Split setMessageReaction to addMessageReaction and removeMessageReaction.
|
2022-09-09 15:56:45 +03:00 |
|
levlam
|
4ae5b9a533
|
Consistently use is_active_reaction.
|
2022-09-08 21:04:23 +03:00 |
|
levlam
|
148f1bf794
|
Update get_message_available_reactions.
|
2022-09-08 20:04:32 +03:00 |
|
levlam
|
ac5e8e7eda
|
Remove class AvailableReactionType.
|
2022-09-08 18:25:12 +03:00 |
|
levlam
|
81159edcd9
|
Move get_active_reactions to ChatReactions.
|
2022-09-08 17:56:39 +03:00 |
|
levlam
|
c6d5bbb151
|
Remove class AvailableReaction.
|
2022-09-08 17:45:19 +03:00 |
|
levlam
|
43109ecc96
|
Improve getConstructor/toString javadoc.
|
2022-09-08 16:00:55 +03:00 |
|
levlam
|
bc950bc543
|
Add explicit default constructors to abstract Java classes.
|
2022-09-08 15:40:09 +03:00 |
|
levlam
|
4d5625a06f
|
Explicitly load tdjni in Client.java and TdApi.java.
|
2022-09-08 14:27:07 +03:00 |
|
levlam
|
d4d746f02a
|
Pass database_encryption_key through a local variable.
|
2022-09-07 22:31:26 +03:00 |
|
levlam
|
f6a2ecdded
|
Inline tdlibParameters in setTdlibParameters.
|
2022-09-07 22:19:08 +03:00 |
|
levlam
|
ebb6770935
|
Combine TdDb::check_parameters and TdDb::open.
|
2022-09-07 21:50:41 +03:00 |
|
levlam
|
c47da24430
|
Remove unused is_database_encrypted.
|
2022-09-07 21:32:40 +03:00 |
|
levlam
|
287cceb162
|
Remove separate authorizationStateWaitEncryptionKey.
|
2022-09-07 21:27:23 +03:00 |
|
levlam
|
20767a318b
|
Check for new code types in other phone number verifications.
|
2022-09-07 21:22:21 +03:00 |
|
levlam
|
9bd566702e
|
Add source to MessagesManager::fix_new_dialog.
|
2022-09-07 20:02:44 +03:00 |
|
levlam
|
ba547561bb
|
Support resending of email authentication code.
|
2022-09-07 19:42:21 +03:00 |
|
levlam
|
1b7f24459f
|
Add td_api::checkLoginEmailAddressCode.
|
2022-09-07 15:18:43 +03:00 |
|
levlam
|
cc8ef1a077
|
Add td_api::resendLoginEmailAddressCode.
|
2022-09-07 14:39:33 +03:00 |
|
levlam
|
c373d14777
|
Add td_api::setLoginEmailAddress.
|
2022-09-07 13:49:48 +03:00 |
|
levlam
|
cac1f4cd14
|
Add passwordState.login_email_address_pattern.
|
2022-09-07 12:53:14 +03:00 |
|
levlam
|
14a9fda4ef
|
Rename premiumStatus to emojiStatus.
|
2022-09-07 10:25:21 +03:00 |
|
levlam
|
b8438b92ae
|
Add td_api::premiumFeatureEmojiStatus.
|
2022-09-06 23:47:11 +03:00 |
|
levlam
|
886a6125e9
|
Add class EmailVerification.
|
2022-09-06 23:29:57 +03:00 |
|
levlam
|
8f16191182
|
Add authorizationStateWaitEmailCode.next_phone_number_authorization_date.
|
2022-09-06 18:15:43 +03:00 |
|
levlam
|
cba73d5bba
|
Support login with email verification.
|
2022-09-06 17:42:19 +03:00 |
|
levlam
|
3a84a9c226
|
Add td_api::checkAuthenticationEmailCode.
|
2022-09-06 17:17:39 +03:00 |
|
levlam
|
5e4a8ea664
|
Add authorizationStateWaitEmailCode.
|
2022-09-06 16:08:10 +03:00 |
|
levlam
|
3ad9ecc3a8
|
Use Promise<SentEmailCode>.
|
2022-09-06 14:53:19 +03:00 |
|
levlam
|
79be03d071
|
Add class SentEmailCode.
|
2022-09-06 14:46:11 +03:00 |
|
levlam
|
45484ce53b
|
Add td_api::setAuthenticationEmailAddress.
|
2022-09-06 14:04:39 +03:00 |
|
levlam
|
6ac839576c
|
Add authorizationStateWaitEmailAddress.
|
2022-09-06 12:31:54 +03:00 |
|
levlam
|
4fdac24cc5
|
Add setMessageReaction.update_recent_reactions.
|
2022-09-05 22:04:50 +03:00 |
|
levlam
|
51ea826b6c
|
Synchronously load custom emoji from database if they are to be shown as an animated emoji.
|
2022-09-05 21:04:08 +03:00 |
|
levlam
|
8d6a83433f
|
Use checks to catch wrong custom_emoji_to_sticker_id_ cache.
|
2022-09-05 20:26:10 +03:00 |
|
levlam
|
41a5e84d1c
|
Remove unused DownloadManager::update_file_deleted.
|
2022-09-05 18:02:41 +03:00 |
|
levlam
|
cc4194a406
|
Check completed downloads size only after the database is loaded.
|
2022-09-05 17:58:15 +03:00 |
|
levlam
|
e843343a22
|
Add source to remove_file_impl.
|
2022-09-05 17:54:03 +03:00 |
|
levlam
|
c5040d9fcd
|
Locally move sticker set to top.
|
2022-09-04 21:35:11 +03:00 |
|
levlam
|
16ba2ebfb8
|
Add messageSendOptions.update_order_of_installed_sticker_sets.
|
2022-09-04 01:14:25 +03:00 |
|
levlam
|
284dc4428b
|
Use send_closure to load dialogs to ensure that MessagesManager is inited.
|
2022-09-03 10:21:04 +03:00 |
|
levlam
|
c662b81a3d
|
Return ChatReactions from MessagesManager::get_message_active_reactions.
|
2022-09-02 18:59:15 +03:00 |
|
levlam
|
8e5f33e699
|
Process updateMoveStickerSetToTop update.
|
2022-09-02 18:35:57 +03:00 |
|
levlam
|
c92f741a83
|
Add get_sticker_type function.
|
2022-09-02 18:18:18 +03:00 |
|
levlam
|
e3da366e2b
|
Fix chosen reaction detection.
|
2022-09-02 17:34:28 +03:00 |
|
levlam
|
20332b5afb
|
Check and fix all received reactions.
|
2022-09-02 17:30:15 +03:00 |
|
levlam
|
71b7eaa4a5
|
Improve logging.
|
2022-09-02 17:04:09 +03:00 |
|
levlam
|
e595730735
|
Support t.me subdomains.
|
2022-09-02 16:34:05 +03:00 |
|
levlam
|
03af40bc08
|
Don't add themed premium statuses to recent.
|
2022-09-02 15:39:07 +03:00 |
|
levlam
|
2eba57276a
|
Add td_api::getThemedPremiumStatuses.
|
2022-09-02 15:02:37 +03:00 |
|
levlam
|
899ceecab1
|
Support new special sticker set types.
|
2022-09-02 13:59:49 +03:00 |
|
levlam
|
e212d9c62a
|
Improve logging.
|
2022-09-02 13:48:06 +03:00 |
|
levlam
|
0974a8c17e
|
Fix adding of a premium status to recent.
|
2022-09-02 13:16:55 +03:00 |
|
levlam
|
085ac48a9f
|
Send updateUser when premium status expires.
|
2022-09-01 22:26:04 +03:00 |
|
levlam
|
df53830161
|
Add parameter setPremiumStatus.duration.
|
2022-09-01 22:04:33 +03:00 |
|
levlam
|
5d7a36a262
|
Make updates about change of premium status more robust.
|
2022-09-01 20:33:41 +03:00 |
|
levlam
|
16c50a3463
|
Add limit on the number of recent emoji statuses.
|
2022-08-31 19:52:56 +03:00 |
|
levlam
|
4370e88352
|
Add "themed_premium_statuses_sticker_set_id" option.
|
2022-08-31 19:03:26 +03:00 |
|
levlam
|
1890d45680
|
Locally update recent premium statuses when changing the status.
|
2022-08-31 17:46:03 +03:00 |
|
levlam
|
6f940b5e9b
|
Support updateRecentEmojiStatuses.
|
2022-08-31 16:56:40 +03:00 |
|
levlam
|
93d870bfc6
|
Add td_api::clearRecentPremiumStatuses.
|
2022-08-31 16:41:13 +03:00 |
|
levlam
|
c627f5987d
|
Add getRecentPremiumStatuses.
|
2022-08-31 15:47:51 +03:00 |
|
levlam
|
947a92e94c
|
Save default premium statuses to binlog.
|
2022-08-31 11:59:37 +03:00 |
|
levlam
|
c65af3ac6e
|
Improve field name.
|
2022-08-31 11:11:37 +03:00 |
|
levlam
|
8c9911c7c6
|
Fix check for empty chosen reactions.
|
2022-08-30 18:15:12 +03:00 |
|
levlam
|
31ec06a134
|
Add td_api::getDefaultPremiumStatuses.
|
2022-08-30 18:03:57 +03:00 |
|
levlam
|
cefcf9e018
|
Add EmojiStatus.cpp.
|
2022-08-30 17:23:46 +03:00 |
|
levlam
|
c73fa3ed72
|
Add td_api::premiumStatus.
|
2022-08-30 16:48:26 +03:00 |
|
levlam
|
52b973af35
|
Add class EmojiStatus.
|
2022-08-30 16:02:25 +03:00 |
|
levlam
|
077eba4ca2
|
Send auth.logOut even there is no authorization.
|
2022-08-30 14:32:12 +03:00 |
|
levlam
|
031e2246ec
|
Add logging for too long file GC.
|
2022-08-30 12:05:38 +03:00 |
|
levlam
|
9fc456f434
|
Use SafePromise in CallManager.
|
2022-08-30 12:03:26 +03:00 |
|
levlam
|
0b8e143056
|
Add class ChatAvailableReactions.
|
2022-08-30 11:45:27 +03:00 |
|
levlam
|
560dd914b3
|
Unify names of functions, returning list of td_api objects.
|
2022-08-30 08:12:14 +03:00 |
|
levlam
|
6fbb4ef09a
|
Use static helpers from InputDialogId.
|
2022-08-30 02:09:00 +03:00 |
|
levlam
|
408a6a9d74
|
Remove failed to load chats from chat filters.
|
2022-08-30 01:18:20 +03:00 |
|
levlam
|
d110b0f5bc
|
Add MessagesManager::load_dialog_filter_dialogs function.
|
2022-08-29 22:43:36 +03:00 |
|
levlam
|
3c56140995
|
Ignore error 400 in GetDialogsQuery.
|
2022-08-29 15:35:37 +03:00 |
|
levlam
|
1e10ece916
|
Keep dialog object inside channelDifferenceTooLong for following logging.
|
2022-08-29 07:38:13 +03:00 |
|
levlam
|
9f564e48d4
|
Improve MessageForwardInfo logging.
|
2022-08-29 07:10:50 +03:00 |
|
levlam
|
b4b9ff563f
|
Fix applying of postponed pts updates after pts repair.
|
2022-08-29 01:16:29 +03:00 |
|
levlam
|
1787574262
|
Avoid expected logging.
|
2022-08-28 22:57:19 +03:00 |
|
levlam
|
49f8b1e14c
|
Randomize ping delay for different connections.
|
2022-08-28 00:49:56 +03:00 |
|
levlam
|
57d7a2b10c
|
Remove unknown pinned secret chats if failed to load them.
|
2022-08-27 23:12:50 +03:00 |
|
levlam
|
b0f4c45104
|
Return a 404 error in case of invalid load_dialog_list call.
|
2022-08-27 22:37:09 +03:00 |
|
levlam
|
ddf51a45db
|
Improve output of DialogListId to log.
|
2022-08-27 16:59:34 +03:00 |
|
levlam
|
0ed8f95cec
|
Make distribution of dialog unloads uniform instead of normal.
|
2022-08-27 11:19:00 +03:00 |
|
levlam
|
9b87c2237a
|
Add get_premium_payment_options_object fucntion.
|
2022-08-26 18:59:29 +03:00 |
|
levlam
|
472fdd248e
|
Remove invalid premium payment options.
|
2022-08-26 18:03:56 +03:00 |
|
levlam
|
df238a7034
|
Allow to specify application name when opening Web App.
|
2022-08-25 23:15:53 +03:00 |
|
levlam
|
2e31ba5188
|
Return multiple payment options in premiumState.
|
2022-08-25 22:51:04 +03:00 |
|
levlam
|
60c7a8a622
|
Add more cases for reloading content settings.
|
2022-08-25 20:39:44 +03:00 |
|
levlam
|
4e6046b9ec
|
Treat all emoji reactions as non-premium.
|
2022-08-24 23:31:15 +03:00 |
|
levlam
|
663389f19d
|
Support improved updateStickerSets.
|
2022-08-23 18:24:21 +03:00 |
|
levlam
|
ce845b0753
|
Process updateUserEmojiStatus.
|
2022-08-23 18:14:46 +03:00 |
|
levlam
|
b359a09464
|
Add message.can_report_reactions.
|
2022-08-23 16:44:20 +03:00 |
|
levlam
|
43f91a9de5
|
Add td_api::reportMessageReactions.
|
2022-08-23 14:39:10 +03:00 |
|
levlam
|
d1cc119b9d
|
Use invokeAfter for self-edit queries.
|
2022-08-22 22:12:00 +03:00 |
|
levlam
|
c0f1a9850d
|
Disallow emoji starting with # as reactions.
|
2022-08-22 21:51:55 +03:00 |
|
levlam
|
fa07382e5b
|
Explicitly pass default_reaction to send_update_default_reaction_type.
|
2022-08-22 21:29:09 +03:00 |
|
levlam
|
ef4f0989b1
|
Update default reaction from other apps.
|
2022-08-22 15:44:38 +03:00 |
|
levlam
|
c2a62dbc09
|
Add updateDefaultReactionType.
|
2022-08-22 15:23:17 +03:00 |
|
levlam
|
2a2787b7ed
|
Add td_api::setDefaultReactionType.
|
2022-08-16 23:08:36 +03:00 |
|
levlam
|
b14708f0f5
|
Support reactions with custom emoji.
|
2022-08-16 22:42:29 +03:00 |
|
levlam
|
02b42d7ee6
|
Add td_api::setPremiumBadge.
|
2022-08-09 15:49:47 +03:00 |
|
levlam
|
ff039e2195
|
Add user.premium_badge_custom_emoji_id.
|
2022-08-08 23:41:06 +03:00 |
|
levlam
|
bb2034ae36
|
Update layer to 145.
|
2022-08-08 23:00:06 +03:00 |
|
levlam
|
96fc91e239
|
Disable custom animated emoji for bots.
|
2022-08-22 09:20:37 +03:00 |
|
levlam
|
551d42b9cf
|
Fix compilation error.
|
2022-08-21 19:57:43 +03:00 |
|
levlam
|
1a8dbf8e4f
|
Improve error logging.
|
2022-08-21 19:53:50 +03:00 |
|
levlam
|
869e9bd422
|
Avoid warning about wrong chat order for bots.
|
2022-08-21 12:46:06 +03:00 |
|
levlam
|
8c5833b009
|
Delete yet unsent message if receive messageEmpty for the sent message.
|
2022-08-21 10:08:09 +03:00 |
|
levlam
|
fe714b805b
|
Drop all postponed updates before restoring PTS.
|
2022-08-21 08:22:58 +03:00 |
|
levlam
|
acbc2cebf4
|
Process request result in MessagesManager actor context.
|
2022-08-21 07:24:53 +03:00 |
|
levlam
|
092499a7c6
|
Use WaitFreeHashSet where appropriate.
|
2022-08-21 00:20:57 +03:00 |
|
levlam
|
e72d59ea78
|
Add warning for slow applying of postponed PTS updates.
|
2022-08-20 15:25:29 +03:00 |
|
levlam
|
4543c485a7
|
Optimize fix_url.
|
2022-08-20 13:44:55 +03:00 |
|
levlam
|
0649b7e2fa
|
Add allocation-free fast path to is_common_tld.
|
2022-08-20 12:56:52 +03:00 |
|
levlam
|
fc9e878539
|
Optimize is_email_address.
|
2022-08-20 12:44:22 +03:00 |
|
levlam
|
4206246b0c
|
Simplify match_url code.
|
2022-08-20 11:34:21 +03:00 |
|
levlam
|
0d2ddc2d56
|
Allow only domain symbols in user data after first dot to improve performance.
|
2022-08-19 21:01:39 +03:00 |
|
levlam
|
96cca84a60
|
Remove source from next_utf8_unsafe.
|
2022-08-19 16:37:44 +03:00 |
|
levlam
|
a8b3573a00
|
Always pass non-null pointer to next_utf8_unsafe.
|
2022-08-19 16:19:58 +03:00 |
|
levlam
|
73f945bd8b
|
Support setting "is_location_visible" option before authorization.
|
2022-08-19 14:16:53 +03:00 |
|
levlam
|
f99327ca50
|
Add more CHECK logging.
|
2022-08-19 00:00:32 +03:00 |
|
levlam
|
515a9cfb48
|
Minor improvements.
|
2022-08-18 23:31:14 +03:00 |
|
levlam
|
939f4fa9fd
|
Rename shared_config variables.
|
2022-08-18 21:51:29 +03:00 |
|
levlam
|
c5b258f097
|
Explicitly pass options to get_simple_config_*.
|
2022-08-18 21:45:29 +03:00 |
|
levlam
|
db5ad187d0
|
Add debug for "Lost promise" errors.
|
2022-08-18 21:32:36 +03:00 |
|
levlam
|
26bd2c71b3
|
Remove my_id from Global.
|
2022-08-18 20:21:40 +03:00 |
|
levlam
|
3de61c80f2
|
Postpone some getOption requests until initialization.
|
2022-08-18 19:54:04 +03:00 |
|
levlam
|
266e5d4b16
|
Fix setting "is_location_visible" option before authorization.
|
2022-08-18 19:38:30 +03:00 |
|
levlam
|
29b35f3698
|
Call on_option_updated only after Td is fully inited.
|
2022-08-18 19:12:15 +03:00 |
|
levlam
|
bece21cc38
|
Make OptionManager a plain class.
|
2022-08-18 18:52:59 +03:00 |
|
levlam
|
04b98aa385
|
Use OptionManager directly if possible.
|
2022-08-18 17:00:18 +03:00 |
|
levlam
|
fef6ef3c2a
|
Remove conversion from legacy language pack option.
|
2022-08-18 16:03:58 +03:00 |
|
levlam
|
b772579af1
|
Fix "utc_time_offset" option updating on launch.
|
2022-08-18 15:59:32 +03:00 |
|
levlam
|
149d505781
|
Move option-related functions to OptionManager.
|
2022-08-18 14:54:57 +03:00 |
|
levlam
|
424e632f9f
|
Combine reload_attach_menu_bots queries.
|
2022-08-18 13:39:24 +03:00 |
|
levlam
|
4ba7bf4a92
|
Use send_closure for some request processing.
|
2022-08-18 13:29:51 +03:00 |
|
levlam
|
552bde9fda
|
Use query_promise in GetContactSignUpNotificationQuery.
|
2022-08-18 12:55:55 +03:00 |
|
levlam
|
0225f0cab7
|
Ensure that option values are fetched on launch.
|
2022-08-18 00:37:19 +03:00 |
|
levlam
|
12abea736f
|
Init base LanguagePackManager fields in constuctor.
|
2022-08-17 22:49:05 +03:00 |
|
levlam
|
e897298527
|
Load animation search options on start and remove redundant fields.
|
2022-08-17 22:16:16 +03:00 |
|
levlam
|
3fe53c7d1d
|
Remove saved_animations_limit binlog option.
|
2022-08-17 22:00:55 +03:00 |
|
levlam
|
9fddbf4ee8
|
Remove redundant parameters.
|
2022-08-17 21:40:03 +03:00 |
|
levlam
|
f9161dccc3
|
Remove "auth" internal option.
|
2022-08-17 20:01:03 +03:00 |
|
levlam
|
2ebeca31ca
|
Don't use shared_config directly in Global.cpp.
|
2022-08-17 19:43:00 +03:00 |
|
levlam
|
3318ffdb20
|
Proxy all option-related requests through G.
|
2022-08-17 16:11:13 +03:00 |
|
levlam
|
9f2a6b5fd4
|
Improve includes.
|
2022-08-16 09:43:32 +03:00 |
|
levlam
|
febf458091
|
Move set_default_reaction to MessageReaction.h.
|
2022-08-15 22:47:02 +03:00 |
|
levlam
|
bbac7baed0
|
Add setUserSupportInfo.
|
2022-08-15 16:58:28 +03:00 |
|
levlam
|
f0a89c3dbe
|
Remove process_input_caption in favor of get_formatted_text.
|
2022-08-15 16:26:51 +03:00 |
|
levlam
|
8b61255387
|
Add additional parameters to get_formatted_text.
|
2022-08-15 16:16:50 +03:00 |
|
levlam
|
61fb071b25
|
Use get_formatted_text in get_web_page_preview.
|
2022-08-15 15:59:16 +03:00 |
|
levlam
|
b1e43bfbd5
|
Pass FormattedText to get_first_url.
|
2022-08-15 15:55:48 +03:00 |
|
levlam
|
47c0f387de
|
Add get_formatted_text function.
|
2022-08-15 15:37:17 +03:00 |
|
levlam
|
5af4fcc35e
|
Add td_api::getUserSupportInfo.
|
2022-08-15 14:32:35 +03:00 |
|
levlam
|
383359d767
|
Do not check local location when cancel file upload.
|
2022-08-15 13:13:23 +03:00 |
|
levlam
|
8f433070df
|
Minor fixes.
|
2022-08-14 15:04:08 +03:00 |
|
levlam
|
9a469eef31
|
Minor fixes.
|
2022-08-12 18:39:36 +03:00 |
|
levlam
|
e7fa6741aa
|
Support file reference repair for files of attachment menu bots.
|
2022-08-10 21:12:05 +03:00 |
|
levlam
|
9c7bdb2810
|
Fix payment form and web view color value sent to the server.
|
2022-08-10 19:32:07 +03:00 |
|
levlam
|
4754f36808
|
Fix warning.
|
2022-08-10 18:38:30 +03:00 |
|
levlam
|
148ded0620
|
Disable ConfigRecoverer if there are a lot of pending auth keys.
|
2022-08-10 17:03:38 +03:00 |
|
levlam
|
17a18e8def
|
Always use send_closure_later to keep relative message order.
|
2022-08-10 16:25:17 +03:00 |
|
levlam
|
9f520f7db2
|
Asynchronously load reactions on start up.
|
2022-08-10 15:39:33 +03:00 |
|
levlam
|
f342b65500
|
Check for close status as early as possible.
|
2022-08-10 14:04:36 +03:00 |
|
levlam
|
12d852abc5
|
Check for close_flag as early as possible.
|
2022-08-10 13:57:41 +03:00 |
|
levlam
|
2865be8dd7
|
Store link to parent in FileReferenceManager.
|
2022-08-09 17:00:36 +03:00 |
|
levlam
|
491e50ac4b
|
Remove outdated note in the documentation.
|
2022-08-09 13:10:10 +03:00 |
|
levlam
|
8484531d95
|
Ignore unused appConfig option.
|
2022-08-09 13:07:54 +03:00 |
|
levlam
|
cee055350a
|
Fix premium_sticker_positions_ initialization.
|
2022-08-08 21:13:22 +03:00 |
|
levlam
|
8e5d85eb11
|
Add error logging.
|
2022-08-08 19:52:29 +03:00 |
|
levlam
|
5c46c95ac5
|
Improve logging.
|
2022-08-08 19:26:57 +03:00 |
|
levlam
|
ca95e77845
|
Avoid expected warning.
|
2022-08-08 19:20:19 +03:00 |
|
levlam
|
8717720ee9
|
Add constant for "after get difference" source.
|
2022-08-08 19:01:50 +03:00 |
|
levlam
|
57947f549d
|
Remove now unneeded restore of PTS in channels.
|
2022-08-08 18:38:25 +03:00 |
|
levlam
|
594aa2ff6d
|
Use request promise in setStickerSetThumbnail.
|
2022-08-08 17:31:27 +03:00 |
|
levlam
|
69b1cc7967
|
Use request promise in createNewStickerSet.
|
2022-08-08 17:24:01 +03:00 |
|
levlam
|
57de8b5b09
|
Use request promise in addStickerToSet.
|
2022-08-08 17:01:04 +03:00 |
|
levlam
|
74c03d35a7
|
Ignore chat photo in left basic groups just in case.
|
2022-08-08 16:42:44 +03:00 |
|
levlam
|
a045e8a528
|
Avoid expected error logging.
|
2022-08-08 16:42:26 +03:00 |
|
levlam
|
d04527d10e
|
Avoid expected error logging.
|
2022-08-08 13:19:11 +03:00 |
|
levlam
|
6871340548
|
Asynchronously update searchStickers cache.
|
2022-08-08 10:10:23 +03:00 |
|
levlam
|
18948ca87e
|
Disallow reactions on self-destruct media.
|
2022-08-08 09:44:58 +03:00 |
|
levlam
|
05625491ba
|
Cache found stickers in database.
|
2022-08-08 00:55:22 +03:00 |
|
levlam
|
2bf7b1e90a
|
Optimize split_stickers_by_premium.
|
2022-08-07 21:10:15 +03:00 |
|
levlam
|
5304ac7ccf
|
Optimize installed premium stickers traversal in getPremiumStickers.
|
2022-08-07 20:35:13 +03:00 |
|
levlam
|
36d7adef38
|
Unify field naming in private StickersManager classes.
|
2022-08-07 19:47:50 +03:00 |
|
levlam
|
26fe0f73f9
|
Try to keep 3 other recent reaction choosers.
|
2022-08-07 15:28:55 +03:00 |
|
levlam
|
ae14546613
|
Disallow adding new reactions in supergroup if can't send messages there.
|
2022-08-07 12:48:36 +03:00 |
|
levlam
|
36803d8d28
|
Improve 'Type of file mismatch' error messages.
|
2022-08-07 11:55:58 +03:00 |
|
levlam
|
a955e0b9df
|
Improve FileType::operator<<.
|
2022-08-07 00:42:40 +03:00 |
|
levlam
|
e80e4304a4
|
Return stickers from installed sticker sets in getPremiumStickers.
|
2022-08-07 00:33:16 +03:00 |
|
levlam
|
1764cda9fa
|
Automatically load installed sticker sets in StickersManager::get_stickers.
|
2022-08-06 23:39:54 +03:00 |
|
levlam
|
035cec9fb9
|
Simplify changing file sources.
|
2022-08-06 13:54:10 +03:00 |
|
levlam
|
44e96081c6
|
Support file reference repair for bot description photo and animation.
|
2022-08-06 13:42:35 +03:00 |
|
levlam
|
14fa1d71d9
|
Append album cover file identifiers to audio file identifiers.
|
2022-08-06 11:03:48 +03:00 |
|
levlam
|
2867fe3637
|
Improve get_message_content_file_ids implementation.
|
2022-08-05 22:59:39 +03:00 |
|
levlam
|
2be350b8fe
|
Support multiple sizes for audio album covers.
|
2022-08-05 22:43:53 +03:00 |
|
levlam
|
643cecbc16
|
Consider "disable_animated_emojis" option for custom emojis.
|
2022-08-05 21:56:05 +03:00 |
|
levlam
|
cb0daf0bef
|
Resolve custom animated emoji stickers.
|
2022-08-05 20:49:24 +03:00 |
|
levlam
|
3c863517ba
|
Return messageAnimatedEmoji for single custom emoji.
|
2022-08-05 17:58:16 +03:00 |
|
levlam
|
edaff2eba5
|
Don't send unneeded user from inlineKeyboardButtonTypeUser for bots.
|
2022-08-05 16:47:47 +03:00 |
|
levlam
|
feafa4aacc
|
Add chat_id to getStickers.
|
2022-08-05 14:06:06 +03:00 |
|
levlam
|
da564df855
|
Add source to load_database_files.
|
2022-08-04 18:49:05 +03:00 |
|
levlam
|
515bd488fb
|
Use WaitFreeHashMap for dialogs.
|
2022-08-04 17:38:33 +03:00 |
|
levlam
|
699b421824
|
Use full variable names for unique_ptr<Dialog>.
|
2022-08-04 16:30:14 +03:00 |
|
levlam
|
e5b453d169
|
Use WaitFreeHashMap in ContactsManager.
|
2022-08-04 16:18:41 +03:00 |
|
levlam
|
779090f4dd
|
Add more WaitFree* classes usages.
|
2022-08-04 14:48:10 +03:00 |
|
levlam
|
29460cacc8
|
Use WaitFreeHashMap for document storages.
|
2022-08-04 10:50:34 +03:00 |
|
levlam
|
8ec29b019a
|
Use get_document if possible.
|
2022-08-03 23:23:32 +03:00 |
|
levlam
|
bb5d8c0c8d
|
Use WaitFreeHashMap in StickersManager.
|
2022-08-03 22:42:52 +03:00 |
|
levlam
|
ad72974e70
|
Simplify implementation of merge_* for documents.
|
2022-08-03 21:58:07 +03:00 |
|
levlam
|
33623f9818
|
Remove unused can_delete_old parameter.
|
2022-08-03 21:38:03 +03:00 |
|
levlam
|
b8d97997a6
|
Remove expected error logging.
|
2022-08-02 21:41:18 +03:00 |
|
levlam
|
0c9a309746
|
Ensure that returned number of poll voters isn't less than the number of known voters.
|
2022-08-02 21:24:53 +03:00 |
|
levlam
|
e3e7368b17
|
Improve error message.
|
2022-08-02 21:12:05 +03:00 |
|
levlam
|
898c5c5cf3
|
Improve error message.
|
2022-08-02 19:35:35 +03:00 |
|
levlam
|
a817dc8dd0
|
Fix double increase of total_timeout in NetQueryDelayer and SequenceDispatcher.
|
2022-08-02 16:51:56 +03:00 |
|
levlam
|
90b04eb3b6
|
Use WaitFreeVector in FileManager.
|
2022-08-02 14:45:22 +03:00 |
|
levlam
|
84dc36bea8
|
Remove expected logging for qts messages.
|
2022-08-01 20:47:38 +03:00 |
|
levlam
|
bca2a9c78e
|
Add getPremiumStickers.
|
2022-08-01 19:21:08 +03:00 |
|
levlam
|
0f77d5c871
|
Use request promise in td_api::searchStickers.
|
2022-08-01 18:50:08 +03:00 |
|
levlam
|
d4135d59f6
|
Return trending custom emoji in getStickers.
|
2022-08-01 16:56:21 +03:00 |
|
levlam
|
235418521f
|
Rename getPremiumStickers to getPremiumStickerExamples.
|
2022-08-01 15:42:02 +03:00 |
|
levlam
|
a67155a145
|
Add source to get_message_content.
|
2022-08-01 14:45:44 +03:00 |
|
levlam
|
2e687480c0
|
Allow premium emoji in Saved Messages.
|
2022-08-01 01:53:36 +03:00 |
|
levlam
|
4d6d1def85
|
Ignore updateServiceNotification by bots.
|
2022-08-01 01:42:53 +03:00 |
|
levlam
|
3f1e0a9317
|
Add explicit limit on the number of saved auth notifications.
|
2022-08-01 01:39:09 +03:00 |
|
levlam
|
d9cfcf88fe
|
Update version to 1.8.5.
|
2022-07-31 03:19:36 +03:00 |
|
levlam
|
044aabf329
|
Fix short_name_to_sticker_set_id_ usages.
|
2022-07-31 03:17:43 +03:00 |
|
levlam
|
e8b2971a42
|
Add more checks for HashTable keys.
|
2022-07-31 01:15:23 +03:00 |
|
levlam
|
fc72eeaff7
|
Skip more types of empty entities.
|
2022-07-31 00:44:51 +03:00 |
|
levlam
|
2c9e1767dd
|
Ignore empty entities loaded from database.
|
2022-07-31 00:34:30 +03:00 |
|
levlam
|
3047262889
|
Print warning about unusable database messages, only if expected database messages weren't deleted.
|
2022-07-30 13:02:08 +03:00 |
|
levlam
|
2fb59c4d7b
|
Drop last_database_message_id if deleted the only database message.
|
2022-07-30 12:55:59 +03:00 |
|
levlam
|
e40fbde299
|
Check currency amounts received from server.
|
2022-07-30 03:58:46 +03:00 |
|
levlam
|
fb6f478e6b
|
Simplify LabeledPrice conversion.
|
2022-07-29 20:01:03 +03:00 |
|
levlam
|
77a79a2c75
|
Add and use check_currency_amount.
|
2022-07-29 19:42:27 +03:00 |
|
levlam
|
286e8b521b
|
Fix storePaymentPurposeGiftedPremium.amount type.
|
2022-07-29 19:25:49 +03:00 |
|
levlam
|
04613e8d48
|
Improve password fields documentation.
|
2022-07-29 16:37:36 +03:00 |
|
levlam
|
8f81a46ede
|
Allow some new characters in hashtags.
|
2022-07-29 16:23:05 +03:00 |
|
levlam
|
8072fe673e
|
Switch back to server-side copy for polls.
|
2022-07-29 14:58:57 +03:00 |
|
levlam
|
ddbca1bb16
|
Use different resource limit for upload and download connections.
|
2022-07-28 17:34:29 +03:00 |
|
levlam
|
fac6b73999
|
Add audio.album_cover.
|
2022-07-28 17:11:51 +03:00 |
|
levlam
|
90df870adb
|
Support audio thumbnail download.
|
2022-07-28 16:47:19 +03:00 |
|
levlam
|
3a275827e9
|
Add FileManager::is_remotely_generated_file and improve some names.
|
2022-07-28 15:59:57 +03:00 |
|
levlam
|
86acab5250
|
Support getMessageThread with non-root messages in supergroups.
|
2022-07-28 15:06:58 +03:00 |
|
levlam
|
c55baf4c61
|
Ignore empty custom emoji documents.
|
2022-07-28 12:56:53 +03:00 |
|
levlam
|
a5da79327d
|
Preload and check all custom emoji in secret chats.
|
2022-07-27 23:47:16 +03:00 |
|
levlam
|
36c6b84ec8
|
Add remove_premium_custom_emoji_entities.
|
2022-07-27 23:36:44 +03:00 |
|
levlam
|
e601012e9f
|
Remove known premium emoji from secret chat messages from non-premium users.
|
2022-07-27 21:52:42 +03:00 |
|
levlam
|
84202b5554
|
Add limit on the total number of entities in secret chat messages.
|
2022-07-27 21:28:43 +03:00 |
|
levlam
|
af607bf611
|
Support spoiler and custom emoji entities in secret chats.
|
2022-07-27 21:10:18 +03:00 |
|
levlam
|
6383e7f1b1
|
Improve remove_unallowed_entities.
|
2022-07-27 20:35:40 +03:00 |
|
levlam
|
e3ae8957bb
|
Support addemoji links.
|
2022-07-27 19:58:58 +03:00 |
|
levlam
|
99b39069a4
|
Document limit on the number of identifiers allowed in getCustomEmojiStickers.
|
2022-07-26 20:05:48 +03:00 |
|
levlam
|
7cdf1a05bb
|
Update custom emoji once a day.
|
2022-07-26 19:29:37 +03:00 |
|
levlam
|
59a27e3b15
|
Get from the server only unknown custom emoji.
|
2022-07-26 18:48:18 +03:00 |
|
levlam
|
e96a1995a2
|
Load custom emoji from database,
|
2022-07-25 23:04:53 +03:00 |
|
levlam
|
f20f015caa
|
Save custom emoji to database.
|
2022-07-25 21:18:43 +03:00 |
|
levlam
|
8331941754
|
Support multiple saved credentials.
|
2022-07-25 19:08:50 +03:00 |
|
levlam
|
366fd53a92
|
Add class td_api::SpeechRecognitionResult.
|
2022-07-25 13:47:06 +03:00 |
|
levlam
|
d4b59bda87
|
Add internalLinkTypeRestorePurchases.
|
2022-07-25 12:06:32 +03:00 |
|
levlam
|
4e9c7ffbf2
|
Return custom emoji from in-memory cache if possible.
|
2022-07-24 19:54:15 +03:00 |
|
levlam
|
bcf2580e09
|
Add discount_percentage.
|
2022-07-24 16:18:20 +03:00 |
|
levlam
|
8183e062ab
|
Handle installed sticker sets of incorrect type in the database.
|
2022-07-24 15:03:54 +03:00 |
|
levlam
|
40b5b586e6
|
Add sticker_type to getStickers.
|
2022-07-24 14:53:48 +03:00 |
|
levlam
|
99ae4ada88
|
Access arrays with pre-casted sticker type.
|
2022-07-24 14:01:58 +03:00 |
|
levlam
|
f26a33b3d3
|
Implement StickersManager::is_premium_custom_emoji.
|
2022-07-22 19:06:39 +03:00 |
|
levlam
|
d361d6e8a1
|
Add StickersManager::get_custom_emoji_id.
|
2022-07-22 18:27:12 +03:00 |
|
levlam
|
97ab564e07
|
Prepare for removing premium custom emoji if have no premium.
|
2022-07-22 18:11:55 +03:00 |
|
levlam
|
680cce2f6d
|
Remove spoiler and custom emoji entities for messages sent to secret chats.
|
2022-07-22 17:21:58 +03:00 |
|
levlam
|
833dfcc9db
|
Remove spoiler and custom emoji entities from messages forwarded to secret chats.
|
2022-07-22 16:47:58 +03:00 |
|
levlam
|
03773d01fd
|
Disallow emoji stickers in secret chats.
|
2022-07-22 16:11:33 +03:00 |
|
levlam
|
813867eb66
|
Improve special sticker set loading.
|
2022-07-22 15:40:24 +03:00 |
|
levlam
|
a81740892d
|
Add messageGiftedPremium.sticker.
|
2022-07-22 15:01:44 +03:00 |
|
levlam
|
61fe5d0df5
|
Register GiftPremium messages.
|
2022-07-22 13:30:24 +03:00 |
|
levlam
|
da7d302dec
|
Increase MessageUnsupported version to reload messages with custom emoji.
|
2022-07-22 12:15:21 +03:00 |
|
levlam
|
06b10526f1
|
Increase maximum allowed value for mute_for.
|
2022-07-22 11:35:09 +03:00 |
|
levlam
|
b5468e4cac
|
Move out StickerType from inputSticker.
|
2022-07-21 17:31:27 +03:00 |
|
levlam
|
342bf8c41f
|
Preload sticker set before adding a sticker to it.
|
2022-07-21 16:06:58 +03:00 |
|
levlam
|
310c4d1b6a
|
Always try to fetch mask_position.
|
2022-07-21 15:54:43 +03:00 |
|
levlam
|
52214f37bc
|
Don't warn when server deletes a custom emoji entity.
|
2022-07-21 14:10:26 +03:00 |
|
levlam
|
d499fa5834
|
tg_cli: use real custom emoji identifiers.
|
2022-07-21 13:54:18 +03:00 |
|
levlam
|
1d7af482fe
|
Support additional payment options in payment form.
|
2022-07-20 20:44:40 +03:00 |
|
levlam
|
7d94cc9aa8
|
Remove some unneeded logging.
|
2022-07-20 18:01:26 +03:00 |
|
levlam
|
771b6d3991
|
Add td_api::getCustomEmojiStickers.
|
2022-07-19 16:00:04 +03:00 |
|
levlam
|
ba3f24ed8d
|
Rename stickerTypeEmoji to stickerTypeCustomEmoji.
|
2022-07-19 14:51:29 +03:00 |
|
levlam
|
219d5ecf87
|
Add sticker.custom_emoji_id.
|
2022-07-19 14:45:37 +03:00 |
|
levlam
|
eef3fe5932
|
Support custom emoji in parse_html.
|
2022-07-19 14:13:37 +03:00 |
|
levlam
|
8e09a83506
|
Support custom emoji in MarkdownV2.
|
2022-07-18 23:40:57 +03:00 |
|
levlam
|
585191bb6f
|
Process stickerSetFullCovered.
|
2022-07-18 21:44:44 +03:00 |
|
levlam
|
903236bf78
|
Fix wrong value of status.can_be_edited.
|
2022-07-18 21:14:04 +03:00 |
|
levlam
|
8673d30109
|
Add gift support in assignGooglePlayTransaction.
|
2022-07-18 15:17:01 +03:00 |
|
levlam
|
fd6684ab9d
|
Disallow sending, adding to favorite and recent for emoji stickers.
|
2022-07-18 14:51:37 +03:00 |
|
levlam
|
2064034364
|
Rename uploadFile/cancelUploadFile for clarity.
|
2022-07-18 14:07:50 +03:00 |
|
levlam
|
1a2d1adb0c
|
Fix early return in ContactsManager::drop_user_photos.
|
2022-07-18 01:43:46 +03:00 |
|
levlam
|
4482ee461d
|
Call update_user and update_user_full in on_set_profile_photo just in case.
|
2022-07-18 01:39:51 +03:00 |
|
levlam
|
fb0689545d
|
Add textEntityTypeCustomEmoji.
|
2022-07-18 01:03:58 +03:00 |
|
levlam
|
7cd65d06a1
|
Support emoji stickers in get_max_sticker_file_size.
|
2022-07-17 23:49:46 +03:00 |
|
levlam
|
4442293acf
|
Support trending emoji sticker sets.
|
2022-07-17 22:39:22 +03:00 |
|
levlam
|
1f2e8d7c57
|
Check voice_messages_forbidden for private chats before sending messages.
|
2022-07-17 17:15:48 +03:00 |
|
levlam
|
45f68d9e06
|
Ensure that voice_messages_forbidden is false for non-premium users.
|
2022-07-17 17:15:15 +03:00 |
|
levlam
|
fcfe9c3996
|
Add userFullInfo.as_restricted_voice_and_video_note_messages.
|
2022-07-17 16:59:12 +03:00 |
|
levlam
|
15e0786632
|
Add userPrivacySettingAllowPrivateVoiceAndVideoNoteMessages.
|
2022-07-16 21:20:18 +03:00 |
|
levlam
|
32c7bd8bcd
|
Support thumbnail_document_id.
|
2022-07-16 17:22:30 +03:00 |
|
levlam
|
577d48cba5
|
Add premiumFeatureCustomEmoji.
|
2022-07-16 14:33:54 +03:00 |
|
levlam
|
cb33c7b852
|
Delete min channel in add_channel.
|
2022-07-15 17:39:23 +03:00 |
|
levlam
|
347e1b81cf
|
Avoid warnings for changes of restricted messages.
|
2022-07-15 17:04:41 +03:00 |
|
levlam
|
ddb572b830
|
Add more debug for have_full_history.
|
2022-07-15 17:03:40 +03:00 |
|
levlam
|
d506c4732a
|
Add getPremiumGiftOptionSticker.
|
2022-07-15 16:15:59 +03:00 |
|
levlam
|
2c7493978b
|
Remove unneeded td_api::getAllAnimatedEmojis.
|
2022-07-15 15:29:19 +03:00 |
|
levlam
|
d3b9b3b7c4
|
Support premium gifts special sticker set.
|
2022-07-15 15:24:08 +03:00 |
|
levlam
|
a114133854
|
Add purpose to canPurchasePremium.
|
2022-07-15 14:09:37 +03:00 |
|
levlam
|
3bfb3cdbb1
|
Add explicit flag sticker.is_premium.
|
2022-07-15 13:37:46 +03:00 |
|
levlam
|
ea8f81187e
|
Support documentAttributeCustomEmoji.
|
2022-07-14 17:11:36 +03:00 |
|
levlam
|
5bdc4e207b
|
Add stickerTypeEmoji.
|
2022-07-14 16:42:27 +03:00 |
|
levlam
|
c34f5d063b
|
Use StickerType instead of is_masks everywhere.
|
2022-07-14 16:17:19 +03:00 |
|
levlam
|
b447c32fe9
|
Add class StickerType.
|
2022-07-14 15:02:55 +03:00 |
|
levlam
|
a896edcd14
|
Move mask_position out of stickerTypeMask.
|
2022-07-14 14:38:25 +03:00 |
|
levlam
|
7d5dc9fd16
|
Split sticker format and sticker type in API.
|
2022-07-14 13:58:33 +03:00 |
|
levlam
|
6817f3fc44
|
Allow to specify password in deleteAccount.
|
2022-07-01 21:25:34 +03:00 |
|
levlam
|
54c052adce
|
Add td_api::StorePaymentPurpose.
|
2022-07-01 19:27:59 +03:00 |
|
levlam
|
035f24b8e9
|
Add userFullInfo.premium_gift_options.
|
2022-07-01 15:57:38 +03:00 |
|
levlam
|
4f7113395b
|
Add td_api::messageGiftedPremium.
|
2022-07-01 15:28:22 +03:00 |
|
levlam
|
e38615b71e
|
Update layer to 144.
|
2022-07-01 14:33:59 +03:00 |
|
levlam
|
262ea91d9a
|
Drop via_bot from forwarded Audio.
|
2022-07-25 16:28:46 +03:00 |
|
levlam
|
a63642c8bf
|
Avoid broken server copy for some quizes.
|
2022-07-24 12:54:49 +03:00 |
|
levlam
|
6c98bec686
|
Ensure that poll is removed from being_closed_polls_ after request is completed.
|
2022-07-24 12:19:51 +03:00 |
|
levlam
|
3afbce24b3
|
Disable getStorageStatisticsFast for bots to reduce disk usage in the main thread.
|
2022-07-23 23:50:28 +03:00 |
|
levlam
|
2729d44f71
|
Move DownloadManagerImpl::*_impl functions to private section.
|
2022-07-23 17:19:18 +03:00 |
|
levlam
|
07cc51c1d5
|
Add check that download manager database isn't loaded recursively.
|
2022-07-23 17:16:21 +03:00 |
|
levlam
|
698b34709f
|
Make DownloadManager::add_file asynchronous.
|
2022-07-23 17:11:25 +03:00 |
|
levlam
|
ec19eaad65
|
Call FileReferenceManager::get_file_search_text through DownloadManagerCallback.
|
2022-07-23 17:01:27 +03:00 |
|
levlam
|
061aac58db
|
Make DownloadManager interface mostly asynchronous.
|
2022-07-23 16:41:03 +03:00 |
|
levlam
|
206becbb9f
|
Safely traverse map.
|
2022-07-23 14:52:42 +03:00 |
|
levlam
|
03de62b29f
|
Check data validness before initing InlineKeyboardButton.
|
2022-07-23 13:04:25 +03:00 |
|
levlam
|
1ff1059de8
|
Fix warning.
|
2022-07-23 12:59:21 +03:00 |
|
levlam
|
ad8693801f
|
Fix another compilation error.
|
2022-07-23 12:15:54 +03:00 |
|
levlam
|
8efe57fb6b
|
Fix ForwardMessagesLogEvent.
|
2022-07-23 12:06:14 +03:00 |
|
levlam
|
c6fc1bb98e
|
Fix compilation error with old compilers.
|
2022-07-23 12:04:15 +03:00 |
|
levlam
|
3506bc94dc
|
Check messageMediaPoll validness for just sent messages.
|
2022-07-23 11:32:08 +03:00 |
|
levlam
|
bc83832e03
|
Avoid copying when adding users/chats to binlog.
|
2022-07-23 11:00:46 +03:00 |
|
levlam
|
4cf1e02479
|
Add multiarg version of Scheduler::destroy_on_scheduler.
|
2022-07-22 21:21:30 +03:00 |
|
levlam
|
3ffe770d57
|
Fix generated file parsing.
|
2022-07-21 13:12:25 +03:00 |
|
levlam
|
4ac8be8122
|
Check local location of files when adding them to download manager.
|
2022-07-20 16:46:55 +03:00 |
|
levlam
|
0f87447ffc
|
Asynchronously destroy some big data storages.
|
2022-07-20 13:40:14 +03:00 |
|
levlam
|
061c4f65d5
|
Drop context for SemaphoreActor before creation of the actor.
|
2022-07-20 10:56:48 +03:00 |
|
levlam
|
e8b0983d7b
|
Use std::move to restore ActorContext.
|
2022-07-20 10:28:31 +03:00 |
|
levlam
|
87a5111399
|
Fix compilation error.
|
2022-07-19 12:40:34 +03:00 |
|
levlam
|
6898d07793
|
Make td_api::saveApplicationLogEvent persistent.
|
2022-07-18 19:21:47 +03:00 |
|
levlam
|
0147c97f9c
|
Ensure that the same notification doesn't added and removed simultaneously.
|
2022-07-17 14:17:22 +03:00 |
|
levlam
|
c7fe53ecae
|
Add additional checks in DownloadManager.
|
2022-07-17 14:02:33 +03:00 |
|
levlam
|
75902bb8a7
|
Improve logging.
|
2022-07-17 13:31:43 +03:00 |
|
levlam
|
72bc285637
|
Delete from database information about unlinked files.
|
2022-07-16 17:25:28 +03:00 |
|
levlam
|
02396be7eb
|
Allow internal links in bio of non-premium users.
|
2022-07-16 16:10:06 +03:00 |
|
levlam
|
bedec2c9ba
|
Add StickersManager::get_sticker_set_thumbnail_object.
|
2022-07-16 15:45:30 +03:00 |
|
levlam
|
abc9ed2cd9
|
Minor fixes.
|
2022-07-14 18:38:48 +03:00 |
|
Arseny Smirnov
|
bf80c43c05
|
fix CE
|
2022-07-14 18:36:46 +04:00 |
|
Arseny Smirnov
|
7ddc3099f6
|
remove td::this_thread::yield function. usleep_for(1) used instead
|
2022-07-14 16:15:17 +04:00 |
|
levlam
|
b8bd39dc6f
|
Fix PaymentSuccessful comparison.
|
2022-07-14 00:13:52 +03:00 |
|
levlam
|
7618c9aa64
|
Add get_sticker_type function.
|
2022-07-13 23:02:46 +03:00 |
|
levlam
|
98bfbc9000
|
Use random_id == 1 in ChangeImportedContacts.
|
2022-07-12 23:04:01 +03:00 |
|
levlam
|
c01dd0d461
|
Increase MessageUnsupported version.
|
2022-07-12 22:50:28 +03:00 |
|
levlam
|
e44418f2b3
|
Add and use everywhere OptionsManager::get_synchronous_options().
|
2022-07-11 15:36:29 +03:00 |
|
levlam
|
ee7011538a
|
Use OptionManager::get_option_synchronously internally.
|
2022-07-11 14:01:56 +03:00 |
|
levlam
|
17a548292b
|
Allow to get synchronously options "version" and "commit_hash".
|
2022-07-11 13:33:56 +03:00 |
|
levlam
|
61f7da7215
|
Add option "commit_hash".
|
2022-07-11 12:57:42 +03:00 |
|
levlam
|
4300c64a30
|
Add Td::get_version_option_value_object().
|
2022-07-11 12:47:23 +03:00 |
|
levlam
|
6eb03bdc8b
|
Generate GitCommitHash.cpp during building.
|
2022-07-11 12:20:31 +03:00 |
|
levlam
|
89aaf648fc
|
Add Client.setLogMessageHandler to Java example.
|
2022-07-08 15:01:38 +03:00 |
|
levlam
|
20fa839dfe
|
Crash on "Lost promise" errors.
|
2022-07-08 11:22:13 +03:00 |
|
levlam
|
435e4e483d
|
Clarify verbosiy level range in the documentation.
|
2022-07-08 11:21:31 +03:00 |
|
levlam
|
d489014350
|
Compare stickers and animation by their remote ID when remove them from recent/saved.
|
2022-07-03 12:17:04 +03:00 |
|
levlam
|
d75791481f
|
Improve FileView::get_main_file_id() method name.
|
2022-07-03 12:01:08 +03:00 |
|
levlam
|
2f17f55305
|
Don't dup stickers in a set.
|
2022-07-03 11:53:01 +03:00 |
|
levlam
|
8537b3d495
|
Move MultiTimeout to MultiTimeout.h.
|
2022-07-02 23:32:18 +03:00 |
|
levlam
|
aeed6c45d7
|
Add logging for skipped unneeded chat actions.
|
2022-07-01 16:56:27 +03:00 |
|
levlam
|
c3017916e0
|
Autostart links to Premium bot.
|
2022-07-01 16:31:15 +03:00 |
|
levlam
|
2472e13f7f
|
Add internalLinkTypeBotStart.autostart.
|
2022-07-01 16:21:29 +03:00 |
|
levlam
|
dd89d46a27
|
Unify message media type variable names.
|
2022-07-01 15:04:11 +03:00 |
|
levlam
|
906d773d6e
|
Fix database initialization.
|
2022-06-30 20:51:59 +03:00 |
|
levlam
|
e43d90c089
|
Remove unused scheduler_id parameters.
|
2022-06-30 00:46:02 +03:00 |
|
levlam
|
32724a5a6c
|
Add and use Scheduler::run_on_scheduler.
|
2022-06-30 00:28:25 +03:00 |
|
levlam
|
aa635a89c2
|
Check keyboard buttons data for validness.
|
2022-06-29 15:57:59 +03:00 |
|
levlam
|
d9d76adb7c
|
Return user_id in inline keyboard as is for local and yet unsent messages.
|
2022-06-29 11:17:51 +03:00 |
|
levlam
|
e8dccae751
|
Explicitly pass ContactsManager to
get_input_reply_markup/get_reply_markup_object.
|
2022-06-28 18:34:53 +03:00 |
|
levlam
|
8f472521d4
|
Avoid expected logging.
|
2022-06-28 17:22:04 +03:00 |
|
levlam
|
2953a2ec64
|
Ignore accidentally received web pages by bots.
|
2022-06-28 17:10:57 +03:00 |
|
levlam
|
70d4fd863b
|
Avoid updates serialization if it will not be needed.
|
2022-06-28 16:50:22 +03:00 |
|
levlam
|
9ef9751f5f
|
Immediately exit UpdatesManager::process_updates if there are no updates to process.
|
2022-06-28 16:43:51 +03:00 |
|
levlam
|
faaf8f10f9
|
Process channel PTS updates during getDifference.
|
2022-06-28 16:39:32 +03:00 |
|
levlam
|
26fdb92dd8
|
Minor improvements.
|
2022-06-28 15:32:05 +03:00 |
|
levlam
|
386fec3d17
|
Improve LogEvent store debug.
|
2022-06-28 15:18:16 +03:00 |
|
levlam
|
ebebe0300c
|
Move promise_send_closure to PromiseFuture.h.
|
2022-06-28 14:02:14 +03:00 |
|
levlam
|
32bac7bd24
|
Move Promise to tdutils.
|
2022-06-27 13:30:18 +03:00 |
|
levlam
|
513da45a8f
|
Use free-standing function to create event promises.
|
2022-06-27 02:57:56 +03:00 |
|
levlam
|
f62632fcbc
|
Remove rarely used PromiseCreator::lambda with 2 lambdas.
|
2022-06-26 17:11:27 +03:00 |
|
levlam
|
3dcafdc873
|
Improve log messages.
|
2022-06-25 21:22:02 +03:00 |
|
levlam
|
63d5a1f32a
|
Fix check.
|
2022-06-25 21:15:03 +03:00 |
|
levlam
|
08e60886f7
|
Fix promise set in updates proxessing.
|
2022-06-25 09:26:30 +03:00 |
|
levlam
|
e0605b2013
|
Add td_api::assignAppStoreTransaction.
|
2022-06-24 18:14:00 +03:00 |
|
levlam
|
2144d8fcd0
|
Add td_api::assignGooglePlayTransaction.
|
2022-06-24 17:27:03 +03:00 |
|
levlam
|
44cf826142
|
Fix Like filter icon.
|
2022-06-24 17:07:48 +03:00 |
|
levlam
|
9e13745487
|
Add td_api::canPurchasePremium.
|
2022-06-24 17:07:10 +03:00 |
|
levlam
|
7153a17bd7
|
Don't check full local locations after loading file from database.
|
2022-06-24 14:59:42 +03:00 |
|
levlam
|
c4690c9ed3
|
Add more logging.
|
2022-06-24 14:59:02 +03:00 |
|
levlam
|
e2acc0ddab
|
Support 7 new filter icons.
|
2022-06-24 14:27:49 +03:00 |
|
levlam
|
c51f283332
|
Improve logging.
|
2022-06-24 13:44:54 +03:00 |
|
levlam
|
d29d508b84
|
Avoid MultiPromise usage if there is only one update to process.
|
2022-06-23 22:00:48 +03:00 |
|
levlam
|
638b4346ca
|
Remove separate MessagesManager::on_update_scheduled_message_id.
|
2022-06-23 17:05:43 +03:00 |
|
levlam
|
3659842864
|
Fix updateNotificationGroup.
|
2022-06-23 16:36:58 +03:00 |
|
levlam
|
6572d02dbd
|
Use current time as update date if it is unknown.
|
2022-06-23 14:06:06 +03:00 |
|
levlam
|
3f763f6fc5
|
Add more logging.
|
2022-06-22 16:15:56 +03:00 |
|
levlam
|
375d3d23fb
|
Fix handling of stickerSetNotModified.
|
2022-06-21 17:34:24 +03:00 |
|
levlam
|
b393215d66
|
Forget local polls only by timeout.
|
2022-06-21 03:35:54 +03:00 |
|
levlam
|
86c130a462
|
Minor fixes.
|
2022-06-21 02:55:53 +03:00 |
|
levlam
|
ee926f86a3
|
Move directory creation and database check to another thread.
|
2022-06-21 02:02:48 +03:00 |
|
levlam
|
1528cfb9da
|
Add get_database_scheduler_id().
|
2022-06-20 22:02:45 +03:00 |
|
levlam
|
854b67d1e3
|
Add and increase cache version for AttachMenuBot.
|
2022-06-20 19:56:04 +03:00 |
|
levlam
|
16c01b5690
|
Support Web App placeholder for attach menu bots.
|
2022-06-20 19:31:04 +03:00 |
|
levlam
|
54fea1a8c5
|
Reload ChatFull with outdated photo.
|
2022-06-20 18:40:13 +03:00 |
|
levlam
|
f3792b15a3
|
Fix log formatting.
|
2022-06-20 17:56:06 +03:00 |
|
levlam
|
21d8ba2f41
|
Ignore authorization loss errors while logging out.
|
2022-06-20 17:43:08 +03:00 |
|
levlam
|
49bd383b35
|
Immediately forget local polls after sending.
|
2022-06-20 16:53:28 +03:00 |
|
levlam
|
71573fd320
|
Add themeParameters.secondary_background_color.
|
2022-06-20 16:15:09 +03:00 |
|
levlam
|
9fb347fd56
|
Avoid config reload on start.
|
2022-06-20 14:34:00 +03:00 |
|
Arseny Smirnov
|
8ac019e589
|
trying to fix bug when active temporary auth key is dropped
|
2022-06-20 13:18:25 +02:00 |
|
levlam
|
7eabd8ca60
|
Update version to 1.8.4.
|
2022-06-19 19:51:00 +03:00 |
|
levlam
|
b6019f25e4
|
Improve sticker order for trending sticker sets.
|
2022-06-18 11:16:32 +03:00 |
|
levlam
|
f1247493c5
|
Add class trendingStickerSets.
|
2022-06-17 19:16:17 +03:00 |
|
levlam
|
dc8903fc71
|
Allow to get stcikerSetInfo with preferred premium stickers.
|
2022-06-17 08:59:54 +03:00 |
|
levlam
|
762b1577e9
|
Add StickersManager::split_stickers_by_premium.
|
2022-06-16 21:12:20 +03:00 |
|
levlam
|
8dc2fbbf90
|
Document photo restrictions in inputMessagePhoto.
|
2022-06-16 18:56:19 +03:00 |
|
levlam
|
80df1e2968
|
Add notificationTypeNewMessage.show_preview.
|
2022-06-16 18:54:50 +03:00 |
|
levlam
|
1cbfec9de9
|
Add pushMessageContentRecurringPayment.
|
2022-06-16 16:42:36 +03:00 |
|
levlam
|
e2b0c8bdc2
|
Make links clickable in product description.
|
2022-06-16 16:11:24 +03:00 |
|
levlam
|
97d82e8edb
|
Unlink files in FileLoadManager thread.
|
2022-06-16 13:32:14 +03:00 |
|
levlam
|
a1c3e09378
|
Log only unhandled file errors.
|
2022-06-16 13:07:31 +03:00 |
|
levlam
|
ed7b8f3a19
|
Move read_file_part to FileLoadManager thread.
|
2022-06-16 00:25:47 +03:00 |
|
levlam
|
62a97d8eb6
|
Simplify FileLoadManager::get_content.
|
2022-06-15 21:40:23 +03:00 |
|
levlam
|
67605936ed
|
Improve spelling.
|
2022-06-15 21:24:26 +03:00 |
|
levlam
|
4afe67c18b
|
Reuse get_gc_scheduler_id.
|
2022-06-15 20:32:42 +03:00 |
|
levlam
|
388f3d0454
|
Lazily create file directories.
|
2022-06-15 16:23:46 +03:00 |
|
levlam
|
bdd70379f1
|
Simplify usage of create_from_temp and search_file.
|
2022-06-14 21:09:07 +03:00 |
|
levlam
|
dcb77ce187
|
Drop SemaphoreActor context.
|
2022-06-14 16:30:09 +03:00 |
|
levlam
|
782aa6a2ec
|
Minor fixes.
|
2022-06-14 16:11:38 +03:00 |
|
levlam
|
f12da0fed5
|
Move payment form URL to paymentProviderOther.
|
2022-06-13 17:02:47 +03:00 |
|
levlam
|
132ccfb289
|
Add paymentProviderSmartGlocal.
|
2022-06-13 16:50:25 +03:00 |
|
levlam
|
28822af866
|
Fix is_premium_available.
|
2022-06-13 16:19:14 +03:00 |
|
levlam
|
63e55553f5
|
Improve stickers order in getStickers.
|
2022-06-10 14:31:28 +03:00 |
|
levlam
|
59620b0e7d
|
Add internal premium stickers options.
|
2022-06-10 13:04:46 +03:00 |
|
levlam
|
70f4e9d3cc
|
Avoid expected logging for failed secret chats.
|
2022-06-09 19:10:38 +03:00 |
|
levlam
|
83fdbd7859
|
Move some AvailableReaction methods to AvailableReaction.h.
|
2022-06-09 01:48:39 +03:00 |
|
levlam
|
cb98c0a10a
|
Add class AvailableReaction.
|
2022-06-09 01:07:53 +03:00 |
|
levlam
|
2570044eba
|
Return, whether available reaction needs premium.
|
2022-06-08 17:34:13 +03:00 |
|
levlam
|
6f7a62efa6
|
Apply user changes in GetPremiumPromoQuery.
|
2022-06-08 15:50:11 +03:00 |
|
levlam
|
09a39b4cb3
|
Ensure that parsed file size isn't negative.
|
2022-06-08 03:55:27 +03:00 |
|
levlam
|
848093c0c4
|
Check files of any size by hash.
|
2022-06-08 03:50:23 +03:00 |
|
levlam
|
b0b98f8f83
|
Return bio as formatted text.
|
2022-06-07 18:28:19 +03:00 |
|
levlam
|
1484af8c97
|
Improve documentation.
|
2022-06-07 17:27:33 +03:00 |
|
levlam
|
9570a39a60
|
Actually parse value of "premium_purchase_blocked".
|
2022-06-07 17:22:58 +03:00 |
|
levlam
|
f48fd19e98
|
Fix is_premium flag.
|
2022-06-07 17:21:45 +03:00 |
|
levlam
|
dba308951a
|
Add comments for entity type priorities.
|
2022-06-06 20:44:44 +03:00 |
|
levlam
|
bfcf52f87c
|
Support MTPROTO_CLUSTER_INVALID error.
|
2022-06-06 20:36:15 +03:00 |
|
levlam
|
08e09160d6
|
Return animations instead of videos in premiumState.
|
2022-06-06 18:50:50 +03:00 |
|
levlam
|
157878f47e
|
Fix reply_in_dialog_id.
|
2022-06-06 18:01:44 +03:00 |
|
levlam
|
fc2a95cac6
|
Avoid expected error logging.
|
2022-06-06 17:44:38 +03:00 |
|
levlam
|
470563c289
|
Improve log messages.
|
2022-06-06 17:13:56 +03:00 |
|
levlam
|
a5f161849b
|
tg_cli: fix InputInvoice.
|
2022-06-06 17:11:43 +03:00 |
|
levlam
|
d626110e43
|
Add "is_premium_available" option.
|
2022-06-06 15:01:58 +03:00 |
|
levlam
|
cd095fa142
|
Improve documentation.
|
2022-06-03 18:46:13 +03:00 |
|
levlam
|
444d083f48
|
Add td_api::getPremiumStickers.
|
2022-06-03 18:16:12 +03:00 |
|
levlam
|
e81424ee86
|
Fix warning message.
|
2022-06-03 17:35:23 +03:00 |
|
levlam
|
8fae960e43
|
Support premium stickers in secret chats.
|
2022-06-03 17:31:48 +03:00 |
|
levlam
|
8b9bed6a0b
|
Add messageSticker.is_premium.
|
2022-06-03 16:33:49 +03:00 |
|
levlam
|
1e417ea212
|
Minor fixes.
|
2022-06-02 16:19:16 +03:00 |
|
levlam
|
329f3a11cb
|
Fix misprints.
|
2022-06-02 14:02:17 +03:00 |
|
levlam
|
5c7f842f72
|
Actually support targetChatChosen.
|
2022-06-01 18:35:34 +03:00 |
|
levlam
|
8c59d4bd6d
|
Improve td_api::internalLinkTypeAttachmentMenuBot.
|
2022-06-01 18:06:49 +03:00 |
|
levlam
|
9aac7a4d0c
|
Add td_api::premiumFeatureAppIcons.
|
2022-06-01 17:19:05 +03:00 |
|
levlam
|
dfe067e52e
|
Add supported chat types to internalLinkTypeAttachmentMenuBot.
|
2022-06-01 17:12:53 +03:00 |
|
levlam
|
7092674c05
|
Add td_api::getPremiumState.
|
2022-06-01 15:14:09 +03:00 |
|
levlam
|
969322f32d
|
Use capital first letters in "Web App".
|
2022-05-31 18:00:09 +03:00 |
|
levlam
|
f189351397
|
Add attachMenuBot.supports_settings.
|
2022-05-31 17:57:57 +03:00 |
|
levlam
|
6d0e57a8c5
|
Add is_recurring flags to messagePaymentSuccessful.
|
2022-05-30 16:35:25 +03:00 |
|
levlam
|
b1b532b818
|
Add invoice.recurring_payment_terms_of_service_url.
|
2022-05-30 16:09:50 +03:00 |
|
levlam
|
3b4b276737
|
Add chatPhoto.small_animation.
|
2022-05-30 04:01:55 +03:00 |
|
levlam
|
42ab42c83a
|
Add bio_length_max option.
|
2022-05-30 03:23:21 +03:00 |
|
levlam
|
549b86371d
|
Add premiumLimitTypeBioLength.
|
2022-05-30 02:20:12 +03:00 |
|
levlam
|
677c5795a3
|
Cancel speech recognition by timeout.
|
2022-05-27 19:07:37 +03:00 |
|
levlam
|
b56b778660
|
Add rateSpeechRecognition.
|
2022-05-26 20:40:43 +03:00 |
|
levlam
|
d9a9693747
|
Support updateTranscribeAudio.
|
2022-05-25 21:48:31 +03:00 |
|
levlam
|
151654eeea
|
Add td_api::recognizeSpeech
|
2022-05-25 21:18:40 +03:00 |
|
levlam
|
de4d3e7620
|
Register voice note messages.
|
2022-05-25 19:39:15 +03:00 |
|
levlam
|
44832189e3
|
Add voiceNote.recognized_text
|
2022-05-25 19:24:40 +03:00 |
|
levlam
|
e1cf18f1cc
|
Support chatInvitePublicJoinRequests.
|
2022-05-25 17:17:14 +03:00 |
|
levlam
|
59e926350e
|
Add source to DialogInviteLink constructor.
|
2022-05-25 16:31:17 +03:00 |
|
levlam
|
f443cec9bc
|
Add clickPremiumSubscriptionButton.
|
2022-05-25 15:34:36 +03:00 |
|
levlam
|
242776e817
|
Add td_api::viewPremiumFeature.
|
2022-05-24 20:45:03 +03:00 |
|
levlam
|
987c9487df
|
Improve documentation.
|
2022-05-24 20:17:51 +03:00 |
|
levlam
|
e2ce1a64c7
|
Add payment_link to premiumFeatures.
|
2022-05-24 16:30:01 +03:00 |
|
levlam
|
38be1031bc
|
Add internal "premium_bot_username" and "premium_invoice_slug" options.
|
2022-05-24 16:14:25 +03:00 |
|
levlam
|
7c7aa3d2de
|
Save app log event in getPremiumFeatures.
|
2022-05-24 15:42:46 +03:00 |
|
levlam
|
f408c663df
|
Remove "_limit" suffix from premium limit keys.
|
2022-05-24 02:59:11 +03:00 |
|
levlam
|
49b13c737f
|
Add td_api::getPremiumLimit.
|
2022-05-24 02:55:03 +03:00 |
|
levlam
|
2d90ccc1bc
|
Allow to specify source in getPremiumFeatures.
|
2022-05-24 02:19:30 +03:00 |
|
levlam
|
ab4a5d7499
|
Move get_premium_features to Premium.h.
|
2022-05-24 01:36:55 +03:00 |
|
levlam
|
23e9f03d70
|
Reuse get_premium_limit_keys.
|
2022-05-24 01:31:30 +03:00 |
|
levlam
|
7313ad311b
|
Move get_premium_limit_keys to Premium.h.
|
2022-05-24 01:21:03 +03:00 |
|
levlam
|
2c44f8c273
|
Add internalLinkTypePremiumFeatures.
|
2022-05-23 20:37:15 +03:00 |
|
levlam
|
d986c9bc27
|
Add option "chat_filter_chosen_chat_count_max".
|
2022-05-23 20:04:36 +03:00 |
|
levlam
|
c584b48c10
|
Replace MAX_INCLUDED_FILTER_DIALOGS with a function.
|
2022-05-23 19:04:09 +03:00 |
|
levlam
|
ef28bae155
|
Document the ability to increase limits with Telegram Premium.
|
2022-05-23 18:52:01 +03:00 |
|
levlam
|
e336819ac8
|
Add and use "chat_filter_count_max" option.
|
2022-05-23 18:26:54 +03:00 |
|
levlam
|
d87cd52b68
|
Return information about increased limits for Premium users.
|
2022-05-23 17:47:06 +03:00 |
|
levlam
|
2166f80ccb
|
Add td_api::getPremiumFeatures.
|
2022-05-23 15:56:31 +03:00 |
|
levlam
|
e9a8d43a0a
|
Add td_api::getAllAnimatedEmojis.
|
2022-05-23 14:05:35 +03:00 |
|
levlam
|
4e8e95c81c
|
Expect empty input media for a file too big to be sent to a secret chat.
|
2022-05-20 16:31:41 +03:00 |
|