Commit Graph

2335 Commits

Author SHA1 Message Date
levlam
a67155a145 Add source to get_message_content. 2022-08-01 14:45:44 +03:00
levlam
4d6d1def85 Ignore updateServiceNotification by bots. 2022-08-01 01:42:53 +03:00
levlam
3f1e0a9317 Add explicit limit on the number of saved auth notifications. 2022-08-01 01:39:09 +03:00
levlam
e8b2971a42 Add more checks for HashTable keys. 2022-07-31 01:15:23 +03:00
levlam
3047262889 Print warning about unusable database messages, only if expected database messages weren't deleted. 2022-07-30 13:02:08 +03:00
levlam
2fb59c4d7b Drop last_database_message_id if deleted the only database message. 2022-07-30 12:55:59 +03:00
levlam
8072fe673e Switch back to server-side copy for polls. 2022-07-29 14:58:57 +03:00
levlam
86acab5250 Support getMessageThread with non-root messages in supergroups. 2022-07-28 15:06:58 +03:00
levlam
a5da79327d Preload and check all custom emoji in secret chats. 2022-07-27 23:47:16 +03:00
levlam
97ab564e07 Prepare for removing premium custom emoji if have no premium. 2022-07-22 18:11:55 +03:00
levlam
03773d01fd Disallow emoji stickers in secret chats. 2022-07-22 16:11:33 +03:00
levlam
347e1b81cf Avoid warnings for changes of restricted messages. 2022-07-15 17:04:41 +03:00
levlam
ddb572b830 Add more debug for have_full_history. 2022-07-15 17:03:40 +03:00
levlam
4f7113395b Add td_api::messageGiftedPremium. 2022-07-01 15:28:22 +03:00
levlam
262ea91d9a Drop via_bot from forwarded Audio. 2022-07-25 16:28:46 +03:00
levlam
a63642c8bf Avoid broken server copy for some quizes. 2022-07-24 12:54:49 +03:00
levlam
698b34709f Make DownloadManager::add_file asynchronous. 2022-07-23 17:11:25 +03:00
levlam
061aac58db Make DownloadManager interface mostly asynchronous. 2022-07-23 16:41:03 +03:00
levlam
8efe57fb6b Fix ForwardMessagesLogEvent. 2022-07-23 12:06:14 +03:00
levlam
3506bc94dc Check messageMediaPoll validness for just sent messages. 2022-07-23 11:32:08 +03:00
levlam
4cf1e02479 Add multiarg version of Scheduler::destroy_on_scheduler. 2022-07-22 21:21:30 +03:00
levlam
0f87447ffc Asynchronously destroy some big data storages. 2022-07-20 13:40:14 +03:00
levlam
75902bb8a7 Improve logging. 2022-07-17 13:31:43 +03:00
levlam
d75791481f Improve FileView::get_main_file_id() method name. 2022-07-03 12:01:08 +03:00
levlam
aeed6c45d7 Add logging for skipped unneeded chat actions. 2022-07-01 16:56:27 +03:00
levlam
d9d76adb7c Return user_id in inline keyboard as is for local and yet unsent messages. 2022-06-29 11:17:51 +03:00
levlam
e8dccae751 Explicitly pass ContactsManager to
get_input_reply_markup/get_reply_markup_object.
2022-06-28 18:34:53 +03:00
levlam
26fdb92dd8 Minor improvements. 2022-06-28 15:32:05 +03:00
levlam
32bac7bd24 Move Promise to tdutils. 2022-06-27 13:30:18 +03:00
levlam
f62632fcbc Remove rarely used PromiseCreator::lambda with 2 lambdas. 2022-06-26 17:11:27 +03:00
levlam
3dcafdc873 Improve log messages. 2022-06-25 21:22:02 +03:00
levlam
c4690c9ed3 Add more logging. 2022-06-24 14:59:02 +03:00
levlam
c51f283332 Improve logging. 2022-06-24 13:44:54 +03:00
levlam
638b4346ca Remove separate MessagesManager::on_update_scheduled_message_id. 2022-06-23 17:05:43 +03:00
levlam
80df1e2968 Add notificationTypeNewMessage.show_preview. 2022-06-16 18:54:50 +03:00
levlam
83fdbd7859 Move some AvailableReaction methods to AvailableReaction.h. 2022-06-09 01:48:39 +03:00
levlam
cb98c0a10a Add class AvailableReaction. 2022-06-09 01:07:53 +03:00
levlam
2570044eba Return, whether available reaction needs premium. 2022-06-08 17:34:13 +03:00
levlam
e81424ee86 Fix warning message. 2022-06-03 17:35:23 +03:00
levlam
8fae960e43 Support premium stickers in secret chats. 2022-06-03 17:31:48 +03:00
levlam
8b9bed6a0b Add messageSticker.is_premium. 2022-06-03 16:33:49 +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
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
2f186a9eeb Allow to change position of main chat list for premium users. 2022-05-19 21:19:06 +03:00
levlam
9f8de1d146 Add main_chat_list_position to updateChatFilters. 2022-05-19 16:57:11 +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