Commit Graph

2350 Commits

Author SHA1 Message Date
levlam
f0a89c3dbe Remove process_input_caption in favor of get_formatted_text. 2022-08-15 16:26:51 +03:00
levlam
17a18e8def Always use send_closure_later to keep relative message order. 2022-08-10 16:25:17 +03:00
levlam
f342b65500 Check for close status as early as possible. 2022-08-10 14:04:36 +03:00
levlam
12d852abc5 Check for close_flag as early as possible. 2022-08-10 13:57:41 +03:00
levlam
8e5d85eb11 Add error logging. 2022-08-08 19:52:29 +03:00
levlam
57947f549d Remove now unneeded restore of PTS in channels. 2022-08-08 18:38:25 +03:00
levlam
d04527d10e Avoid expected error logging. 2022-08-08 13:19:11 +03:00
levlam
18948ca87e Disallow reactions on self-destruct media. 2022-08-08 09:44:58 +03:00
levlam
ae14546613 Disallow adding new reactions in supergroup if can't send messages there. 2022-08-07 12:48:36 +03:00
levlam
44e96081c6 Support file reference repair for bot description photo and animation. 2022-08-06 13:42:35 +03:00
levlam
edaff2eba5 Don't send unneeded user from inlineKeyboardButtonTypeUser for bots. 2022-08-05 16:47:47 +03:00
levlam
515bd488fb Use WaitFreeHashMap for dialogs. 2022-08-04 17:38:33 +03:00
levlam
699b421824 Use full variable names for unique_ptr<Dialog>. 2022-08-04 16:30:14 +03:00
levlam
898c5c5cf3 Improve error message. 2022-08-02 19:35:35 +03:00
levlam
84dc36bea8 Remove expected logging for qts messages. 2022-08-01 20:47:38 +03:00
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