Commit Graph

8230 Commits

Author SHA1 Message Date
levlam
7d5dc9fd16 Split sticker format and sticker type in API. 2022-07-14 13:58:33 +03:00
levlam
6817f3fc44 Allow to specify password in deleteAccount. 2022-07-01 21:25:34 +03:00
levlam
54c052adce Add td_api::StorePaymentPurpose. 2022-07-01 19:27:59 +03:00
levlam
035f24b8e9 Add userFullInfo.premium_gift_options. 2022-07-01 15:57:38 +03:00
levlam
4f7113395b Add td_api::messageGiftedPremium. 2022-07-01 15:28:22 +03:00
levlam
e38615b71e Update layer to 144. 2022-07-01 14:33:59 +03:00
levlam
07b7faf66c Reduce run time of some tests. 2022-07-28 00:15:18 +03:00
levlam
6283dce8b7 Remove superflous inline specifiers. 2022-07-27 11:41:16 +03:00
levlam
9c6f457715 Explicitly define _GNU_SOURCE. 2022-07-26 10:33:25 +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
6c98bec686 Ensure that poll is removed from being_closed_polls_ after request is completed. 2022-07-24 12:19:51 +03:00
levlam
3afbce24b3 Disable getStorageStatisticsFast for bots to reduce disk usage in the main thread. 2022-07-23 23:50:28 +03:00
levlam
2729d44f71 Move DownloadManagerImpl::*_impl functions to private section. 2022-07-23 17:19:18 +03:00
levlam
07cc51c1d5 Add check that download manager database isn't loaded recursively. 2022-07-23 17:16:21 +03:00
levlam
698b34709f Make DownloadManager::add_file asynchronous. 2022-07-23 17:11:25 +03:00
levlam
ec19eaad65 Call FileReferenceManager::get_file_search_text through DownloadManagerCallback. 2022-07-23 17:01:27 +03:00
levlam
061aac58db Make DownloadManager interface mostly asynchronous. 2022-07-23 16:41:03 +03:00
levlam
d55869eedb Minor improvements. 2022-07-23 14:53:32 +03:00
levlam
206becbb9f Safely traverse map. 2022-07-23 14:52:42 +03:00
levlam
03de62b29f Check data validness before initing InlineKeyboardButton. 2022-07-23 13:04:25 +03:00
levlam
1ff1059de8 Fix warning. 2022-07-23 12:59:21 +03:00
levlam
ad8693801f Fix another compilation error. 2022-07-23 12:15:54 +03:00
levlam
8efe57fb6b Fix ForwardMessagesLogEvent. 2022-07-23 12:06:14 +03:00
levlam
c6fc1bb98e Fix compilation error with old compilers. 2022-07-23 12:04:15 +03:00
levlam
3506bc94dc Check messageMediaPoll validness for just sent messages. 2022-07-23 11:32:08 +03:00
levlam
36a57c3584 Remove unneeded FlatHashTable copy constructors. 2022-07-23 11:13:17 +03:00
levlam
bc83832e03 Avoid copying when adding users/chats to binlog. 2022-07-23 11:00:46 +03:00
levlam
4cf1e02479 Add multiarg version of Scheduler::destroy_on_scheduler. 2022-07-22 21:21:30 +03:00
levlam
376476481c Restore Java example compatibility with Java 1.8. 2022-07-21 20:44:22 +03:00
levlam
ffc26eea08 Fix GIT_EXECUTABLE usage. 2022-07-21 20:24:03 +03:00
levlam
3ffe770d57 Fix generated file parsing. 2022-07-21 13:12:25 +03:00
levlam
4ac8be8122 Check local location of files when adding them to download manager. 2022-07-20 16:46:55 +03:00
levlam
51513f1780 Add non-template Scheduler::destroy_on_scheduler_impl. 2022-07-20 13:57:05 +03:00
levlam
0f87447ffc Asynchronously destroy some big data storages. 2022-07-20 13:40:14 +03:00
levlam
ac8af37872 Add size() and empty() to WaitFreeHashMap. 2022-07-20 13:35:32 +03:00
levlam
061c4f65d5 Drop context for SemaphoreActor before creation of the actor. 2022-07-20 10:56:48 +03:00
levlam
e8b0983d7b Use std::move to restore ActorContext. 2022-07-20 10:28:31 +03:00
levlam
87a5111399 Fix compilation error. 2022-07-19 12:40:34 +03:00
levlam
6898d07793 Make td_api::saveApplicationLogEvent persistent. 2022-07-18 19:21:47 +03:00
levlam
0147c97f9c Ensure that the same notification doesn't added and removed simultaneously. 2022-07-17 14:17:22 +03:00
levlam
c7fe53ecae Add additional checks in DownloadManager. 2022-07-17 14:02:33 +03:00
levlam
75902bb8a7 Improve logging. 2022-07-17 13:31:43 +03:00
levlam
6eef50f769 Remove unused DelayedClosure private constructors. 2022-07-17 12:11:04 +03:00
levlam
2cc8f34a7d Remove unused to_delayed_closure functions. 2022-07-17 11:41:31 +03:00
levlam
04a7583bd0 Remove unused Event::clone method. 2022-07-17 10:41:17 +03:00
levlam
72bc285637 Delete from database information about unlinked files. 2022-07-16 17:25:28 +03:00
levlam
02396be7eb Allow internal links in bio of non-premium users. 2022-07-16 16:10:06 +03:00
levlam
bedec2c9ba Add StickersManager::get_sticker_set_thumbnail_object. 2022-07-16 15:45:30 +03:00
levlam
327babb851 Fix Java example for old Java versions. 2022-07-15 13:58:04 +03:00