Commit Graph

10842 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
4e0c000968 Actualize supergroup.member_count documentation. 2024-05-13 00:33:02 +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
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
levlam
59f8072460 Reload full channel after failed leave attempt to repair member counters. 2024-05-03 16:32:28 +03:00
levlam
489b4ad489 Revert speculative add of self after failed join. 2024-05-03 15:58:15 +03:00
levlam
ea2342d095 Fix dismiss of contact birthdays. 2024-05-03 14:16:42 +03:00
levlam
11631c3442 Document that MP3 and M4A audios can be used as voice notes. 2024-05-03 00:39:35 +03:00
levlam
486ecb8d70 Improve processing of already applied channel updates. 2024-05-02 21:35:25 +03:00
levlam
4b9c94c559 tg_cli: support FreeformGradientPattern. 2024-05-02 18:54:38 +03:00
levlam
f54fdd3926 Ignore rotation angle for non-gradient patterns. 2024-05-02 18:42:08 +03:00
levlam
51db71c250 Add operator<< for BackgroundFill. 2024-05-02 18:30:21 +03:00
levlam
d01cac3344 Improve documentation. 2024-05-02 17:23:41 +03:00
levlam
0b5da7fcd2 Reload chats with inaccessible users for bots. 2024-05-02 17:21:29 +03:00
levlam
a89be2370c Support live_period in editInlineMessageLiveLocation. 2024-05-02 16:32:44 +03:00
levlam
140c97f8ac Support live_period in edtiMessageLiveLocation. 2024-05-02 16:24:35 +03:00
levlam
0a06d75c1a Improve live location documentation. 2024-05-02 14:03:59 +03:00
levlam
67e0e579f5 Fix misprint. 2024-05-02 12:47:17 +03:00
levlam
5ae40fd832 Check that personal chat is a channel chat. 2024-05-01 18:59:07 +03:00
levlam
43012bbfaf Add User.flags2. 2024-05-01 18:50:58 +03:00
levlam
5a7970fe79 Improve emoji category type name and documentation. 2024-05-01 18:24:18 +03:00
levlam
3df2fbc072 Fix correct_option_id check. 2024-05-01 18:05:11 +03:00