levlam
|
2dea8aea06
|
Fix code duplication.
GitOrigin-RevId: 8b4784e364d1e4d016a22bc6806bf732d5d5ac7a
|
2020-01-06 20:40:58 +03:00 |
|
levlam
|
a06f02b747
|
Fix misprint.
GitOrigin-RevId: e7bcfcd2ada1b78906d5e5f9228e920be2a00a8c
|
2020-01-06 18:02:42 +03:00 |
|
levlam
|
b88730f635
|
Better logging.
GitOrigin-RevId: d5aa21fee3d0f9af6fdec13df45c7352850b8b86
|
2020-01-06 17:54:16 +03:00 |
|
levlam
|
c627c79b6a
|
Improve logging.
GitOrigin-RevId: 4c5be88bb5f89b50ca1872a8a6686b777fe8aaa2
|
2020-01-06 04:45:05 +03:00 |
|
levlam
|
fe28551d4c
|
Do not allow time to go more than 1 year forward between restarts.
GitOrigin-RevId: 1240b52520431f62249364b718840b7e45c886c7
|
2020-01-06 04:23:59 +03:00 |
|
levlam
|
8a1d035d1a
|
Fix check of poll question and answers length.
GitOrigin-RevId: 4b9f75b8ca58f609d07f0aa73370bc893d3bc120
|
2020-01-06 00:32:26 +03:00 |
|
levlam
|
123361b26a
|
Better check for is_bot.
GitOrigin-RevId: a4dc6b4b2a38eb3474b2265af32b56f8500818df
|
2020-01-05 15:24:37 +03:00 |
|
levlam
|
c25a346f54
|
Ignore BOT_METHOD_INVALID for getAppConfig.
GitOrigin-RevId: 953c9c9c20b31cb7118233db82d146e4ee384a6f
|
2020-01-05 04:22:03 +03:00 |
|
levlam
|
a9de33970b
|
Add switch_pm_parameters checks.
GitOrigin-RevId: 5a948b1deadce1a5f4cc59af53942338bc00ee01
|
2020-01-05 00:23:44 +03:00 |
|
levlam
|
5b26485ede
|
Fix SplitSource build.
GitOrigin-RevId: 09aa9993fa30af502cae2cd0a5efe77444112b3c
|
2020-01-04 14:59:33 +03:00 |
|
levlam
|
45bb48bfa7
|
Make FileDataView private.
GitOrigin-RevId: e3e53f5b97152aab99573d84296ef7094981d544
|
2020-01-03 04:16:05 +03:00 |
|
levlam
|
c8bf8fa5f7
|
Use real allocated file size in storage statistics.
GitOrigin-RevId: 6e5232700d8e97ba3ce0838c3bf7764541b6fd2a
|
2020-01-03 04:08:22 +03:00 |
|
levlam
|
db7573769f
|
Update layer 107.
GitOrigin-RevId: c892d895c8d963e68ad8e3e2bdc9ec6279ea046b
|
2020-01-03 02:14:02 +03:00 |
|
levlam
|
e44b02fe45
|
Fix some includes.
GitOrigin-RevId: 1a3a8bab67f3ed56545d58815187d7a8f99944d9
|
2020-01-03 01:48:23 +03:00 |
|
levlam
|
580530b6d4
|
Allow to change StickerSet.is_animated.
GitOrigin-RevId: bf712a9e6f90e26b53e710c62a119ee1ec4340bd
|
2020-01-02 18:41:42 +03:00 |
|
levlam
|
76e363cbe9
|
Allow bots to delete unknown messages.
GitOrigin-RevId: f9cecdf316fb28aacbbef657eaf83554563e6f5e
|
2020-01-02 17:47:32 +03:00 |
|
levlam
|
ece4fd0e93
|
Add message entities tests.
GitOrigin-RevId: fd04d3ebc4619d2b6be4282043a1333d824d7ee6
|
2020-01-02 17:46:19 +03:00 |
|
levlam
|
170fd545fd
|
Fix gradient backgrounds parsing.
GitOrigin-RevId: 3e99be20fe65f4eca728fcc29e2c37b90ee92b3c
|
2020-01-02 15:48:16 +03:00 |
|
levlam
|
37d354d3c4
|
Add more logging.
GitOrigin-RevId: a6b927c52e37c29fa62029d59fd96375af87b14e
|
2020-01-02 03:38:47 +03:00 |
|
levlam
|
713608ada1
|
Safe and reliable device token re-registration.
GitOrigin-RevId: 25273051c41ced913d1762a42cc0e19d36149a27
|
2020-01-01 19:38:54 +03:00 |
|
levlam
|
80c35676a2
|
Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
|
2020-01-01 04:23:48 +03:00 |
|
levlam
|
3d574e39c3
|
Fix login link URL.
GitOrigin-RevId: 064e31b5b095db03ccd7cb9cb3b4e1fabc92aba0
|
2019-12-31 16:20:29 +03:00 |
|
levlam
|
395a96a764
|
Fix access to SWLite database.
GitOrigin-RevId: 2d94441b1a1213e4c4b6f97d9a37f238c344ae72
|
2019-12-31 04:53:01 +03:00 |
|
levlam
|
54c816d0ac
|
Do not try to load active live locations if there is no message database.
GitOrigin-RevId: 012a87fff20d99e40916a63fa722ea75e2bbf974
|
2019-12-31 04:31:10 +03:00 |
|
levlam
|
e4e1e34cc5
|
Add active live location only after the message is added to the chat.
GitOrigin-RevId: 6016418f9330b6d754fd7b8cfa2a8c3127ad519d
|
2019-12-31 04:26:56 +03:00 |
|
levlam
|
f62b9f0bbd
|
Do not add active live locations to the list for bots.
GitOrigin-RevId: 01b22101f53b70195dc4f90d2a4a9283ec2b7f95
|
2019-12-31 03:51:48 +03:00 |
|
levlam
|
b929a95fe2
|
Update documentation.
GitOrigin-RevId: 2dc3b759de07cea17cf3fb0d7569244ead20fbd0
|
2019-12-31 00:58:11 +03:00 |
|
levlam
|
0a81ed988c
|
Update layer 107.
GitOrigin-RevId: c72dc88c76c98637f5c88a17adc3ae06e77c67a6
|
2019-12-30 14:57:48 +03:00 |
|
levlam
|
99b0e18f8f
|
Improve documentation.
GitOrigin-RevId: 6797e4fe6ee2f819e5995d1b3ac0fef0e10f55e0
|
2019-12-30 13:26:53 +03:00 |
|
levlam
|
4f66f3bc43
|
Update layer 107.
GitOrigin-RevId: dd227dee04a77f488f3592e145725750031594b7
|
2019-12-30 04:56:24 +03:00 |
|
levlam
|
aee34460ef
|
Support messages from scheduled in Push notifications.
GitOrigin-RevId: f2fb0c8553453f140083afdbd697aa2e420da4c3
|
2019-12-30 04:51:37 +03:00 |
|
levlam
|
b16caabe8e
|
Add device token debug.
GitOrigin-RevId: 451f00d33959eddbd73381775df19338945898d9
|
2019-12-30 04:34:59 +03:00 |
|
levlam
|
fcb877b78c
|
Treat messages from scheduled as incoming for notifications.
GitOrigin-RevId: b9b428fb65734a1b9b1a9733408ffd828db19f55
|
2019-12-30 03:31:33 +03:00 |
|
levlam
|
8e6623d3ea
|
Remove expired notifications before recalculating last_group_key.
GitOrigin-RevId: 31723b071ffe0ebb0432aa7427f4537c51434a05
|
2019-12-30 00:20:25 +03:00 |
|
levlam
|
1411f33725
|
Do not correct system time.
GitOrigin-RevId: e11cae3fc0ba1e5fe5548b14ba3f65e296a155a0
|
2019-12-30 00:02:12 +03:00 |
|
levlam
|
34bea7d5d7
|
Fix CHECK.
GitOrigin-RevId: 96fb8c20d2622534cb3ff884ecb007ae49305d34
|
2019-12-29 23:39:54 +03:00 |
|
levlam
|
ba5ccf48c6
|
Add source to on_get_sticker_set.
GitOrigin-RevId: 90cccf55f20fc5dafb6c76a2f780f19a818487cf
|
2019-12-29 04:59:34 +03:00 |
|
levlam
|
65b793e06a
|
Add push notifications encryption key debug.
GitOrigin-RevId: e127ea2dcc17bc76a4e01aa7ea7230ca53a95dad
|
2019-12-29 04:39:05 +03:00 |
|
levlam
|
24139cabab
|
Disallow temporary mute for more than 1 week.
GitOrigin-RevId: 7741c7f2787fde7b836d1027ccb421938ddaf317
|
2019-12-29 04:26:00 +03:00 |
|
levlam
|
104623f179
|
Add static get_mute_until function.
GitOrigin-RevId: 8b265d6a76ca9741b6c5177597cc717dbcac9fe5
|
2019-12-29 04:08:10 +03:00 |
|
levlam
|
6903886372
|
Disallow calling setChatNotificationSettings in Saved Messages. It doesn't work anyway.
GitOrigin-RevId: bca3756bb3bc5f64c15543eda2f9cef3965a261d
|
2019-12-29 03:47:35 +03:00 |
|
levlam
|
2704d52f96
|
tg_cli: minor.
GitOrigin-RevId: f0e63c87b6c96e4b6f313c0112d559fd6e15eb3f
|
2019-12-29 01:46:30 +03:00 |
|
levlam
|
4abc124cce
|
Add PublicRsaKeyWatchdog.
GitOrigin-RevId: b59695d96b97c6ef01a8dc0da89f07e9e250d61a
|
2019-12-28 15:04:32 +03:00 |
|
levlam
|
886d6e99c1
|
Fix PFS in CDN.
GitOrigin-RevId: 3c70f19e56b39fff1bd0c8351f30cd27e44b5368
|
2019-12-28 14:25:17 +03:00 |
|
levlam
|
27fb078cfe
|
Add support for TGV patterns.
GitOrigin-RevId: 8e82497baf4f5906c72383e54af4d0ffd5ba45a5
|
2019-12-27 18:01:45 +03:00 |
|
levlam
|
49bacaf001
|
Init total count in archive if needed.
GitOrigin-RevId: e1dbc855a60270e7bf40cae5744d9d8800bdd466
|
2019-12-27 00:32:21 +03:00 |
|
levlam
|
6d742ec9b6
|
Improve logging.
GitOrigin-RevId: 19ebd22de4f0b6fd036f6d8ec2a40c6808f5f7b8
|
2019-12-26 23:03:56 +03:00 |
|
levlam
|
e05f97638c
|
Store dialog_total_count between client restarts.
GitOrigin-RevId: 0631f79fd830352cd6f989ca020c8eadb212042c
|
2019-12-26 22:51:08 +03:00 |
|
levlam
|
f06e344c19
|
Add repair_secret_chat_total_count.
GitOrigin-RevId: c4b5f7d791a238aaf7cbd5655342d27fe2ae7080
|
2019-12-26 22:33:18 +03:00 |
|
levlam
|
ebb5949c4a
|
Add repair_server_dialog_total_count.
GitOrigin-RevId: b7dc63b6f6c2efadf59236fbd6e6bee05d33e448
|
2019-12-26 22:19:25 +03:00 |
|
levlam
|
de1bf02774
|
Add updateUnreadChatCount.total_count.
GitOrigin-RevId: e53105b6b7e185fbe68714948a606465d349d0cd
|
2019-12-26 21:44:35 +03:00 |
|
levlam
|
03311836af
|
Add DialogList.in_memory_total_count_.
GitOrigin-RevId: ab418de72778dc9a51761a5acbcf1fadc2116197
|
2019-12-26 05:21:09 +03:00 |
|
levlam
|
97ab18945f
|
Add get_secret_chat_count database request.
GitOrigin-RevId: b1865d0e3255bb6d170d299896903947a9a841de
|
2019-12-26 04:12:26 +03:00 |
|
levlam
|
7e1fa1fcb9
|
Better warning silencing in force_create_dialog.
GitOrigin-RevId: 2f10cbe2091f2d2d8e15de8e813c5997954f9900
|
2019-12-25 22:57:12 +03:00 |
|
levlam
|
4e77501d9e
|
Rename field to video_upload_bitrate.
GitOrigin-RevId: 0e6af52c8558086e7aac3b950609cdf2b2da1892
|
2019-12-25 20:59:19 +03:00 |
|
levlam
|
1fc1b76d5e
|
Better logging for results of getChannelParticipant.
GitOrigin-RevId: 08918a4577fa4e7337903e221a96ceb3534c11a4
|
2019-12-25 20:31:27 +03:00 |
|
levlam
|
82c55c51a0
|
Better warning condition for changed message entities.
GitOrigin-RevId: 481d50debb7e41e132d6fdc17bb7d6370d17fc16
|
2019-12-25 20:17:17 +03:00 |
|
levlam
|
4678b5177c
|
Fix quoted links in Doxygen documentation.
GitOrigin-RevId: 75e001cf8287154654fa5175401786e4684a95b1
|
2019-12-25 19:16:43 +03:00 |
|
levlam
|
a1b67327b1
|
Safe conversion to unix time.
GitOrigin-RevId: cd851e5196ea43269e7e3ec52ac0df8093966c9a
|
2019-12-25 18:35:36 +03:00 |
|
levlam
|
bd559bf13a
|
Fixes for system_time_saved_at_.
GitOrigin-RevId: 1effe236b00a00facfec0d6492bd60fe52faa737
|
2019-12-25 18:03:08 +03:00 |
|
levlam
|
41b09d9c31
|
Minor.
GitOrigin-RevId: 35d3f55ed770982dd62046f8f0c46d9139f93f27
|
2019-12-25 17:36:31 +03:00 |
|
levlam
|
935161c20e
|
Rename save_system_time to save_server_time.
GitOrigin-RevId: 9ffc8414c74872c7807faa85071818a0993aca87
|
2019-12-25 16:57:18 +03:00 |
|
Arseny Smirnov
|
22514eeeec
|
Global: update server_time_difference and system time together
GitOrigin-RevId: 496f41aeee4783f537348028e3b8ff1052c7d6e2
|
2019-12-25 14:44:44 +04:00 |
|
levlam
|
00387a61ad
|
Update layer 107.
GitOrigin-RevId: 6f7d7c9f0c6ae6b67b23deb6eea02e1ef5a3a3cb
|
2019-12-25 06:00:58 +03:00 |
|
levlam
|
3c83e72c49
|
Add '-' to the list of reserved characters.
GitOrigin-RevId: 97a77a46d7003e53021198bd1b57894df4fa5108
|
2019-12-25 01:57:33 +03:00 |
|
Arseny Smirnov
|
8045132040
|
Fix system time it it goes backwards
GitOrigin-RevId: 3992a79df98fb164f5a410e756aa9e87ea853c38
|
2019-12-24 19:51:41 +04:00 |
|
levlam
|
a14ee3e66c
|
Do not use functional cast on integers.
GitOrigin-RevId: 1ebcf0e9a9b004039d32b6363140387bca7d7722
|
2019-12-24 16:46:10 +03:00 |
|
levlam
|
9dde153313
|
Better integer casts.
GitOrigin-RevId: 3ae8b651f299dfe134ea5380891296cee44d01e9
|
2019-12-24 16:36:14 +03:00 |
|
levlam
|
ab4ee8031a
|
Fix to_json.
GitOrigin-RevId: a6ddd1fe716720bad5efe877ac2534889fbb3f9d
|
2019-12-24 16:22:10 +03:00 |
|
levlam
|
8f72e0daea
|
Remove necessity to include td/tl/tl_json.h.
GitOrigin-RevId: 612988c86cd74eddf6f4ae02fee33635afc93995
|
2019-12-24 04:08:42 +03:00 |
|
levlam
|
240c092368
|
Remove tl_json dependency on td_api.
GitOrigin-RevId: 2453a8ac022cf86b799d24045d98e3e69b4a3d9e
|
2019-12-24 03:55:36 +03:00 |
|
levlam
|
5462265a84
|
Improve setChatDiscussionGroup documentation.
GitOrigin-RevId: 9933454492c11f8c00b12cc01c2c360a43e7c077
|
2019-12-24 03:23:12 +03:00 |
|
Arseny Smirnov
|
e7e1521fd2
|
Fix example/tdweb build
GitOrigin-RevId: f924d875361fc363af32e5d703e3cac373927405
|
2019-12-23 21:33:03 +04:00 |
|
levlam
|
adb10460b2
|
Minor fixes.
GitOrigin-RevId: 0c678ad195683947355b63af5aff49875312b4a3
|
2019-12-23 20:48:30 +03:00 |
|
levlam
|
53ce59d00a
|
Do not hide edit date from bots.
GitOrigin-RevId: bea81ad9437f360908cd02a2fe2d63dce99c2390
|
2019-12-23 19:33:57 +03:00 |
|
levlam
|
64f73bebff
|
Better message entities debug.
GitOrigin-RevId: 05fea435da021773ca6fbb76e81680e4913cde51
|
2019-12-23 19:01:47 +03:00 |
|
levlam
|
8da2d89884
|
Fix warning.
GitOrigin-RevId: 635b716f371f5e86cfe4d599d573dc46558ae14c
|
2019-12-23 18:39:20 +03:00 |
|
levlam
|
b85302f928
|
Add direct cache for linked channels.
GitOrigin-RevId: 1d994bd0aef96c379312a4be776b7a107cd175da
|
2019-12-23 18:37:11 +03:00 |
|
levlam
|
1a9fe6a40d
|
Make FileManager::Query::Type enum class.
GitOrigin-RevId: 031229295e1d6e41e0569363d0262e7ce83832c4
|
2019-12-23 17:32:03 +03:00 |
|
levlam
|
a2cf11ddc9
|
Do not request app config by bots.
GitOrigin-RevId: 6bf7a97e0824827b9f23856407fe4d489a40f45b
|
2019-12-23 16:14:43 +03:00 |
|
levlam
|
738fec0d41
|
Fix assigning of min access_hash.
GitOrigin-RevId: e6b1a815e287a399c7af9e2cac6a1238c0715e17
|
2019-12-23 05:11:57 +03:00 |
|
levlam
|
03066d10c9
|
Do not store photo.id in file_unique_id.
GitOrigin-RevId: 51a888c863b90f220964444255c46c9ac5e91c2e
|
2019-12-23 04:32:02 +03:00 |
|
levlam
|
70926d1882
|
Avoid double null check for stored to JSON objects.
GitOrigin-RevId: 73fe0eab42d933491a39a83e6bc4fa93dabadc39
|
2019-12-23 03:44:03 +03:00 |
|
levlam
|
b1314b38be
|
Remove unnecessary ToJson in td_api_json.
GitOrigin-RevId: 93dd7a4f30ad93ab32a0dabf97ce6f856dcf618a
|
2019-12-23 03:32:43 +03:00 |
|
levlam
|
674e6b79d8
|
Remove unsafe JsonScope::operator<<(bool) to which pointers can be converted.
GitOrigin-RevId: 0350036ba8dd4b24df8974e1fe95593afe78a309
|
2019-12-23 03:21:51 +03:00 |
|
levlam
|
9788681015
|
Fix CE.
GitOrigin-RevId: 1e6d1c3dc9a275e7f773e0c1fdf3be82864c63df
|
2019-12-23 02:46:52 +03:00 |
|
levlam
|
8fd937af26
|
Better debug logging.
GitOrigin-RevId: 802ee45dc32cbd48023b1bef2678a7399488b674
|
2019-12-23 02:04:40 +03:00 |
|
levlam
|
dd1ae68f57
|
Fix documentation.
GitOrigin-RevId: 4c3bc6a52792adf79e055132dcd3ec9f8fb4186c
|
2019-12-23 01:55:14 +03:00 |
|
levlam
|
051acb85af
|
Fix setting the same background.
GitOrigin-RevId: 2f1d147f32d66916683e1a18bf4734dd8ad70407
|
2019-12-23 01:29:19 +03:00 |
|
levlam
|
13a6973f4b
|
Support BackgroundFill in backgroundTypePattern.
GitOrigin-RevId: 2d8e594c4acb0380b1ebb687c3727abea09dedc7
|
2019-12-22 23:02:36 +03:00 |
|
levlam
|
68a211a368
|
Add rotation_angle support to gradient background fill.
GitOrigin-RevId: ebe65367b2cad8777e6e87cf30815a1f9545da9a
|
2019-12-22 22:32:01 +03:00 |
|
levlam
|
b48c465b0d
|
Replace GradientInfo with BackgroundFill internally.
GitOrigin-RevId: 62f72414e933e77e79c2d99828988122758956d2
|
2019-12-22 21:01:51 +03:00 |
|
levlam
|
a1af39bc8f
|
Better scheme for BackgroundType.
GitOrigin-RevId: 01f15daff83986078b9fff55a5e3a70bab2a800b
|
2019-12-22 20:11:54 +03:00 |
|
levlam
|
e9bb8f2a29
|
Remove public get_color_hex_string method.
GitOrigin-RevId: cfc3100b814766410fadc6749522457f7e5ad514
|
2019-12-22 04:42:22 +03:00 |
|
levlam
|
8be871bad7
|
Add BackgroundType::get_link() method.
GitOrigin-RevId: be2522d94742608e61adbef223a9b161e87b6aa3
|
2019-12-22 04:34:39 +03:00 |
|
levlam
|
e1f1253e21
|
Better Gradientinfo implementation.
GitOrigin-RevId: cc7a3c0a94cd2816c2090981f78ddcedd2128d1f
|
2019-12-22 04:02:39 +03:00 |
|
levlam
|
51611ae422
|
Introduce td_api::gradientInfo.
GitOrigin-RevId: 436fd124ee3417851031ee32b094a93a8e550599
|
2019-12-22 03:17:52 +03:00 |
|
levlam
|
04eb931c72
|
Update layer 107.
GitOrigin-RevId: d8ab8b2016d368f6e4f03c6cf1440232ab66e7f2
|
2019-12-22 02:56:51 +03:00 |
|
levlam
|
48f5681dfd
|
Add max_video_upload_bitrate to autoDownloadSettings.
GitOrigin-RevId: dc443eae2066c85194efa9d338b5a498be8ffc12
|
2019-12-22 00:40:37 +03:00 |
|
levlam
|
7666c8a07f
|
Update layer 107.
GitOrigin-RevId: c0ce53032262636e8aea4f824c80e2caad3089b2
|
2019-12-21 22:30:36 +03:00 |
|