Commit Graph

9676 Commits

Author SHA1 Message Date
levlam
88c05ace2c Compare only identifiers for pending profile photos. 2023-11-13 13:19:58 +03:00
levlam
55bd922fed Use less error-prone timeout time for channel unban. 2023-11-13 00:11:08 +03:00
levlam
413556bab7 Add and use MessagesManager::on_get_message_error. 2023-11-12 22:55:48 +03:00
levlam
24f74a018e Correctly asynchronously destroy found_stickers_. 2023-11-11 09:21:07 +03:00
levlam
1d1d41e39e Update chat background only from outgoing messages. 2023-11-10 18:44:25 +03:00
levlam
ee25630c2b Delete duplicate of a just sent message before sending updateMessageSendSucceeded. 2023-11-10 18:43:04 +03:00
levlam
6ee64289f3 Fix MessagesManager::get_replied_message_id. 2023-11-09 18:23:36 +03:00
levlam
8ec587f537 Improve getRepliedMessage documentation. 2023-11-09 17:00:01 +03:00
levlam
9184b3e62d Don't warn if sticker's emoji changes. 2023-11-09 02:15:35 +03:00
levlam
a538581a4b Return back is_topic_message change. 2023-11-09 02:06:43 +03:00
levlam
67f76241e9 Improve error logging. 2023-11-09 01:52:20 +03:00
levlam
247eff6f58 Fix updates logging. 2023-11-09 01:46:02 +03:00
levlam
10dda3df77 Expect no access to messageMediaStory's chat. 2023-11-09 01:42:20 +03:00
levlam
4ce900c5fd Improve draft message emptiness check. 2023-11-09 01:31:24 +03:00
levlam
9f909a43ea Improve documentation. 2023-11-09 00:44:29 +03:00
levlam
ca3173e1e1 Don't reload chat/channel after receiving them for the first time. 2023-11-09 00:15:19 +03:00
levlam
7039272ae8 Add source to reload_user/chat/channel. 2023-11-08 23:48:27 +03:00
levlam
49a75ad084 Add source to QueryMerger::add_query. 2023-11-08 23:22:18 +03:00
levlam
776e992c45 Fix calls to on_update_channel_default_permissions. 2023-11-08 23:16:30 +03:00
levlam
a7c5b80b6d Use QueryMerger for getMe queries to combine them. 2023-11-08 17:25:41 +03:00
levlam
3d163e8fb2 Preload self user to process updateBotStopped. 2023-11-08 17:04:51 +03:00
levlam
da9afda7e6 Fix SessionMultiProxy::update_options. 2023-11-08 11:26:37 +03:00
levlam
c926b16896 Support pre-existing BlockQuote entities in parseMarkdown. 2023-11-07 19:40:45 +03:00
levlam
70fef6b592 Always show large document, music, and voice note files in link preview. 2023-11-07 17:17:07 +03:00
levlam
9a614590c2 Improve has_large_media documentation. 2023-11-07 17:01:53 +03:00
levlam
31b5478048 Fix getRepliedMessage documentation. 2023-11-07 13:36:18 +03:00
levlam
21d5184e9f Improve RepliedMessageInfo::get_same_chat_reply_to_message_id. 2023-11-07 03:43:48 +03:00
levlam
1522779b97 Return unchecked accent color id for bots. 2023-11-07 03:24:57 +03:00
levlam
08359b46fc Improve RepliedMessageInfo::get_reply_message_full_id. 2023-11-07 02:48:01 +03:00
levlam
c886e4f3c8 Don't get channel difference before adding messages for bots. 2023-11-07 02:16:36 +03:00
levlam
d305476cfe Load only accent colors in ThemeManager constructor. 2023-11-07 00:17:49 +03:00
levlam
3870c29b15 Update version to 1.8.21. 2023-11-06 20:52:28 +03:00
levlam
baed5606fb Prevent unloading of replied polls. 2023-11-06 20:37:17 +03:00
levlam
da461f5da2 Register replies for yet unsent forwarded messages with external replies. 2023-11-06 19:15:47 +03:00
levlam
ea6fa8e5d2 Add URL emptiness check. 2023-11-06 19:04:43 +03:00
levlam
aba3f38a2f Add RepliedMessageInfo::legacy static function instead of legacy constructors. 2023-11-06 18:29:47 +03:00
levlam
e9bf274f33 Log if link preview is disabled, but still present. 2023-11-06 15:59:10 +03:00
levlam
d1202f84a3 Fix warnings. 2023-11-06 15:47:35 +03:00
levlam
32cee07888 Fix MessageGiveawayLaunch. 2023-11-06 15:30:02 +03:00
levlam
728e2e18ee Add messageSendingStateFailed.need_drop_reply. 2023-11-06 15:08:28 +03:00
levlam
6c74ee92dd Improve fields name. 2023-11-06 14:46:12 +03:00
levlam
82fd344783 Improve country_codes documentation. 2023-11-06 13:59:22 +03:00
levlam
c21c9ec87e Improve field name. 2023-11-06 13:51:49 +03:00
levlam
4985931f5c Document that giveaways can't be copied. 2023-11-06 13:41:24 +03:00
levlam
8bd5f61ee7 Improve documentation spelling. 2023-11-06 13:31:30 +03:00
levlam
8228c2e7b6 Allow to change reply quote in resendMessages. 2023-11-06 13:20:16 +03:00
levlam
0139e73910 Reload replied message when receiving QUOTE_TEXT_INVALID. 2023-11-06 12:50:26 +03:00
levlam
e7f70d0e09 Add messageSendingStateFailed.need_another_reply_quote. 2023-11-06 12:42:06 +03:00
levlam
d0f6791777 Support PreCode entities in getMarkdownText. 2023-11-06 02:11:15 +03:00
levlam
000da35ad0 Always remove new line on the first empty line of Pre entity. 2023-11-06 02:03:29 +03:00