Commit Graph

9739 Commits

Author SHA1 Message Date
levlam
899587e4fa Add and use is_editable_message_content. 2024-02-23 20:19:54 +03:00
levlam
fe6201556b Fix GCC 4.9 compilation errors. 2024-02-22 13:08:31 +03:00
levlam
0862f03be2 Don't mark FolderId constructor as constexpr. 2024-02-22 01:12:50 +03:00
levlam
fe749cfb9b Add DialogManager::set_dialog_location. 2024-02-20 00:43:04 +03:00
levlam
da979c4631 Move user_online_member_dialogs_ to DialogParticipantManager. 2024-02-19 02:15:05 +03:00
levlam
59b1d7a4f6 Add ContactsManager::update_chat_online_member_count(ChatId). 2024-02-19 01:46:57 +03:00
levlam
32040c22cb Move get_dialog_about to DialogManager. 2024-02-19 01:10:57 +03:00
levlam
5828e46046 Don't subscribe to some state changes by bots. 2024-02-19 00:23:46 +03:00
levlam
acef6e61a0 Check close_flag() first. 2024-02-18 20:55:41 +03:00
levlam
b6b5b1b9ed Don't set network type if network statistics is disabled. 2024-02-17 21:39:12 +03:00
levlam
d93a99e335 Update version to 1.8.25. 2024-02-16 01:00:29 +03:00
levlam
5b9c066b34 Add binlog_ null checks. 2024-02-15 19:54:14 +03:00
levlam
e12b13bbb0 Keep reference to Td in TdDb::open to ensure that it isn't closed completely in the meanwhile. 2024-02-15 19:45:27 +03:00
levlam
6707463e85 Don't check ChannelFull for bots. 2024-02-15 18:47:20 +03:00
levlam
da5ba34850 Minor fixes. 2024-02-15 17:19:19 +03:00
levlam
78f3363486 Add key validness checks before adding to FlatHashSet. 2024-02-15 17:16:08 +03:00
levlam
0369a1a185 Check options in alphabetical order. 2024-02-15 16:32:03 +03:00
levlam
82e3cef939 Ignore duplicate animations in premium state. 2024-02-15 12:05:00 +03:00
levlam
862497601e Fix chatEventStickerSetChanged. 2024-02-14 18:02:48 +03:00
levlam
52c27fef85 Remove redundant logging. 2024-02-14 13:56:18 +03:00
levlam
e1098ef8e9 Allow empty non-null backgrounds in chat event log. 2024-02-13 16:56:07 +03:00
levlam
4198bff4af Don't initialize story sender for anonymous administrators. 2024-02-13 14:17:47 +03:00
levlam
6dfdb00f85 Support messageActionBoostApply. 2024-02-13 13:45:40 +03:00
levlam
781c9f53cb Fix sender_id for yet unsent stories. 2024-02-13 13:41:51 +03:00
levlam
e978e86c50 Add more story_id checks. 2024-02-13 13:41:05 +03:00
levlam
0dc90cf820 Remove chat identifier from setStoryPrivacySettings. 2024-02-13 13:13:41 +03:00
levlam
e9c8fb8cb4 Ignore story privacy settings for channel stories. 2024-02-13 13:07:09 +03:00
levlam
1c40ce963c Reload chats to send stories after updating the list locally to restore correct order. 2024-02-13 12:55:07 +03:00
levlam
638e5e5d8c Update default list of Premium features. 2024-02-13 00:10:54 +03:00
levlam
6b0262e9f7 Increase appConfig version. 2024-02-12 23:37:18 +03:00
levlam
0bdc409212 Add td_api::premiumFeatureLastSeenTimes. 2024-02-12 23:32:01 +03:00
levlam
b9de5cd0f9 Add td_api::premiumFeatureMessagePrivacy. 2024-02-12 23:27:44 +03:00
levlam
02d1cef461 Fix handling of 0 min boost level. 2024-02-12 22:59:12 +03:00
levlam
9a9ffa6794 Add and use can_change_info_and_settings_as_administrator. 2024-02-12 18:48:14 +03:00
levlam
9e32ab8ad1 Improve can_change_info right documentation. 2024-02-12 18:00:38 +03:00
levlam
46f076f47c Add td_api::setSupergroupUnrestrictBoostCount. 2024-02-12 17:42:35 +03:00
levlam
9d0ca2670e Add story.sender_id. 2024-02-12 16:12:29 +03:00
levlam
978cd5ef34 Support replying of supergroup stories in the supergroup. 2024-02-11 02:57:08 +03:00
levlam
e62f612c36 Add Message.sender_boost_count. 2024-02-11 02:45:18 +03:00
levlam
539fd729ea Allow stories administrator rights in supergroups. 2024-02-11 02:16:25 +03:00
levlam
81f959be99 Support supergroups in getChatBoostFeatures, 2024-02-11 01:29:07 +03:00
levlam
1728dbf561 Add rights check in get_background_dialog. 2024-02-10 23:53:44 +03:00
levlam
3745632f68 Support setChatEmojiStatus in supergroups. 2024-02-10 23:39:02 +03:00
levlam
75a812ba10 Support change of profile accent color in supergroups. 2024-02-09 16:54:16 +03:00
levlam
e12a1550d9 More precise check in can_use_premium_custom_emoji. 2024-02-09 16:20:13 +03:00
levlam
2220d6bd32 Poll active stories in supergroups. 2024-02-09 15:40:17 +03:00
levlam
423688771d Support gift codes in supergroups. 2024-02-09 14:54:57 +03:00
levlam
49003c5cce Generate boost links for supergroups and in new format, 2024-02-09 14:39:35 +03:00
levlam
7b6c5b3517 Support giveaways in supergroups. 2024-02-09 14:13:46 +03:00
levlam
83a92d5258 Support supergroup boost options. 2024-02-09 14:03:53 +03:00