Commit Graph

4952 Commits

Author SHA1 Message Date
levlam
9440925711 Move some classes inside corresponding managers. 2021-06-18 03:06:20 +03:00
levlam
ed7a7e5eaf Check UTF-8 correctness of strings before adding them to Hints. 2021-06-17 23:29:13 +03:00
levlam
843df9e1f7 Remove unneeded td_api::getGroupCallMediaChannelDescriptions. 2021-06-17 21:37:39 +03:00
levlam
84cf82583e Add td_api::checkStickerSetName. 2021-06-17 21:29:07 +03:00
levlam
706647bdbc Add the method getSuggestedStickerSetName. 2021-06-17 20:38:03 +03:00
levlam
4048e5ae95 Enable createNewStickerSet for regular users. 2021-06-17 20:14:48 +03:00
levlam
a8edbe38db Update layer 129. 2021-06-17 19:00:47 +03:00
levlam
8730e92d7c Use limit 1 in the first channel difference request. 2021-06-16 05:25:44 +03:00
levlam
a36266a764 Add BinlogKeyValue logging. 2021-06-16 05:23:22 +03:00
levlam
d069de6a8b Drop channel pts in inaccessible channels. 2021-06-16 02:54:17 +03:00
levlam
090056f21d Allow to set empty group call title. 2021-06-15 20:56:59 +03:00
levlam
8a418e9e03 Use Status::move_as_error_suffix to keep error type. 2021-06-14 01:24:15 +03:00
levlam
924286da8f Use manual checks instead of cmake_minimum_required to propagate policies. 2021-06-13 23:38:48 +03:00
levlam
1e8724127a Add cache of channel participants for bots-administrators. 2021-06-12 23:53:14 +03:00
levlam
6f51690275 Add ContactsManager::on_get_channel_participant. 2021-06-11 20:02:49 +03:00
levlam
3941144700 tg_cli: fix FileLog opening. 2021-06-11 17:04:00 +03:00
levlam
c1db660d4a Add suggestedActionCheckPassword. 2021-06-11 02:48:10 +03:00
levlam
c4dab736c9 Add suggestedActionCheckPhoneNumber support. 2021-06-11 02:13:46 +03:00
levlam
411d30e1c7 Remove Td::on_channel_unban_timeout proxy. 2021-06-10 21:56:05 +03:00
levlam
138535ccf8 Store multiple local backgrounds. 2021-06-10 18:58:19 +03:00
levlam
64df3b4b3c Remove unneeded add_local_background method and allow non-default installed backgrounds without file. 2021-06-10 04:55:58 +03:00
levlam
75fc042e09 Replace add_fill_background with add_local_background. 2021-06-10 04:44:39 +03:00
levlam
aba5b1ab7c Use autoincremented IDs for local backgrounds. 2021-06-10 03:57:58 +03:00
levlam
a04a481fd4 Remove unused variable. 2021-06-10 02:42:30 +03:00
levlam
ab4373833b Make BackgroundFill fields private. 2021-06-10 02:16:46 +03:00
levlam
636aa3f74e Improve BackgroundType constructor. 2021-06-10 02:09:16 +03:00
levlam
8b3c7b2c39 Impriove BackgroundType field names style. 2021-06-10 01:44:46 +03:00
levlam
958e1a83b1 Make BackgroundType fields private. 2021-06-10 01:29:42 +03:00
levlam
7b2c6bdbdb Move BackgroundType methods inside the class. 2021-06-09 21:19:08 +03:00
levlam
d768a194f6 Add BackgroundType::get_mime_type. 2021-06-09 20:58:39 +03:00
levlam
2657f41775 Use BackgroundType::has_file if possible. 2021-06-09 20:48:15 +03:00
levlam
8b87e8ed56 Allow pre, TextUrl and TextMention entities, containing only new lines. 2021-06-09 20:35:02 +03:00
levlam
3614425c8a Add is_hidden_data_entity function. 2021-06-09 19:59:52 +03:00
levlam
4a35b3e621 Remove BackgroundType::is_server. 2021-06-09 19:19:48 +03:00
levlam
5188a5b5e7 Allow to set non-local filled backgrounds. 2021-06-09 19:08:47 +03:00
levlam
d10cc1eb77 Add and use BackgroundId::is_local. 2021-06-09 17:14:10 +03:00
levlam
197992da2c Add logging on failed check. 2021-06-09 00:56:08 +03:00
levlam
d80b613b55 Remove support for secret chat layers before 73. 2021-06-08 18:31:29 +03:00
levlam
c30ccd1e0d Support removing Fill backgrounds from default list. 2021-06-08 01:10:19 +03:00
levlam
36bcbcb418 Simplify background unsaving. 2021-06-07 20:46:57 +03:00
levlam
c91653ba58 tg_cli: start group call screen sharing with different source identifiers. 2021-06-07 19:35:12 +03:00
levlam
554d1e3677 Apply self-leaving from group call through on_group_call_left_impl after other updates. 2021-06-07 16:56:56 +03:00
levlam
06409d68f5 Update order of group call participants after min_order is decreased. 2021-06-06 03:22:43 +03:00
levlam
d2f575fc1c Ignore FTP links in get_first_url. 2021-06-04 21:33:20 +03:00
levlam
89459ca497 Replace getInviteText with getApplicationDownloadLink. 2021-06-04 19:31:18 +03:00
levlam
70a76e333f Erase server_time_difference from binlog if time adjustment protection is disabled. 2021-06-04 17:18:59 +03:00
levlam
2af0aa0074 Support negative background intensity. 2021-06-04 16:05:29 +03:00
levlam
4b2c948a99 Minor. 2021-06-04 02:18:57 +03:00
levlam
af33e8343a Improve method name. 2021-06-04 01:17:15 +03:00
levlam
a96bf1531a Use FullMessageId in get_login_button_url. 2021-06-03 23:37:56 +03:00