Commit Graph

12782 Commits

Author SHA1 Message Date
levlam
22ebe2c7bf Update layer to 181. 2024-05-06 19:14:42 +03:00
levlam
2a04800ce9 tg_cli: remove protect_content and update_sticker_set_order flags. 2024-05-21 12:31:13 +03:00
levlam
53c3e79197 Move class HttpDate to tdutils. 2024-05-20 13:46:32 +03:00
levlam
699707a09b Add and use UserManager::get_user_id_object_async. 2024-05-19 21:37:17 +03:00
levlam
3fad1b68a7 Add separate TL_MTPROTO_AUTO_SOURCE. 2024-05-18 21:16:51 +03:00
levlam
a104d812b3 Manually parse mtproto_api::gzip_packed. 2024-05-18 21:01:07 +03:00
mikhnenko
fd3154b287 Moved the use of methods marked constexpr from the 20th standard to forward declared types 2024-05-17 21:57:53 +03:00
levlam
d75adbf2c5 Improve logging. 2024-05-17 18:25:46 +03:00
levlam
ad3e1bf060 Update list of TLDs. 2024-05-16 00:21:31 +03:00
levlam
12c1689b54 Dispatch net query only after locked check of close_flag_. 2024-05-15 15:38:51 +03:00
levlam
29cd56cab0 Move some NetQuery function implementations to cpp. 2024-05-15 15:05:36 +03:00
levlam
f95132c5bd Ignore INPUT_TEXT_EMPTY errors for translateText. 2024-05-15 13:57:33 +03:00
levlam
d269672357 Combine non-bot actions after adding a message to a chat. 2024-05-15 12:23:07 +03:00
levlam
8d8b9ffc0b Asynchronously update message content when story is changed to avoid possible cycles. 2024-05-15 12:05:45 +03:00
levlam
7ab118780a Add source to on_external_update_message_content. 2024-05-15 11:40:47 +03:00
levlam
783033c430 Ignore saved to database order for chats that must not be added to chat list. 2024-05-15 00:29:19 +03:00
levlam
38a1d7ac8e Always create chat to update its order when channel status changes. 2024-05-14 23:31:34 +03:00
levlam
e15768d520 Fix CHECK in need_skip_bot_commands. 2024-05-14 22:02:13 +03:00
levlam
c785ae579c Fix TtlNode operator==. 2024-05-14 21:09:58 +03:00
levlam
6fe43311cb Add protection from chat folder deletion and recreation with the same identifier while chat list is loaded. 2024-05-14 21:00:59 +03:00
levlam
1601b703de Fix condition for creation of a new log event. 2024-05-14 20:45:10 +03:00
levlam
1fdb72aece Add replied_message_info CHECKs. 2024-05-14 20:39:07 +03:00
levlam
a33ba10197 Add more message_id validness CHECKs. 2024-05-14 19:14:09 +03:00
levlam
b45769f4da Handle deletion of chat filter during chat list loading. 2024-05-14 15:21:46 +03:00
levlam
7de27ca2c2 Stop Channel parsing if have invalid flags. 2024-05-14 15:08:34 +03:00
levlam
39d826937e Add logging on Client creation/closing. 2024-05-14 13:05:01 +03:00
levlam
3fe4b2ee08 Explicitly specify return type in the last send_query. 2024-05-14 01:00:38 +03:00
levlam
dbd22cb665 Explicitly specify query return types in test-online to avoid compilation errors. 2024-05-14 00:55:35 +03:00
levlam
b5610e560f Fix warning. 2024-05-14 00:10:01 +03:00
levlam
2003d0a4e3 Update base Docker Android build Ubuntu image to 24.04. 2024-05-14 00:08:17 +03:00
levlam
54db619b91 Increase minimal supported commit for Android docker build, because SDK platform must be the same. 2024-05-13 23:07:04 +03:00
levlam
f28fa6a860 Add example of building TDLib for Android with JSON interface. 2024-05-13 21:54:55 +03:00
levlam
2ede408570 Android example: use build-tools for Android 34 and add support for NDK 26+. 2024-05-13 16:01:28 +03:00
levlam
02a096fcbe Update Android command line tools version. 2024-05-13 15:58:03 +03:00
levlam
4e0c000968 Actualize supergroup.member_count documentation. 2024-05-13 00:33:02 +03:00
levlam
5466f5bd2e Remove unused variable. 2024-05-13 00:28:05 +03:00
levlam
60247851bf Add Ubuntu 24 to build instructions generator. 2024-05-12 23:36:54 +03:00
levlam
bae3368386 Use specific libc++ version on newer Ubuntu versions. 2024-05-12 23:32:01 +03:00
levlam
af954008e6 Fix C++ interface name. 2024-05-12 23:25:35 +03:00
levlam
2cd58aa9df Fix warning suppression. 2024-05-12 22:41:46 +03:00
levlam
7b5a88f003 Use Promise in getChatMessageByDate instead of RequestActor. 2024-05-12 00:48:28 +03:00
levlam
3cca264f8d Use Promise in searchSecretMessages instead of RequestActor. 2024-05-11 21:54:21 +03:00
levlam
cf4cfc3c57 Move chat list check inside search_messages. 2024-05-10 14:15:02 +03:00
levlam
1d9f7c0482 Use Promise in searchMessages instead of RequestActor. 2024-05-10 14:08:10 +03:00
levlam
da687ab202 Improve channel accessibility check. 2024-05-09 00:15:11 +03:00
levlam
e4796b9bb6 Fix processing of optional appConfig parameters. 2024-05-08 22:47:53 +03:00
levlam
e065cce247 Move device token check to DeviceTokenManager. 2024-05-08 12:17:11 +03:00
levlam
dbd397cb0e Fix some GCC 4.9 compilation errors. 2024-05-08 10:30:02 +03:00
levlam
0535cba37c Add source to send_update_new_chat. 2024-05-07 20:03:04 +03:00
levlam
19533bc90a Use safe identical code folding on Android. 2024-05-06 21:50:17 +03:00