Commit Graph

9620 Commits

Author SHA1 Message Date
levlam
44492c69f5 Fix return type of searchQuote. 2023-11-03 23:31:04 +03:00
levlam
3b0e6420e0 Minor improvements. 2023-11-03 17:00:22 +03:00
levlam
43f1d6aacb Early init ThemeManager. 2023-11-03 16:02:28 +03:00
levlam
9ab536efff tg_cli: avoid logging in as_formatted_text. 2023-11-03 14:05:15 +03:00
levlam
682df38d96 Add td_api::searchQuote. 2023-11-03 13:51:38 +03:00
levlam
be63745e03 tg_cli: escape unused reserved characters. 2023-11-03 12:27:36 +03:00
levlam
2a9c7555be Add accentColor.built_in_accent_color_id. 2023-11-02 23:37:42 +03:00
levlam
adc81fcea6 Fallback to default accent color for the chat. 2023-11-02 22:32:59 +03:00
levlam
00a6167952 Never send unknown accent color identifiers to the app. 2023-11-02 22:11:54 +03:00
levlam
25ef762e25 Remove class accentColorId. 2023-11-02 22:03:13 +03:00
levlam
3f8362a4bb Save accent colors to binlog. 2023-11-02 21:52:59 +03:00
levlam
4489ef54aa Add td_api::updateAccentColors. 2023-11-02 21:30:38 +03:00
levlam
08888d5ead Don't forget old colors. 2023-11-02 14:25:40 +03:00
levlam
ab5219f546 Parse accent colors from appConfig. 2023-11-02 14:21:55 +03:00
levlam
7d5b4e307d Add getWebPagePreview.link_preview_options. 2023-11-02 01:09:30 +03:00
levlam
0621514356 Add mentions of BlockQuote entities to documentation. 2023-11-01 23:27:35 +03:00
levlam
2669b48235 Document that message text can be empty. 2023-11-01 23:25:01 +03:00
levlam
c7d252bdc5 Ignore force_small_media if there is force_large_media. 2023-11-01 23:23:45 +03:00
levlam
e246ee7b5f tg_cli: add get_link_preview_options(). 2023-11-01 23:21:36 +03:00
levlam
1ca86b0c75 Fix message_id checks before accessing input_reply_to. 2023-11-01 22:39:35 +03:00
levlam
672981afad Ignore disable_web_page_preview if there is no URL to preview. 2023-11-01 22:25:28 +03:00
levlam
a805b98211 Don't send BlockQuote entities to secret chats. 2023-11-01 22:19:31 +03:00
levlam
c287417b2c Improve scheme comparison for hidden URLs in get_first_url. 2023-11-01 22:16:19 +03:00
levlam
d6b3a77899 Return Slice from get_first_url(). 2023-11-01 22:13:29 +03:00
levlam
46d188e35c Return full link_preview_options in messageText. 2023-11-01 21:55:12 +03:00
levlam
6f4bb7d099 Improve updateChatLastMessage documentation. 2023-11-01 21:43:46 +03:00
levlam
d5baf0fb3a tg_cli: fix setChatDraftMessage. 2023-11-01 21:35:43 +03:00
levlam
37637bf9ed Preload chat to which belongs the replied meessage from a draft. 2023-11-01 21:32:09 +03:00
levlam
36ce823dcc Add separate flag message.can_be_replied_in_another_chat. 2023-11-01 18:32:55 +03:00
levlam
0e0d6dd5eb Call hide_sender_if_needed immediately after origin creation. 2023-11-01 18:25:44 +03:00
levlam
887fd06e1c Keep external replies when forwarding a message. 2023-11-01 17:14:35 +03:00
levlam
6c1fb4fe57 Postpone adding of draft message to loaded from database chat. 2023-11-01 15:19:03 +03:00
levlam
0bbd41a5d5 Store directly pending_order in Dialog. 2023-11-01 15:02:32 +03:00
levlam
97eb982ade Fix get_input_message_reply_to_object. 2023-11-01 14:36:40 +03:00
levlam
95cf186fe6 Call on_dialog_updated and send_update_chat_draft_message independently. 2023-10-31 23:37:40 +03:00
levlam
740c001ff3 Add struct AddDialogData. 2023-10-31 23:24:28 +03:00
levlam
3e08601eea Silence old compiler warnings. 2023-10-31 22:34:40 +03:00
levlam
0e2300e1fa Add warning when reply quote changes. 2023-10-31 18:20:55 +03:00
levlam
d5d069416e Apply restrictions in channel chats. 2023-10-31 13:54:22 +03:00
levlam
2ad5a86fa7 Fix DialogParticipantStatus::get_effective_restricted_rights(). 2023-10-31 13:27:56 +03:00
levlam
9cf1afe1b0 Prefer original message as reply source. 2023-10-31 03:00:03 +03:00
levlam
04b431608d Fix get_message_reply_to_message_object and improve documentation. 2023-10-31 02:38:16 +03:00
levlam
d6f284e8cd Add td_api::getUserChatBoosts. 2023-10-31 01:52:26 +03:00
levlam
9e289e2046 Add chatBoost.id. 2023-10-31 01:14:18 +03:00
levlam
b2a85a5d1b Add td_api::updateChatBoost. 2023-10-31 00:18:38 +03:00
levlam
50243afc9a Add get_chat_boost_object function. 2023-10-31 00:09:48 +03:00
levlam
3c64604acc Update layer 166 scheme. 2023-10-30 23:26:53 +03:00
levlam
6ca71be27d Fix warning. 2023-10-30 23:17:39 +03:00
levlam
4cfe112d88 Improve chatBoostSourceGiveaway documentation. 2023-10-30 21:01:52 +03:00
levlam
4648901627 tg_cli: support reply with quote. 2023-10-30 20:20:27 +03:00