Commit Graph

5273 Commits

Author SHA1 Message Date
levlam
a6f9fde223 Update built-in bot flags.
GitOrigin-RevId: f54618d393b39e14f1269c8237d971ff47402a72
2020-10-22 13:21:51 +03:00
levlam
989491466d Add lpad function.
GitOrigin-RevId: d23ef15d200e2b199294de0d10a10e92d7389339
2020-10-22 12:22:35 +03:00
levlam
1ad0b068cd Improve oneline.
GitOrigin-RevId: 6cec8e407f0f5eedb367aea25864033a69e1d1e5
2020-10-22 12:09:32 +03:00
levlam
f9009cbc01 Improve checks in MessagesManager::is_anonymous_administrator.
GitOrigin-RevId: 332c324e1c067cc2ed394fedce16b590188e3ae7
2020-10-22 02:40:58 +03:00
levlam
f59a11706c Use unique location for outgoing photos.
GitOrigin-RevId: ac3a0eed1847ee7b96d463758ee33b85c6797ac5
2020-10-22 02:11:32 +03:00
levlam
0256a95f49 Fix GetChannelDifferenceLogEvent handling.
GitOrigin-RevId: facbb318cbba1c9ac6908db86ec5fba123c88d7b
2020-10-21 16:54:32 +03:00
levlam
d17531e0e3 Ensure that private message push notifications don't contain mention.
GitOrigin-RevId: 87d85e63b70fdc5c9fe91d22d7cf9b7ba59f0895
2020-10-20 21:24:26 +03:00
levlam
06bb6b4b11 Ignore anonymous status for bots.
GitOrigin-RevId: c3b5316fcb2a538655c4a2eeb09ef5df08794212
2020-10-19 21:43:44 +03:00
Arseny Smirnov
add7211707 tdweb: 1.6.9
GitOrigin-RevId: e1124a86c021c43c42ad00dc18dc9db0cbcacad1
2020-10-20 22:23:52 +03:00
Nikolay Nechaev
cecdae448e
Update td_example.cpp (#1254)
Read the whole password, not only the first word from it
2020-10-18 19:25:43 +03:00
levlam
fa91220f88 Remove superflous "struct " specifiers.
GitOrigin-RevId: 317d66fad270e99c4c4e6bc14b172f4c2eec3d6d
2020-10-18 18:29:51 +03:00
levlam
fc5bf9ef06 Suppress SIGPIPE signals on write.
GitOrigin-RevId: 19ff2a079a4dc69535e34282bfb2c2f381856def
2020-10-18 18:12:32 +03:00
levlam
5fc7a7727e Use error code 500 for "Requested data is inaccessible" errors.
GitOrigin-RevId: 2d39f90cd196f508b288089433ba2f066b5fcb22
2020-10-18 01:03:16 +03:00
levlam
7b4afb7673 tdtl: always recalc number of simple constructors.
GitOrigin-RevId: dcc2c48f29d8a8f039bb53ec69c8b3076b153608
2020-10-17 00:47:05 +03:00
levlam
b03e0a827e Remove wrong because of call through send_closure_later CHECK.
GitOrigin-RevId: c61586c3dde988c3174f4ce3e05fe0f08d7af468
2020-10-14 19:03:36 +03:00
levlam
a487d20e2d Fix service message reply_to_message_id.
GitOrigin-RevId: b0c430c6c04167b15e4b195d86d584e376f88efe
2020-10-14 17:30:55 +03:00
levlam
a57d9ccbea Don't add dummy message sender for bots on TDLib's side.
GitOrigin-RevId: d1ab4f7ca2739d30b0960f655478404d34d40757
2020-10-13 17:25:25 +03:00
levlam
348fdf1a31 Add "group_anonymous_bot_user_id" option.
GitOrigin-RevId: efb6ee569861df005a53fd0255c50fdfa0460382
2020-10-13 17:02:10 +03:00
levlam
358c0f2249 Add clientCount in Java example.
GitOrigin-RevId: 7b7dfcf77de1ab1db55dd42642b59f5b039943cb
2020-10-13 15:39:17 +03:00
levlam
7a59b3d2b3 Fix td_api C++11 compatibility.
GitOrigin-RevId: de46b13b26aa268770e99cf2b83ecf86b9ba5385
2020-10-13 13:51:13 +03:00
levlam
a9c36dbd57 GeneratePkgConfig: fix install.
GitOrigin-RevId: a5287a6f9147814994dc948b3f59ff184852bc0d
2020-10-13 13:37:47 +03:00
levlam
3d52512d26 GeneratePkgConfig: fix absolute path handling.
GitOrigin-RevId: b5cdd94ca3b8c90781fd6101ab4ed58b159344fe
2020-10-13 13:14:28 +03:00
levlam
f08e0fb116 GeneratePkgConfig: fix variable expansion usages.
GitOrigin-RevId: e7545e211540207bcac81c2600413c1357132680
2020-10-13 12:59:24 +03:00
levlam
39fec60968 Reduce ClientManager timeout in test.
GitOrigin-RevId: 806d6b24d0348af17c6334fd9c1983ef3098e62d
2020-10-13 10:42:18 +03:00
levlam
1aff1e75ef Fix net query Counter initialization.
GitOrigin-RevId: ba23b816cfed060cea15244e3f2264f74c89d390
2020-10-13 02:30:40 +03:00
levlam
b514800cd1 Fix tdnet dependencies order.
GitOrigin-RevId: cf5c5c4f28cd1a3445ab6cda293944655df1c0fa
2020-10-13 01:30:50 +03:00
levlam
95b397d52e GeneratePkgConfig: minor variable expansion fixes.
GitOrigin-RevId: 7b04158cc1262040fb5a9ebd33df50571e63b529
2020-10-13 01:09:26 +03:00
levlam
797d42679f GeneratePkgConfig: fix dependent library names on Windows.
GitOrigin-RevId: 72de9174b1b9676ef1817b9fe7f2ed893d6c7e16
2020-10-13 00:55:59 +03:00
levlam
9a24cd40ec GeneratePkgConfig: return back prefix variable, so it can be overriden by pkg-config.
GitOrigin-RevId: 4cf5e2a9e65b0114ec8ee30dcfae5bd7f526bcf5
2020-10-13 00:50:08 +03:00
levlam
8a6bf5e7a1 GeneratePkgConfig: fix handling of install path with spaces.
GitOrigin-RevId: b18c2db8cd6314765b41509b094093853bbf5def
2020-10-12 23:38:43 +03:00
levlam
e3449e0df8 GeneratePkgConfig: remove duplicate libraries.
GitOrigin-RevId: b16e2a7e99d22508e09f5df419d27874941991f6
2020-10-12 23:21:30 +03:00
levlam
cb0688d792 GeneratePkgConfig: ignore DEBUG-only dependencies.
GitOrigin-RevId: f4c551006003879bdb079d36fdf3ef76eb553a14
2020-10-12 23:10:28 +03:00
levlam
885a9d8e9c GeneratePkgConfig: fix CMake 3.0 compatibility.
GitOrigin-RevId: 20aad92a716731d09d55c946bf5655e9f388a6d1
2020-10-12 22:31:02 +03:00
levlam
647250bcb4 Generate pkgconfig files only for installed libraries.
GitOrigin-RevId: 72c5089e9aaefbf2886cee16bff729d738f1ef1f
2020-10-12 22:27:26 +03:00
levlam
9390cd20bc GeneratePkgConfig: use CMAKE_INSTALL_* variables.
GitOrigin-RevId: 1054a674f8bdf54d1d45dfe6e439811116f344c4
2020-10-12 21:45:20 +03:00
levlam
162b87e1a8 Use spaces instead of tabs in CMake module for consistency.
GitOrigin-RevId: 39fc482b99cb70235b10624bed6adb9a75752020
2020-10-12 21:39:48 +03:00
Gustavo Marques
ba948f8661
generate pkg-config files for targets (#1223) 2020-10-12 21:31:22 +03:00
levlam
a8355f1749 Fix compilation error.
GitOrigin-RevId: a23376048dbd9ed09320ec857ae4153048d259ea
2020-10-12 18:44:35 +03:00
levlam
6b1f6b829d Add Object Pascal to build instructions generator.
GitOrigin-RevId: 2c05c0571a01caab103e04d588c8b3aca38c3139
2020-10-12 14:50:41 +03:00
Ruan Diego Lacerda Menezes
f05b0a833d
Add Object Pascal language to readme (#1229) 2020-10-12 14:34:16 +03:00
levlam
966621376b Use new JSON interface in cpp example.
GitOrigin-RevId: b92842c8ca490877a3154cd04fe9c4cea0e76ee2
2020-10-12 13:58:01 +03:00
levlam
706555502b Build tests only once.
GitOrigin-RevId: 386e5708eab6b806bd62a06e854187f4988303d3
2020-10-12 11:49:23 +03:00
levlam
c1309d7657 Do not return deleted secret chats and replace migrated basic groups with corresponding supergroups in recently found chats.
GitOrigin-RevId: e50390583e3956a4eb8fdb92ec8a82f04cc7914f
2020-10-12 11:33:16 +03:00
levlam
fbeea0b108 Add is_deleted_secret_chat method.
GitOrigin-RevId: eae2a7bcdf92587bbd77cf7c42c210b74107d8a4
2020-10-12 10:56:01 +03:00
levlam
3c5b09bad7 Hide photo sizes, which can't be downloaded.
GitOrigin-RevId: 420860824f41d5fecbb935c756d9b6f0a2564cb7
2020-10-12 10:31:57 +03:00
levlam
a4b71466e0 Minor improvements.
GitOrigin-RevId: 4f0c8840ee69c7a690cb12c5e36231cf9da6d91c
2020-10-12 10:24:30 +03:00
levlam
4da9f9d334 Use stable sort for photo sizes to keep "i" the last.
GitOrigin-RevId: 7feab3e73a3a03bc9fd3a0e76e05ab4cbb0f10d2
2020-10-12 10:17:02 +03:00
levlam
fb1307ff60 Check for unneeded chat actions only while trying to send it.
GitOrigin-RevId: 7067f21e42ba0d3c3dc797f72341681e32998e6a
2020-10-12 01:48:13 +03:00
levlam
6e9a2cb395 Update recommended Emscripten version.
GitOrigin-RevId: 99502278d1de3bdc78eae343bffd991505cacfa9
2020-10-12 01:10:55 +03:00
levlam
8b40856d6e Always link OpenSSL with Crypt32 on Windows.
GitOrigin-RevId: 56dd9e21c8175f291222c8d42153dcd50cf57ed9
2020-10-11 23:48:17 +03:00