Commit Graph

73 Commits

Author SHA1 Message Date
Andrea Cavalli
f610ff028c Merge 2020-12-25 20:24:09 +01:00
levlam
34cc9092c9 Update layer 122. 2020-12-18 17:43:23 +03:00
Andrea Cavalli
cba9f74cba Merge remote-tracking branch 'td/master' 2020-11-22 01:11:21 +01:00
levlam
5cbf90e4a0 Safer work with negative monotonic time. 2020-11-21 16:34:39 +03:00
Andrea Cavalli
09e23b61cf Fix json formatting, fix cmake windows support 2020-10-25 10:08:13 +01:00
Andrea Cavalli
017073e0a2 Add memory optimize and memory stats methods 2020-10-25 03:20:24 +02:00
cc087aeacd Merge commit 'ab5d35371b1fdcfb30dfa981ede54ec83db214a9'
Conflicts:
	sqlite/CMakeLists.txt
	td/telegram/ContactsManager.cpp
	td/telegram/Photo.cpp
	td/telegram/Td.cpp
	td/telegram/WebPagesManager.cpp
	td/telegram/files/FileManager.h
2020-07-29 16:39:33 +02:00
levlam
3fefdb6462 Add td_api::animatedChatPhoto.
GitOrigin-RevId: 430f3b6bcb0bcfaffdcc6f26a4ee017518a64162
2020-07-07 11:41:01 +03:00
levlam
d5b4c57993 Add inputMessageDocument.force_file.
GitOrigin-RevId: 7f2780ba7f333e5f8df9c28bab429b8b12eaf26c
2020-06-22 02:02:21 +03:00
2d3ce0ffcd Update AnimationsManager.cpp 2020-06-11 17:48:34 +02:00
205fa52f8d Merge commit '44689f81ff8b9bc4583c1c889d8034c47f0c5270'
Conflicts:
	td/telegram/DialogDb.cpp
	td/telegram/MessagesManager.cpp
	td/telegram/StickersManager.cpp
	td/telegram/TdDb.cpp
	td/telegram/WebPagesManager.cpp
2020-06-11 17:44:52 +02:00
e3bf0f63f0 Patches 2020-05-23 21:27:24 +02:00
levlam
b29a945b1a Ignore SQLite key-value responses after close.
GitOrigin-RevId: a91a2dbbf8efcda91959aabfcaca964caa6fe3c3
2020-05-16 02:25:03 +03:00
levlam
e941622e32 Ignore file_reference errors for bots, because corresponding file_ids may not be duped.
GitOrigin-RevId: 3cf82083a6d3e5556f665bad9ad00e216c7901a0
2020-05-07 15:56:57 +03:00
levlam
bcc8dbc158 Use Global::is_expected_error whenever appropriate.
GitOrigin-RevId: aba8ee6e3dc1ab6e680a5ae10f6c3d217ab0a8dc
2020-03-31 00:35:58 +03:00
levlam
487cb20597 Ignore web remote locations instead of crash.
GitOrigin-RevId: 0ab5d749eeff28bc25befd6610038a7aa43206a5
2020-03-24 01:12:23 +03:00
levlam
b8848a2ab4 Simplify NetQuery creation.
GitOrigin-RevId: a01e72f8e196b405dd28dfd75d16cadc7127ec4a
2020-03-16 00:17:11 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
8e084a5b43 Do not add animations with stickers to saved animations automatically.
GitOrigin-RevId: c3220224c091ce59fadc519634d6a73933ed3a32
2020-06-05 07:26:26 +03:00
levlam
8d0fa5ce77 Add td_api::thumbnail.
GitOrigin-RevId: b74fa62e415816ce63d3bd4415bd2bb8d6aa3f8b
2020-05-31 22:22:15 +03:00
levlam
6196bab690 Add td_api::updateAnimationSearchParameters.
GitOrigin-RevId: 6f53679977437f279a10fee8b6b1069d37a4e7a6
2020-05-30 02:42:45 +03:00
levlam
4a1e2ee34c Add animated thumbnail support for animations and videos
GitOrigin-RevId: a9026a32be9a9ddf2597c6244e112fd853d81b1f
2020-05-30 01:48:56 +03:00
levlam
e8cb1dfeb5 Support stickers attached to animation.
GitOrigin-RevId: 3e2464146410fbc68b51721b10327f1ac92cbb66
2020-05-29 11:51:51 +03:00
levlam
02e7697d02 Reload animated emoji sticker set only after getDifference.
GitOrigin-RevId: b69b2b4c51f934a2aeb04b7805408acdcf393417
2019-12-18 17:46:02 +03:00
levlam
c3d470a27c Remove unneeded add_*_inner proxy functions.
GitOrigin-RevId: ef4e8233590c1d4133c65275474c32f7f985d217
2019-11-30 21:22:40 +03:00
levlam
918f6a0cfd Use td::contains and td::remove instead of std::find if possible.
GitOrigin-RevId: faa0863eb49ee8ce4c2138dfec022620f71d2f6a
2019-10-22 02:12:58 +03:00
levlam
c1a201fd7f Use main remote location for upload.
GitOrigin-RevId: 1a77b73bf73608e219cbf2a0d888f33b0c406a80
2019-11-17 22:41:28 +03:00
levlam
11c0fcc6ec Do not create documents without file_id.
GitOrigin-RevId: c208baf37b108ffb256c3a39dee0459fc081f017
2019-08-01 03:58:49 +03:00
levlam
43483e743d Update layer to 92: minithumbnails support.
GitOrigin-RevId: a2e3bba42504cdaf91db1e0113bc98c450ba78c9
2019-03-01 22:51:33 +03:00
levlam
087200c132 Do not try to reload stickers and saved animations while closing.
GitOrigin-RevId: 8b9532e89c3ae42390e29b6a6716de58dabd01db
2019-04-30 00:37:55 +03:00
levlam
6376ed09d0 Silence unneeded notification log event errors.
GitOrigin-RevId: 5f2d00d2575162944f80f2691d5b896950e93d35
2019-04-11 17:13:42 +03:00
levlam
dc79cdc0b1 Add Document class.
GitOrigin-RevId: e1a5a8235f341cf0955ee37086a99a17e7b123de
2019-04-09 18:38:57 +03:00
levlam
a7d50c1ae8 Cancel more requests when closing.
GitOrigin-RevId: 5d7f37cf8abf45cfe37f3ab589f85a5e96417ffb
2019-04-08 17:57:41 +03:00
levlam
c8cfee8d7b Better deduplicating saved animations and recent/featured stickers.
GitOrigin-RevId: 2bc58b3fabbf1cb01727e584036846e6acde0cc6
2019-02-16 05:29:28 +03:00
levlam
27a0bbd158 Precerve file remote in check_input_file_id.
GitOrigin-RevId: 52a3d32a606b8907f1ab94b7c10c2413346e66ec
2019-02-15 21:49:02 +03:00
levlam
ec692e98e4 Remove some errors logging while closing.
GitOrigin-RevId: 65e4ca3d0748b4d59511d9024e2eff1367e13cf7
2019-02-14 18:36:16 +03:00
levlam
dd398c5968 Fix formatting.
GitOrigin-RevId: 144f91ea1ad0a1f9a8e5e08c4c10f238b066be47
2019-02-13 00:28:47 +03:00
Arseny Smirnov
20bfcaa979 Use LOG_CHECK where it is necessary
GitOrigin-RevId: a8bd17cc2ee6e43dcea52bb25aef9ee1f91c7ec4
2019-02-12 19:17:20 +03:00
levlam
ed25f88c19 Prefer InputFile over remote location in get_input_media.
GitOrigin-RevId: 01db2a0669b966ddac59b7f18b62f154cb54a427
2019-02-12 04:50:30 +03:00
levlam
6a43a9e91e Support file reference errors in SendMultiMediaActor.
GitOrigin-RevId: ef25dd8bedab0998db1e57572e46e072c5e2e374
2019-02-08 17:54:23 +03:00
levlam
005f943537 Add fileSourceFavoriteStickers.
GitOrigin-RevId: 4affa759ed53ace4b2f03c44cbf9f1c66b4890ac
2019-02-02 13:54:40 +03:00
levlam
996869d4ca Implement store/parse FileSourceId.
GitOrigin-RevId: ff0d80bf2a8d479dae0cdca2c806a9731ff499d9
2019-01-31 00:37:38 +03:00
levlam
0ac8c2d389 Repair file_reference in SaveGifQuery.
GitOrigin-RevId: ae9fcc543795a659c51699af8ea0048a0b5f8fb5
2019-01-23 22:20:48 +03:00
levlam
36d45046d0 Create saved animations file source.
GitOrigin-RevId: 0022034837c77740e335b99c5dc008a6802c7ea6
2019-01-21 23:30:28 +03:00
levlam
8ac921b8e7 Add FileManager::get_file_ids_object.
GitOrigin-RevId: a7e76f5e28514e2ccd99ce2316d5e4043836062f
2019-01-21 20:19:02 +03:00
levlam
730466e328 Enable repairing of all FileSource types.
GitOrigin-RevId: 3769adf7c9fd149b39f8ff9e7f7f8777d61b34d8
2019-01-20 06:04:40 +03:00
levlam
e5400074ce Move FileType to FileType.h.
GitOrigin-RevId: 7e35c0f30b7755755b0583704dcfe344cc28d117
2019-01-20 00:54:29 +03:00
levlam
626d1e07d0 Add reload_saved_animations.
GitOrigin-RevId: e69e2d60bc5464b880ed478dedc084656a1e878d
2019-01-15 03:04:10 +03:00
levlam
5438119bb4 Fix Global.h and TdDb.h includes.
GitOrigin-RevId: 89fa1ee3e8071ad3f27687f79d1a52de113f9705
2019-01-06 22:59:17 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00