Commit Graph

8654 Commits

Author SHA1 Message Date
levlam
f443cec9bc Add clickPremiumSubscriptionButton. 2022-05-25 15:34:36 +03:00
levlam
242776e817 Add td_api::viewPremiumFeature. 2022-05-24 20:45:03 +03:00
levlam
987c9487df Improve documentation. 2022-05-24 20:17:51 +03:00
levlam
c5dfa59782 Fix MessagesManager::can_delete_dialog. 2022-05-24 17:41:32 +03:00
levlam
e2ce1a64c7 Add payment_link to premiumFeatures. 2022-05-24 16:30:01 +03:00
levlam
38be1031bc Add internal "premium_bot_username" and "premium_invoice_slug" options. 2022-05-24 16:14:25 +03:00
levlam
7c7aa3d2de Save app log event in getPremiumFeatures. 2022-05-24 15:42:46 +03:00
levlam
80f3c88bdb Move get_invite_text and save_app_log to Application.cpp. 2022-05-24 14:56:02 +03:00
levlam
f408c663df Remove "_limit" suffix from premium limit keys. 2022-05-24 02:59:11 +03:00
levlam
49b13c737f Add td_api::getPremiumLimit. 2022-05-24 02:55:03 +03:00
levlam
2d90ccc1bc Allow to specify source in getPremiumFeatures. 2022-05-24 02:19:30 +03:00
levlam
ab4a5d7499 Move get_premium_features to Premium.h. 2022-05-24 01:36:55 +03:00
levlam
23e9f03d70 Reuse get_premium_limit_keys. 2022-05-24 01:31:30 +03:00
Andrea Cavalli
aa3b705842 Merge remote-tracking branch 'td/master' 2022-05-24 00:22:37 +02:00
levlam
7313ad311b Move get_premium_limit_keys to Premium.h. 2022-05-24 01:21:03 +03:00
levlam
2c44f8c273 Add internalLinkTypePremiumFeatures. 2022-05-23 20:37:15 +03:00
levlam
d986c9bc27 Add option "chat_filter_chosen_chat_count_max". 2022-05-23 20:04:36 +03:00
levlam
c584b48c10 Replace MAX_INCLUDED_FILTER_DIALOGS with a function. 2022-05-23 19:04:09 +03:00
levlam
ef28bae155 Document the ability to increase limits with Telegram Premium. 2022-05-23 18:52:01 +03:00
levlam
e336819ac8 Add and use "chat_filter_count_max" option. 2022-05-23 18:26:54 +03:00
levlam
d87cd52b68 Return information about increased limits for Premium users. 2022-05-23 17:47:06 +03:00
levlam
2166f80ccb Add td_api::getPremiumFeatures. 2022-05-23 15:56:31 +03:00
levlam
e9a8d43a0a Add td_api::getAllAnimatedEmojis. 2022-05-23 14:05:35 +03:00
levlam
d06a7ddf1c Don't sync just created binlog. 2022-05-23 02:24:52 +03:00
levlam
d04552045d Add warnings about long application of postponed updates. 2022-05-22 22:09:46 +03:00
levlam
15a11d7053 Move expected logging about secret chat updates to INFO. 2022-05-21 23:07:28 +03:00
levlam
c2a580bbfb Don't try to reload data without authorization. 2022-05-20 16:59:14 +03:00
levlam
4e8e95c81c Expect empty input media for a file too big to be sent to a secret chat. 2022-05-20 16:31:41 +03:00
levlam
0bc767f943 Pass max_resource_limit as parameter to ResourceManager. 2022-05-20 16:11:31 +03:00
levlam
3886e9e644 Update config after premium has changed. 2022-05-20 15:20:54 +03:00
levlam
2f186a9eeb Allow to change position of main chat list for premium users. 2022-05-19 21:19:06 +03:00
levlam
9c9a74c52d Workaround GCC 7.4.0 false warning. 2022-05-19 19:50:02 +03:00
levlam
16959e33e4 Use WaitFreeHashMap for message_id_to_dialog_id_. 2022-05-19 19:34:48 +03:00
levlam
5fda16c89e Add WaitFreeHashMap. 2022-05-19 19:22:33 +03:00
levlam
9f8de1d146 Add main_chat_list_position to updateChatFilters. 2022-05-19 16:57:11 +03:00
levlam
d4b6d08268 Add is_premium option. 2022-05-19 15:28:06 +03:00
levlam
63d607c6c3 Improve rescheduling of scheduled messages with replies. 2022-05-18 21:11:28 +03:00
levlam
647374a33f Keep replies in forwarded scheduled messages. 2022-05-18 20:40:44 +03:00
levlam
9092c58af7 Update replied message identifier in delete_sent_message_on_server. 2022-05-18 19:10:48 +03:00
levlam
18cd0dd95e Workaround GCC 12 false positive warnings. 2022-05-18 16:59:15 +03:00
levlam
1616513c4c Add and use MessagesManager::is_deleted_message. 2022-05-18 12:16:32 +03:00
levlam
e65c0827a4 Drop dangling replies to yet unsent messages. 2022-05-17 16:27:46 +03:00
levlam
0bf2aaf4f2 Resolve identifiers of being added secret messages by their random_id. 2022-05-17 16:19:39 +03:00
levlam
19407656b5 Add more logging and don't set unused message flags. 2022-05-17 15:30:58 +03:00
levlam
f53f750b39 Change replied message ID from yet unsent to persistent after the message is sent. 2022-05-17 15:06:40 +03:00
levlam
bf37753056 Keep reply_to_message_id for forwards to secret chats. 2022-05-16 21:10:18 +03:00
levlam
8f42c97252 Fix CHECK. 2022-05-16 20:00:59 +03:00
levlam
26ceefb2d4 Keep reply_to_message_id for yet unsent messages between restarts. 2022-05-16 19:47:06 +03:00
levlam
190117c839 Add local reply_to_message_id to forwarded by the server messages. 2022-05-16 18:11:49 +03:00
Andrea Cavalli
a156fcfb1d Merge remote-tracking branch 'td/master' 2022-05-16 00:00:04 +02:00