Commit Graph

7396 Commits

Author SHA1 Message Date
levlam
1e6c3ef93d Don't try to reload data mutiple times without network. 2023-02-06 20:31:17 +03:00
levlam
d4833b7844 Reload autosave settings periodically. 2023-02-06 20:10:27 +03:00
levlam
2260944afe Save autosave settings to database. 2023-02-06 19:53:21 +03:00
levlam
3d0140b3ef Fix SQLite key-value usage. 2023-02-06 15:41:22 +03:00
levlam
43e5f2aded Support updateAutosaveSettings in getCurrentState. 2023-02-05 10:04:19 +03:00
levlam
f6616f6ba3 Fix creator in ForumTopicInfo. 2023-02-04 17:59:17 +03:00
levlam
e9aa2fd64b Don't try to check password without checkAuthenticationPassword/recoverAuthenticationPassword query. 2023-02-04 13:36:01 +03:00
levlam
9bf492dbc0 Fix warnings. 2023-02-04 09:55:11 +03:00
levlam
2f46132aa2 Send updateAutosaveSettings. 2023-02-04 03:32:16 +03:00
levlam
810b58d55a Check and fix max_video_file_size. 2023-02-03 16:49:17 +03:00
levlam
7556ef4b18 Support telegram_api::updateAutoSaveSettings. 2023-02-03 16:08:44 +03:00
levlam
39f4091ac5 Add td_api::setAutosaveSettings. 2023-02-03 15:58:15 +03:00
levlam
498f507646 Improve class names. 2023-02-03 13:45:51 +03:00
levlam
255d887bce Add td_api::clearAutosaveSettingsExceptions. 2023-02-03 13:07:43 +03:00
levlam
c5c9707837 Add td_api::getAutosaveSettings. 2023-02-03 12:39:23 +03:00
levlam
216b6e1acf Add AutosaveManager. 2023-02-03 10:41:31 +03:00
levlam
3179d35694 Update version to 1.8.11. 2023-02-02 19:19:34 +03:00
levlam
0adcac246a Use explicit as_mutable_slice to get MutableSlice. 2023-02-02 17:40:47 +03:00
levlam
38b2fbe176 Fix query merge while closing. 2023-02-02 03:15:10 +03:00
levlam
882de6e8e8 Replace unsafe to maintain data_ field with get_data() method. 2023-02-02 03:08:26 +03:00
levlam
6be6871b5b Fix error handling in QueryMerger. 2023-02-01 18:56:28 +03:00
levlam
d824cec905 Add get_custom_emoji_stickers_unlimited. 2023-02-01 03:48:06 +03:00
levlam
7596600548 Reload default chat photo custom emoji identifiers. 2023-02-01 02:35:57 +03:00
levlam
783a73b0e6 Fix formatting. 2023-02-01 02:18:02 +03:00
levlam
b067159d78 Improve chat type check. 2023-02-01 02:10:03 +03:00
levlam
b1ea693f1b Don't try to repair empty draft message. 2023-02-01 01:51:41 +03:00
levlam
ec7c72e942 Check chat activness. 2023-02-01 01:48:05 +03:00
levlam
101afa286e Don't check bot_is_member and bot_administrator_rights. 2023-02-01 00:40:39 +03:00
levlam
a347eb4da3 Add ability to check shared with bot user/chat. 2023-01-31 16:52:05 +03:00
levlam
ade5a089e9 Implement ReplyMarkup::check_shared_dialog. 2023-01-31 16:40:51 +03:00
levlam
9d5299820c Add updateNewChatJoinRequest.user_chat_id. 2023-01-31 13:50:40 +03:00
levlam
4d70d1e920 Minor improvements. 2023-01-31 13:33:30 +03:00
levlam
ed32026958 Increase MessageUnsupported version. 2023-01-30 21:47:54 +03:00
levlam
68d7353350 Add listener nullability checks. 2023-01-30 18:21:57 +03:00
levlam
784b46a298 Add td_api::deviceTokenHuaweiPush. 2023-01-30 15:42:15 +03:00
levlam
47fd88b33f Add and use "since_last_open" internal option. 2023-01-30 01:29:33 +03:00
levlam
0469ac0147 Add inputChatPhotoSticker. 2023-01-30 00:35:14 +03:00
levlam
5666925e5b Don't postpone updates during initial getDifference. 2023-01-29 12:49:25 +03:00
levlam
23b345f87c Improve LinkManager::get_external_link_info. 2023-01-28 03:41:17 +03:00
levlam
75dacac872 Add td_api::emojiCategoryTypeChatPhoto. 2023-01-27 15:16:40 +03:00
levlam
25cdd0e6ec Ignore message_thread_id for channel posts. 2023-01-26 01:12:23 +03:00
levlam
a4f61ce47d Add td_api::premiumFeatureRealTimeChatTranslation. 2023-01-25 21:26:09 +03:00
levlam
17f16ce839 Avoid duplicate updateUserStatus updates for self. 2023-01-25 21:00:41 +03:00
levlam
f6485e711e Add StickersManager::get_used_language_codes_string. 2023-01-25 20:25:23 +03:00
levlam
f9b81efe4b Replace result with "Request Aborted" error only if it is successful. 2023-01-25 19:58:23 +03:00
levlam
5cd523408d Asynchronously check local location of all viewed and opened files. 2023-01-25 19:25:04 +03:00
levlam
5a6fb91bd9 Remove unneeded logging. 2023-01-25 17:50:42 +03:00
levlam
2325c5041b Collect statistics about received updates. 2023-01-25 17:48:04 +03:00
levlam
30cdbe69b6 Store emoji groups in the database. 2023-01-25 16:23:34 +03:00
levlam
57548741c4 Send updateNewMessage after file upload has started. 2023-01-25 13:03:57 +03:00