Commit Graph

7152 Commits

Author SHA1 Message Date
levlam
6143bb1b94 Replace color_replacements with fitzpatrick_type as needed by the latest rlottie version. 2021-11-23 15:01:12 +03:00
levlam
a761e41196 Cancel pending chat action after default send message as has changed. 2021-11-23 14:47:02 +03:00
levlam
acc43bb0b5 Allow typings by chats and rename updateUserChatAction to updateChatAction. 2021-11-23 14:29:49 +03:00
levlam
2eb5f1195c Add chatActionBarJoinRequest. 2021-11-23 13:06:38 +03:00
levlam
11b13021d2 Improve condition for changed forward_info warning. 2021-11-22 17:31:55 +03:00
levlam
f644dedcfa Replace private forward name before forwarding. 2021-11-22 11:17:28 +03:00
levlam
8f2a09f2cb Add userFullInfo.has_private_forwards. 2021-11-20 22:48:44 +03:00
levlam
e4df8d9458 Use get_message_sender. 2021-11-19 17:31:10 +03:00
levlam
993a9e24c4 Remove user_id from reportSupergroupSpam. 2021-11-19 17:12:38 +03:00
levlam
04be7955a7 Add MessagesManager::get_message_sender. 2021-11-19 17:12:22 +03:00
levlam
6941a4500a Support deletion from database messages by sender_dialog_id. 2021-11-19 16:00:21 +03:00
levlam
5232774d89 Replace deleteChatMessagesFromUser with deleteChatMessagesBySender. 2021-11-19 15:48:05 +03:00
levlam
a366d9b40d Support hash in ReloadSpecialStickerSetQuery. 2021-11-19 14:07:05 +03:00
levlam
9b5bc5f4f3 Use hash in GetStickerSetQuery. 2021-11-19 13:56:12 +03:00
levlam
6c9b5ebf55 Add td_api::setInactiveSessionsTtl. 2021-11-16 16:04:19 +03:00
levlam
b940d2e208 Add inactive_sessions_ttl_days. 2021-11-16 15:39:55 +03:00
levlam
526e7dc631 Add toggleSessionCanAcceptSecretChats. 2021-11-16 15:22:00 +03:00
levlam
b672a7de22 Add session.can_accept_secret_chats. 2021-11-16 12:34:17 +03:00
levlam
4c462789f1 Disable chat actions for file uploads as chats. 2021-11-16 09:30:12 +03:00
levlam
a72d1c2639 Use InvokeAfter for setChatDefaultMessageSender. 2021-11-15 23:29:39 +03:00
levlam
10c03c450f Improve MessageSender field names. 2021-11-15 17:25:24 +03:00
levlam
423e82ae2b Add td_api::setChatDefaultMessageSender. 2021-11-15 17:08:37 +03:00
levlam
108fca1e6e Add getChatAvailableMessageSenders. 2021-11-12 17:11:01 +03:00
levlam
fe8e521a41 Add chat.default_sender_id. 2021-11-12 16:15:19 +03:00
levlam
ae987f2211 Add inlineKeyboardButtonTypeUser. 2021-11-10 17:14:00 +03:00
levlam
6ace4fdf36 Update layer to 135. 2021-11-09 19:07:55 +03:00
levlam
9f6b3699c6 Add is_dialog_opened. 2021-12-07 12:32:23 +03:00
levlam
3070415ccd Use common QueryCombiner for get chat/channel full requests. 2021-12-06 21:22:56 +03:00
levlam
53b0cf792a Add thread count to Td creation logging. 2021-12-06 20:11:25 +03:00
levlam
e740f5f86c Try a few times to find the new binlog after renaming it. This could help on some virtual file systems like /mnt directory on WSL 2.0. 2021-12-06 13:58:11 +03:00
levlam
858078d89f Fix on_get_history. 2021-12-05 01:02:22 +03:00
levlam
084855c0c3 tg_cli: increase OP_BLOCK_COUNT. 2021-12-05 01:00:28 +03:00
levlam
a116185e83 Ensure that all messages after last_added_message_id are connected. 2021-12-05 00:22:56 +03:00
levlam
227fb48fbf Add MessagesManager::delete_newer_server_messages_at_the_end. 2021-12-05 00:12:59 +03:00
levlam
fe4efa3e5b Allow messageMediaEmpty before authorizartion. 2021-12-04 21:57:44 +03:00
levlam
d475b0fc89 tg_cli: add shortcuts for 'sob online'. 2021-12-03 11:20:56 +03:00
levlam
8d7bda00a5 Set connection online flag while logging out. 2021-12-02 15:10:51 +03:00
levlam
340e0f0b85 Fix has/have spelling. 2021-12-02 14:15:37 +03:00
levlam
9948677047 Fix another g++4.9 compilation error. 2021-12-01 22:25:52 +03:00
levlam
4f8cfce082 Fix g++4.9 compilation errors. 2021-12-01 20:54:56 +03:00
levlam
1d3cf2c209 Fix continuation of auth key destroy after restart. 2021-12-01 16:16:18 +03:00
levlam
a6c0902ad7 Silence g++ warnings. 2021-12-01 16:01:27 +03:00
levlam
aa9f63acfe Workaround https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56480. 2021-12-01 15:20:33 +03:00
levlam
923dd11fd8 Return back logging on folder_ptr == nullptr. 2021-11-30 00:39:10 +03:00
levlam
5dc5b473ea Fix cache update in GetChatInviteImportersQuery. 2021-11-29 15:09:13 +03:00
levlam
468fcc2564 tg_cli: use '.' as currently opened chat. 2021-11-28 11:49:46 +03:00
levlam
746c70900b Use different timeouts for different handshake parts. 2021-11-27 22:22:51 +03:00
levlam
e79ec9469b Fix link in sponsoredMessage. 2021-11-27 13:36:17 +03:00
levlam
25baedaa34 Move dismiss_suggested_action to SuggestedAction.cpp. 2021-11-26 14:48:43 +03:00
levlam
c49c5954ed Immediately drop User.is_changed flags after usage. 2021-11-25 14:18:06 +03:00