Commit Graph

6911 Commits

Author SHA1 Message Date
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
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