Commit Graph

3540 Commits

Author SHA1 Message Date
levlam
53d694a01c Fix get_actor_unsafe usages.
GitOrigin-RevId: f39aa2d0a2083842698337bb34457826c1951be6
2020-07-04 12:00:14 +03:00
levlam
c865f6a42e Increase poll question length limit for bots to 300.
GitOrigin-RevId: 9ab822c385923e1a46642ad6dfffb97697f68a8b
2020-07-04 02:19:38 +03:00
levlam
2ac8c164ff Increase maximum file size.
GitOrigin-RevId: d4da965e7ecea03bc3eb356c41a81a715a06ace0
2020-07-03 17:31:06 +03:00
levlam
c4113c6be3 Remove SecretChatsManager::after_get_difference.
GitOrigin-RevId: 17f3a30e354e2e532ba3975c2d4b84f7d8c904d3
2020-07-03 16:18:23 +03:00
levlam
06bd4fa734 Add DialogParticipant validness checks.
GitOrigin-RevId: 74ca340bd890f0bd913a9f0d7aeb3e81f3829cf7
2020-06-30 17:46:36 +03:00
levlam
7a12f49d61 Add DialogParticipant constructor from telegram_api.
GitOrigin-RevId: 8d3080993b029028eb59c561f1fc700db87eb970
2020-06-30 16:43:44 +03:00
Arseny Smirnov
e78831cd2b secret chats: fix CHECK
GitOrigin-RevId: 191ec9b6542f1e861465c862261ed78a93d33886
2020-06-29 19:29:17 +03:00
levlam
5507d58339 Better handling of secondary file types in scan_fs.
GitOrigin-RevId: 7602a2e14c39fb280be03053160e2ad922ea1ca4
2020-06-28 22:04:21 +03:00
levlam
8e22bdb887 Fix non-main file reference repair.
GitOrigin-RevId: b80ec1cbdc3027a9d6ab7577e9d7492315b50867
2020-06-28 17:42:19 +03:00
levlam
9a1402b13e Make full user profile photos owned by private chat.
GitOrigin-RevId: d406b1eb689db978c308dc4a08563f64cabd0d24
2020-06-27 23:48:03 +03:00
levlam
c5cba87bf6 Improve user photo registration.
GitOrigin-RevId: 323513d5a30710bb8aabde9476b09be2eb8bd059
2020-06-27 21:59:10 +03:00
levlam
eb79c3084e Silence FILE_DOWNLOAD_ID_INVALID error logging.
GitOrigin-RevId: e332bc61d58f536a57ce4a10a7da0f6779fa5184
2020-06-27 19:48:08 +03:00
levlam
2ad13e414e Remove file reference tracing for chat photos.
GitOrigin-RevId: 1cb90efec24192b5a712cabde325c8768e1af572
2020-06-27 17:05:45 +03:00
levlam
8872fbf6ac Fix tdutils after merge.
GitOrigin-RevId: 5b9a863e405a9e3782157570156fda71bf2bb589
2020-06-26 02:24:13 +03:00
levlam
f6b4ced7bb Improve some variable names.
GitOrigin-RevId: b399b6fc1150aced96a41a75797d88e2df627415
2020-06-24 14:33:20 +03:00
Arseny Smirnov
fd6423dedf update tdutils from another project
GitOrigin-RevId: 79b8eb2ba229d733f82dbb17b8bd7f27471c9472
2020-06-24 14:47:36 +03:00
levlam
e8ac30cbbf Fix saving changed user photo in UserFull to database.
GitOrigin-RevId: 0ee766994fe59c6493f92bfe2424b3868cbbb304
2020-06-24 11:13:16 +03:00
levlam
4acf82c506 Add Photo.is_empty().
GitOrigin-RevId: 6dd6aeaaaa703f9cd865598d52b97eb64523fea0
2020-06-23 21:04:26 +03:00
levlam
ef04c17a89 Init photo ID to invalid by default.
GitOrigin-RevId: 072cd8bbd87267e086ed9a280ba5238e5e231a84
2020-06-23 20:50:16 +03:00
levlam
b02b578ab9 Add profile photo to userFullInfo.
GitOrigin-RevId: 8bf6604de32e191a0aa412cab1c00739eb774dd7
2020-06-23 19:40:37 +03:00
levlam
d0499a5505 Improve error message.
GitOrigin-RevId: 4f1cacdd9566a784df53d05d000330b161338e92
2020-06-23 09:56:47 +03:00
levlam
7f1c52bbec Update layer to 115. Support temporary read access to chat by invite link.
GitOrigin-RevId: 56bcbbde0bb6cb113db8e3c8554b7e1fd7622b23
2020-06-23 09:31:25 +03:00
levlam
d880865685 Improve logging.
GitOrigin-RevId: d9d4ff3eb325318676f44579b7d410e7a5b1cdd8
2020-06-23 01:02:46 +03:00
levlam
d01c906f53 Add get_main_file_type.
GitOrigin-RevId: 138fc28f8c8e59a8583514b53ce37750f2f0360a
2020-06-22 08:43:00 +03:00
levlam
e3f9b5066b Improve documentation.
GitOrigin-RevId: 9199d70c714471533eb71cab45fb77f5895a4c2d
2020-06-22 06:05:54 +03:00
levlam
9334243a5d Unify conversion function names.
GitOrigin-RevId: 10def5544dfd6a94ff89b15441006d102b512439
2020-06-22 04:28:03 +03:00
levlam
32af19acfe Improve constant name.
GitOrigin-RevId: 650c2c1ef42bb4d31f4cd5094cca5d251cc6c28a
2020-06-22 02:27:58 +03:00
levlam
d75c6eff57 Add FileType.cpp.
GitOrigin-RevId: 8ed89c8f90d3d83d810bdaede43d839962fea6fe
2020-06-22 02:20:48 +03:00
levlam
d5b4c57993 Add inputMessageDocument.force_file.
GitOrigin-RevId: 7f2780ba7f333e5f8df9c28bab429b8b12eaf26c
2020-06-22 02:02:21 +03:00
levlam
4f005e3356 Add MessagesManager::get_input_peer_force for offset_peer.
GitOrigin-RevId: 45ec6bb84f679c2b843f7487105069c3aa64341f
2020-06-20 03:45:25 +03:00
levlam
4ae7bc23dc Add two ways for OS version detection on Darwin.
GitOrigin-RevId: cddea795e5d289b1fe15d88fc99db51e42c7138e
2020-06-20 02:39:33 +03:00
levlam
47229e1dab Add expected_non_option_count to OptionParser.
GitOrigin-RevId: 41bf15d9bddf1673c0c421ef9e5108a5678f9842
2020-06-19 06:00:01 +03:00
levlam
251318d2da Add OptionParser::add_check.
GitOrigin-RevId: dbf50403ba264ddf04b50197f0b54500c8f761ce
2020-06-19 05:50:18 +03:00
levlam
5aa609535e Simplify support for unchecked options in OptionParser.
GitOrigin-RevId: 5a913944b5a6cfecdfb96287e2c670be8ca18547
2020-06-19 04:44:38 +03:00
levlam
0877d7f716 Automatically detect operating system version.
GitOrigin-RevId: d693799fdbfe4919da5a70c141709f2db93063d7
2020-06-19 03:45:24 +03:00
levlam
b70b23509b Improve updateUsersNearby description.
GitOrigin-RevId: 92538b51a8f8d6c2a01c62a81589348838200253
2020-06-18 21:07:40 +03:00
levlam
0275ecdcbc Fix "Try to" usages.
GitOrigin-RevId: 4ff6d26737f67180a1e9a1289f7f7fb428828b08
2020-06-18 05:02:18 +03:00
levlam
10c3cc2a51 Improve logging.
GitOrigin-RevId: d724bc73494d5ad5f19bc5d0e87c6bdc361183ee
2020-06-18 03:49:31 +03:00
levlam
448e8e0186 Fix connecting_since_ initialization.
GitOrigin-RevId: 0623c909eb05c6144b9443f1f287ddd8eafd874c
2020-06-18 02:42:01 +03:00
levlam
20099b730e Improve logging.
GitOrigin-RevId: 0740f7fc674e80a6be76f8cc8c847a22a0b6be90
2020-06-17 23:57:23 +03:00
levlam
4f8fd1781d Prettify OptionParser usage printing.
GitOrigin-RevId: f0b7c833e91d9eea49483bb93124babc190fa670
2020-06-17 06:09:53 +03:00
levlam
ce137620f5 Improve logging to PLAIN.
GitOrigin-RevId: 5fd64a3599e599a7ae27eecc284f0cd898db8aca
2020-06-17 05:51:36 +03:00
levlam
a7fa10718f tg_cli: use OptionParser.
GitOrigin-RevId: c2d73fcc79028d1dce9b951ad02ae880c114c1e0
2020-06-17 05:30:14 +03:00
levlam
c1688ca081 Use proper bit function.
GitOrigin-RevId: c0254cc33fce40682b8609f5fb73b23a4ab1927b
2020-06-17 04:16:59 +03:00
levlam
c46910d75f Add portable option parser.
GitOrigin-RevId: 0d4f7e2f5bec4826e1c12e3aa1aee642fcf6da07
2020-06-17 03:04:36 +03:00
levlam
96b18f3ad8 Fix loading empty list of pinned chats from binlog.
GitOrigin-RevId: 21f90fe3f9f869fe4b4fdab228a5bae1975728ae
2020-06-16 15:21:37 +03:00
levlam
3442a88413 Unify constant names style.
GitOrigin-RevId: 6e4475366b94cea6ab0331d57f254311490bdee2
2020-06-16 05:10:16 +03:00
levlam
44cd25afae Force data loading on MESSAGE_MUTED.
GitOrigin-RevId: 1911c676b7c25fe4334c2ef1f1dc2395e39b27f9
2020-06-16 00:25:12 +03:00
levlam
a5b0f205d1 Remove Promise debug.
GitOrigin-RevId: b248c369954ae5ddd81437e4a2fdde245544d267
2020-06-15 04:59:08 +03:00
levlam
0cf4fea1ff Remove enum usages for static constants creation.
GitOrigin-RevId: 2a88fd2cd961398a09403fe35a15ae56372a44f8
2020-06-15 04:52:56 +03:00