Commit Graph

7169 Commits

Author SHA1 Message Date
levlam
78314b2da9 Immediately ignore duplicate and invalid file sources loaded from database. 2022-10-06 15:15:45 +03:00
levlam
a235628428 Avoid creation of multiple FileSourceId for the same URL. 2022-10-06 15:09:00 +03:00
levlam
94a8cd0046 Fix checks for *Full initialization to avoid file resaving. 2022-10-06 14:10:33 +03:00
levlam
1e6a6c28af Synchronously load file in FileManager::add_file_source to avoid resaving it to the database. 2022-10-06 13:48:52 +03:00
levlam
7ff1ec04b1 Improve log and error messages. 2022-10-05 21:29:05 +03:00
levlam
59acbf6d15 Add warnings about big file nodes. 2022-10-05 16:32:16 +03:00
levlam
f0b4824924 Allow to start OptionManager on any scheduler. 2022-10-04 21:08:07 +03:00
levlam
b9c5518c91 ClientActor: create Td on desired thread. 2022-10-04 19:02:31 +03:00
levlam
8d1ee490ad Update response of getChatAvailableMessageSenders. 2022-10-04 17:53:56 +03:00
levlam
bbd97ec59e Make TdApi default constructor private. 2022-10-04 15:19:46 +03:00
levlam
af5ddbfa15 Use WaitFreeHashMap for resolved_usernames. 2022-10-04 14:53:46 +03:00
levlam
91ba17c47b Fix read_date usage. 2022-10-04 14:18:57 +03:00
levlam
882b08f935 Support empty filter in getChatMessagePosition. 2022-10-03 20:55:15 +03:00
levlam
ab3f7856a9 Explicitly ignore READ_REACTION notifications. 2022-10-03 17:22:20 +03:00
levlam
10680fe353 Minor improvements. 2022-10-03 14:39:20 +03:00
levlam
aa6ed42734 Add class CustomEmojiId. 2022-10-03 01:26:32 +03:00
levlam
197d1de31b Resave file after clearing local location to keep file sources. 2022-10-02 23:42:33 +03:00
levlam
f88993e45f Improve getFile response. 2022-10-02 23:19:41 +03:00
levlam
df3df17c6f Fix FileManager::clear_from_pmc. 2022-10-02 23:06:37 +03:00
levlam
e6b7624811 Fix scanning of temporary directories. 2022-10-02 22:26:03 +03:00
levlam
d29c86bb14 Ensure that all network requests are sent and all their responses are processed asynchronously. 2022-10-02 01:53:56 +03:00
levlam
08ce44a194 Avoid message type checks in treap_insert/treap_find. 2022-10-02 00:36:11 +03:00
levlam
d4d365d31f Remove template ActorOwn::reset. 2022-10-01 16:29:56 +03:00
levlam
be87e4179f Inline ActorOwn::hangup. 2022-10-01 15:58:27 +03:00
levlam
39d2ac80b0 Remove unused ActorId methods. 2022-10-01 11:29:09 +03:00
levlam
da886281f4 Improve logging. 2022-10-01 01:28:54 +03:00
levlam
1f7258f697 Add getChatMessagePosition. 2022-09-30 20:04:21 +03:00
levlam
481a69676d Update comment. 2022-09-30 16:52:27 +03:00
levlam
d3a2df8858 Return stickers from getCustomEmojiReactionAnimations. 2022-09-30 15:55:46 +03:00
levlam
5cb02b8d01 Improve logging for auth key dropping. 2022-09-29 14:50:25 +03:00
levlam
6917d9c36f Improve secret chat schema constructor naming. 2022-09-28 12:17:04 +03:00
levlam
e39bd45086 Support search by keywords in getStickers. 2022-09-27 20:52:47 +03:00
levlam
75a021e836 Really avoid force_reuse even for message photos. 2022-09-27 20:17:30 +03:00
levlam
4e78b4b65f Add helpers for sticker search. 2022-09-27 18:29:10 +03:00
levlam
ee04923ce1 Add lazy initialization for keyword_stickers_map_. 2022-09-27 16:16:36 +03:00
levlam
0c21d0d596 Save sticker keywords. 2022-09-27 00:20:13 +03:00
levlam
7ccaaf3b70 Update layer to 147. 2022-09-26 20:00:45 +03:00
levlam
b3e16c5dd7 Use the same template recursively for instant view links. 2022-09-26 19:24:39 +03:00
levlam
a3bb5913a7 Improve clicked animated emoji zoom. 2022-09-26 16:13:57 +03:00
levlam
bc3ea3e123 Add fallback_url to internalLinkTypeInstantView. 2022-09-26 01:48:06 +03:00
levlam
35058bb6a7 Add animatedEmoji.sticker_width/sticker_height. 2022-09-25 23:40:42 +03:00
levlam
302e2fd4b9 Make struct Invoice private. 2022-09-24 23:09:40 +03:00
levlam
aa5f4b1982 Make InputInvoice fields private. 2022-09-24 23:04:04 +03:00
levlam
ecb3d76fb4 Move store/parse inside classes Invoice/InputInvoice. 2022-09-24 23:00:49 +03:00
levlam
bb69175aab Add InputInvoice::is_equal_but_different. 2022-09-24 22:55:03 +03:00
levlam
b10983acfa Add InputInvoice::need_reget. 2022-09-24 22:45:29 +03:00
levlam
6a5989eb8b Add InputInvoice::update_from. 2022-09-24 22:42:47 +03:00
levlam
92f9f8bdd0 Support extended media polling. 2022-09-24 22:17:17 +03:00
levlam
85f9f0481f Fix extended media store. 2022-09-23 19:54:05 +03:00
levlam
263b383530 Support extended media in inputMessageInvoice. 2022-09-23 16:16:56 +03:00