Commit Graph

5439 Commits

Author SHA1 Message Date
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
27f63e9e2e Replace getBlockedChats with getBlockedMessageSenders.
GitOrigin-RevId: 044f70ab823b8302dddc8b7a128f19514306272a
2020-10-18 02:10:58 +03:00
levlam
0834d6164b Replace toggleChatIsBlocked with toggleMessageSenderIsBlocked.
GitOrigin-RevId: cec3ba4ba139593e8cbf9422711e79b4a736b6f3
2020-10-18 01:54:32 +03:00
levlam
62fbb88969 Rename blockChatFromReplies to blockMessageSenderFromReplies.
GitOrigin-RevId: 820cbd60145c339c6cf5a7d319ff540ce03861e2
2020-10-18 01:26:36 +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
2915129cd8 Allow message threads in all chats.
GitOrigin-RevId: 36652fbb9fb997fe41fd8bdf7b7172593fcc3629
2020-10-18 00:17:44 +03:00
levlam
30c17d200b Use MessageSender to represent recent repliers.
GitOrigin-RevId: 2078a6b936d2087a1672eb96851494508f28a465
2020-10-18 00:07:39 +03:00
levlam
9fb26c4ea2 Return back UserFull.is_blocked.
GitOrigin-RevId: 98bc31a64c4c644fd6bb9e6e895d521b17df5afa
2020-10-17 23:38:07 +03:00
levlam
9558b06021 Add location horizontal accuracy support.
GitOrigin-RevId: bafb7f7ff115eeede17be4bb1610045b5e3e78c9
2020-10-17 22:47:47 +03:00
levlam
7b4afb7673 tdtl: always recalc number of simple constructors.
GitOrigin-RevId: dcc2c48f29d8a8f039bb53ec69c8b3076b153608
2020-10-17 00:47:05 +03:00
levlam
6e3eda2aa1 Add live location heading support.
GitOrigin-RevId: 67a1bdad91e82f6e7509f4df8c7f66a00e44ab83
2020-10-16 23:08:28 +03:00
levlam
d159ab4f52 Support audio-only and document-only albums.
GitOrigin-RevId: 96283716a84613e8e9dd1cb9bfb4d69097cefcc7
2020-10-15 18:13:54 +03:00
levlam
af6fe68c00 Allow to pin messages in all private chats.
GitOrigin-RevId: b5f55c22a6ec5950f5b88b66726bce918112d57f
2020-10-15 17:21:15 +03:00
levlam
fd9732dcfa Add slot machine support.
GitOrigin-RevId: e0c3c5d9b2cff2870162f11983bd546aba101caf
2020-10-15 15:59:51 +03:00
levlam
33b7ba57a9 Add channelParticipantLeft support,
GitOrigin-RevId: 59d3ba88fb54c848d99425ec3ad95760d1765e3a
2020-10-14 22:35:30 +03:00
levlam
b1ed582737 Allow to specify a chat as a local message sender.
GitOrigin-RevId: f1f5251b617a6f17188c7db49450a2eb433ef14c
2020-10-14 21:47:20 +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
b07d9634d6 Allow to pass chat as MessageSender in searchChatMessages.
GitOrigin-RevId: 7b39f616b1677c03dab2bbe48311ba188ec9344b
2020-10-14 14:41:04 +03:00
Andrea Cavalli
9773e87e96 Update StickersManager.cpp 2020-10-14 12:53:18 +02:00
levlam
e32e1c66e7 Add td_api::MessageSender class.
GitOrigin-RevId: 082a1e74188bffc590c4a4182793a9d94b60c148
2020-10-13 19:40:22 +03:00
levlam
d968fd0bed Implement new chat action rules.
GitOrigin-RevId: 12214755c86adfee0a7b3ec5f6e39024364cdb99
2020-10-26 15:25:34 +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
Andrea Cavalli
7654c2706a Update Client.cpp 2020-10-13 03:11:19 +02: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
Andrea Cavalli
85bf271fb8 Update Client.cpp, Log.cpp, and 4 more files... 2020-10-12 19:50:17 +02:00
Andrea Cavalli
d3b2f81269 Revert standard client implementation 2020-10-12 19:18:48 +02:00
Andrea Cavalli
f5ecc4b896 Merge remote-tracking branch 'td/master' 2020-10-12 17:53:24 +02:00
levlam
a8355f1749 Fix compilation error.
GitOrigin-RevId: a23376048dbd9ed09320ec857ae4153048d259ea
2020-10-12 18:44:35 +03:00
Andrea Cavalli
54938a07d6 Fix Levlam's cmake bug 2020-10-12 16:20:54 +02:00