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 |
|