Commit Graph

12773 Commits

Author SHA1 Message Date
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
levlam
a6bfa6327b Make send_later_impl non-template. 2024-05-06 20:31:30 +03:00
levlam
2181783bee Manually split send_immediately and send_later implementations. 2024-05-06 19:38:24 +03:00
levlam
44b548c307 Move common code to a non-template function. 2024-05-06 14:20:35 +03:00
levlam
36ace421b8 Remove redundant CHECK. 2024-05-06 11:06:44 +03:00
levlam
836359104e Improve logging for pendding web pages. 2024-05-05 01:21:52 +03:00
levlam
b1044c9348 Don't check received from server strings for emptiness. 2024-05-04 23:12:26 +03:00
levlam
4e085215b3 Improve error message. 2024-05-04 22:42:22 +03:00
levlam
af69dd4397 Update version to 1.8.29. 2024-05-04 02:45:54 +03:00
levlam
e896912ea1 Fix compilation error with old compilers. 2024-05-04 02:44:53 +03:00