Commit Graph

3577 Commits

Author SHA1 Message Date
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
Arseny Smirnov
eec3a5205c tdweb: windows.indexedDb -> indexedDB
GitOrigin-RevId: f7d4b7ae785c3f2e0ae2e04b54fe34ce0bfff68a
2019-12-24 14:39:52 +04: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
5fdb88a8ac Return JsonScope::operator<< overloads for string literals and pointers, because otherwise they are converted to bool.
GitOrigin-RevId: a699415fa15350be1daf9718239b295f272dc3ef
2019-12-23 03:09:21 +03:00