Commit Graph

10054 Commits

Author SHA1 Message Date
levlam
4271b9ab45 Minor improvements. 2023-04-19 15:30:31 +03:00
levlam
b88da80fc2 Fix sticker comparison in remove_recent_sticker. 2023-04-19 12:11:22 +03:00
levlam
58301570c6 Minor improvements. 2023-04-19 10:38:55 +03:00
levlam
27c3064c56 Remove DialogFilterManager::hide_dialog_filter_new_chats. 2023-04-19 10:18:40 +03:00
levlam
1d5d505789 Shuffle built-in datacenter IP addresses. 2023-04-19 10:07:57 +03:00
levlam
4b7c1aee03 Add and use Random::shuffle. 2023-04-19 10:02:34 +03:00
levlam
af54239018 Workaround MSVC 2015 compilation error. 2023-04-19 01:40:12 +03:00
levlam
cd20d62c9c Rename Op::string to Op::str to avoid ambiguity. 2023-04-19 00:57:46 +03:00
levlam
342c042ed7 Improve initialization order. 2023-04-19 00:50:13 +03:00
levlam
7ba56726e0 Log received language info. 2023-04-18 18:58:51 +03:00
levlam
afefdbcca0 Update another TLS ClientHello. 2023-04-18 18:24:57 +03:00
levlam
35327de43d Update TlsInit. 2023-04-18 13:32:48 +03:00
levlam
0243f9d5e0 Improve log messages. 2023-04-17 18:12:44 +03:00
levlam
8028a810ec Combine setBotInfo queries. 2023-04-17 13:28:26 +03:00
levlam
ca842596ab Fix read_dialog_inbox. 2023-04-17 12:28:51 +03:00
levlam
6ec89d0dad Combine GetBotInfo queries. 2023-04-17 12:23:21 +03:00
levlam
9263db3146 Move bot-related methods to BotInfoManager. 2023-04-16 23:25:52 +03:00
levlam
4f916a4d8e Add BotInfoManager. 2023-04-16 23:12:28 +03:00
levlam
cbe62e306d Improve log message. 2023-04-16 21:09:51 +03:00
levlam
b171040808 Fix secret chat creation. 2023-04-15 11:39:22 +03:00
levlam
cfe57dbd60 Add td_api::readChatList. 2023-04-14 15:17:25 +03:00
levlam
d302dbd241 Add MessagesManager::read_dialog_inbox. 2023-04-14 14:55:59 +03:00
levlam
598ba5422f Add MessagesManager::get_chat_ids_object. 2023-04-14 13:38:25 +03:00
levlam
cfc46b1893 Load chat with its info if appropriate. 2023-04-13 23:13:38 +03:00
levlam
e1eff4a06a Add MessagesManager::get_chat_id_object for checking chat_id before returning it. 2023-04-13 22:41:22 +03:00
levlam
50effcbaf4 Immediately delete chat background on removing it. 2023-04-13 20:10:44 +03:00
levlam
d597764a50 Improve switching between user and channel in voice chat. 2023-04-13 17:06:02 +03:00
levlam
a21b49ddfd Avoid rare PTS getDifference after logging in. 2023-04-12 12:06:28 +03:00
levlam
e85a83ffb7 Don't add muted by admin users to recent speakers. 2023-04-12 11:24:06 +03:00
levlam
19502cbe15 Remove separate td_api::hideChatFolderNewChats. 2023-04-12 01:52:36 +03:00
levlam
9ebadf508c Fix handling of min users. 2023-04-12 01:45:29 +03:00
levlam
e0bee7757b Improve get_message_user_ids and get_message_channel_ids. 2023-04-12 01:33:48 +03:00
levlam
b4d6b68195 Replace dark_theme_brightness with dark_theme_dimming. 2023-04-12 00:59:53 +03:00
levlam
5df2f3c141 Add inputBackgroundPrevious. 2023-04-12 00:02:42 +03:00
levlam
b130306ce7 Add td_api::setChatBackground. 2023-04-11 17:46:55 +03:00
levlam
0ce6dc6834 Allow nullptr in BackgroundType::get_background_type. 2023-04-10 20:53:45 +03:00
levlam
45dd4eed9a tg_cli: add class BackgroundType. 2023-04-10 20:22:10 +03:00
levlam
456129935e tg_cli: add as_wallpaper_background. 2023-04-10 19:45:15 +03:00
levlam
23e7d8fad1 tg_cli: add class InputBackground. 2023-04-10 19:41:54 +03:00
levlam
00ed2f85b8 Support dark_theme_brightness for chat backgrounds. 2023-04-10 18:45:26 +03:00
levlam
13d0536db1 Add chat.background. 2023-04-10 17:23:21 +03:00
levlam
64b2cb4e12 Add class BackgroundInfo. 2023-04-10 16:32:59 +03:00
levlam
10562f5bac Add pushMessageContentChatSetBackground. 2023-04-10 15:14:03 +03:00
levlam
0823c902bd Add td_api::messageChatSetBackground. 2023-04-10 14:12:35 +03:00
levlam
4c27e92006 Add "chat_folder_invite_link_count_max" and "added_shareable_chat_folder_count_max" options. 2023-04-10 12:46:16 +03:00
levlam
90967ba8cf Improve source in get_channel_full_force. 2023-04-09 23:47:47 +03:00
levlam
bef7184566 Improve have_input_peer for bots. 2023-04-09 23:00:44 +03:00
levlam
a52b6f025f Add td_api::getChatsForChatFolderInviteLink. 2023-04-09 21:54:40 +03:00
levlam
33ac156bc0 Increase appConfig version. 2023-04-09 01:50:02 +03:00
levlam
d6b53d61fc Use request promise in td_api::getChatFolder. 2023-04-09 01:35:42 +03:00