Commit Graph

3751 Commits

Author SHA1 Message Date
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
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
b07d9634d6 Allow to pass chat as MessageSender in searchChatMessages.
GitOrigin-RevId: 7b39f616b1677c03dab2bbe48311ba188ec9344b
2020-10-14 14:41:04 +03: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
881aa63014 Keep reply info only on last forwarded and first album messages.
GitOrigin-RevId: 0011332382abccd84122f88bcb2ae04ee793dd2b
2020-10-24 14:52:18 +03:00
levlam
978863810c Use MessageId as map key.
GitOrigin-RevId: 795c123e953dbdae3c03b828b458910fe221ce90
2020-10-24 02:00:37 +03:00
levlam
0846e7aec5 Don't use iterators after a promise is set.
GitOrigin-RevId: eba7487d7025410ae4a2230d4ce09cfa02012fdf
2020-10-24 01:45:04 +03:00
levlam
c768cd202a Improve deletion of newer messages in on_get_channel_dialog.
GitOrigin-RevId: 98a348ba63440d8e61c1199a68298cfa66b2a863
2020-10-23 14:50:05 +03:00
levlam
bf945e05be Remove promise from map before setting it.
GitOrigin-RevId: d721cab5311096631748e632cf8756edaef9d7e1
2020-10-23 12:54:08 +03:00
levlam
f5c4b93a37 Use generic find_messages.
GitOrigin-RevId: ac5bb9be8a6597cbdafa3762e6d6cbf5f1720edc
2020-10-22 16:08:54 +03:00
levlam
4718e640ee Add generic MessagesManager::find_messages.
GitOrigin-RevId: 21c6f0145376ef4a779703b8cf516a420418cb39
2020-10-22 15:59:59 +03:00
levlam
a6f9fde223 Update built-in bot flags.
GitOrigin-RevId: f54618d393b39e14f1269c8237d971ff47402a72
2020-10-22 13:21:51 +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
levlam
5fc7a7727e Use error code 500 for "Requested data is inaccessible" errors.
GitOrigin-RevId: 2d39f90cd196f508b288089433ba2f066b5fcb22
2020-10-18 01:03:16 +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
1aff1e75ef Fix net query Counter initialization.
GitOrigin-RevId: ba23b816cfed060cea15244e3f2264f74c89d390
2020-10-13 02:30:40 +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
9856b0e46e Add some workariunds for crashes on exit without closing all clients.
GitOrigin-RevId: 5c74e9fe6951b6a8eb65d6c1e5ddf7bf8e0c8163
2020-10-11 21:21:38 +03:00
levlam
10a7edfbea Disable logging after program exit.
GitOrigin-RevId: 8ca24e1999fe95f171e18477baa2e56912a2e895
2020-10-11 14:45:22 +03:00
levlam
714f037f15 Move ClientManager singleton creation to ClientManager::get_manager_singleton.
GitOrigin-RevId: 071b947ff072186c70387cbd00f1c6b1c17d0e6b
2020-10-11 11:08:56 +03:00
levlam
09f906f192 Protect access to some static variables using ExitGuard.
GitOrigin-RevId: 65c7510c60d585b90e90d09067c7dfdaf79c4cd3
2020-10-11 01:59:27 +03:00
levlam
c484cc4773 Postpone td_api::authorizationStateClosed until the client is fully closed.
GitOrigin-RevId: 064696a00110c1f567b6da6afbee58d868ff4938
2020-10-10 22:08:41 +03:00
levlam
2850e596d3 Fix ConcurrentScheduler guard usage.
GitOrigin-RevId: 6f4dd470a690cdbe98870c89433634b31136f832
2020-10-10 22:05:20 +03:00
levlam
84ea5b06c9 Minor.
GitOrigin-RevId: 1e722a9e8ad6ddd894f9fd4e1b05529aa4aa6a15
2020-10-10 22:02:59 +03:00
levlam
cebc6c1fb4 Remove empty requests logging.
GitOrigin-RevId: fdc488bfee7e974f5aca3322d7d028ed797b312f
2020-10-09 18:00:38 +03:00
levlam
30471b7099 Do not send chat actions to offline users like the main Android client.
GitOrigin-RevId: 6299f69ade490fa10bad74779b30a0d73a145ff2
2020-10-09 15:42:57 +03:00
levlam
38f72b353a Clear ClientManager when the last Client is closed.
GitOrigin-RevId: d2d5194f7ffc59dc8db1196401c80689a8645dac
2020-10-09 15:39:30 +03:00
levlam
b491964a81 Store TdReceiver by value.
GitOrigin-RevId: 51dbcaf815c5ba1a42539242b1e57b456f188d38
2020-10-09 14:25:06 +03:00
levlam
35a9a93fc9 Fix std::...::erase return value usages.
GitOrigin-RevId: d9729ccd619e3b99554f1e1c2262d8826f0a8571
2020-10-08 23:04:40 +03:00
levlam
54f32ebc80 Add source to resolve_dependencies_force.
GitOrigin-RevId: b09c73df688eea5872d65ec56f0ae1cb10717542
2020-10-08 22:54:24 +03:00