Commit Graph

2502 Commits

Author SHA1 Message Date
levlam
c710403382 Move cancel_send_deleted_message call to on_message_deleted.
GitOrigin-RevId: 84a141e575f8a1b87508c208fe5f1649ab0900df
2019-11-29 15:57:03 +03:00
levlam
1a636768b9 Add cancel_send_deleted_message function.
GitOrigin-RevId: 64f33bc1540da85a4c2c81ca28d8f4e1849dd9fb
2019-11-29 15:52:18 +03:00
levlam
c65004efde Padd Message pointer to cancel_send_message_query.
GitOrigin-RevId: 2e56372571b970d8549f5a8b9223218f1ffa9244
2019-11-29 15:30:48 +03:00
levlam
9948e41aed Add support for scheduled message IDs in MessagesManager.
GitOrigin-RevId: b489f50556450a142427159a80d6488bf36622d1
2019-11-29 15:03:03 +03:00
levlam
6b24886bf0 Partial support for scheduled message IDs.
GitOrigin-RevId: 752336efc26fb73a038801b99b490d0f68163b04
2019-11-26 23:47:13 +03:00
levlam
67e007eebd Support scheduled message IDs in logging.
GitOrigin-RevId: 4641da410f4cc5c683bfdc2dd67de5dea153fc26
2019-11-26 22:35:16 +03:00
levlam
917a3af6ac Fix some includes.
GitOrigin-RevId: c82e599631dd678f2c69fbf7fd3e9b3cd23ed965
2019-11-26 21:57:48 +03:00
levlam
5fd1339bc1 Increase version to 1.5.3.
GitOrigin-RevId: 3f4380aaeff296842522c70ccf89e21e3ff77cd3
2019-11-26 21:35:14 +03:00
levlam
12cd507909 Remove some misc.h usages in headers.
GitOrigin-RevId: 3f5ca0369113e9815935a6c6cb0fe0c5a051c248
2019-11-26 20:53:50 +03:00
levlam
0618005a95 Add FullMessageId.h.
GitOrigin-RevId: 758133149ff3317b3d9d3f86b1a841e8f34ca35a
2019-11-26 19:53:10 +03:00
levlam
099e767b6b Add ServerMessageId.h.
GitOrigin-RevId: f71d1f41f84c2263890875271f47f938e792aa55
2019-11-26 19:33:18 +03:00
levlam
decae25ea4 Add MessageId.cpp.
GitOrigin-RevId: cef61aa16eec0dfde026a611535487012e89f50f
2019-11-26 19:18:57 +03:00
levlam
4c5dbc4160 Add support for scheduled message_id.
GitOrigin-RevId: 1e56677062f8b59501fe64760ede980b9cb9bceb
2019-11-26 18:52:59 +03:00
levlam
727d0f1c6f Fix on_get_web_page_instant_view.
GitOrigin-RevId: 6325584a6481566bde5202e818ef02301585d16c
2019-11-26 03:45:23 +03:00
levlam
9da6ecaf1f Make MessageId layout private.
GitOrigin-RevId: a123b1bd7fe02110e699878c6c60dcc41b90c960
2019-11-26 03:32:05 +03:00
levlam
b4e45a2852 Make MessageId::SERVER_ID_SHIFT private.
GitOrigin-RevId: c7fa31a1fda75d874c674f0ee8e9ddcebde21c9d
2019-11-26 03:07:45 +03:00
levlam
5b1d363918 Add Chat.has_scheduled_messages flag.
GitOrigin-RevId: 6d7f211647c738d5912476232e8842c245d1f884
2019-11-25 19:11:24 +03:00
levlam
2a335089f9 Save is_from_scheduled Message flag.
GitOrigin-RevId: 6db9c1a244f275372fddd74977fdce37e8ffad35
2019-11-25 03:36:49 +03:00
levlam
99779fe3c1 Add support for multiple documents in WebPage.
GitOrigin-RevId: 54785578f34849900c6e75cf94bc71d1820f9083
2019-11-24 03:32:37 +03:00
levlam
df2b273aea Add td_api::message.restriction_reason.
GitOrigin-RevId: 9ecf89e3f14ed64d6ce5bd33aed97e03feae794a
2019-11-24 02:28:48 +03:00
levlam
e4eb01ad17 Automatically parse restriction reasons. Add option "ignore_platform_restrictions".
GitOrigin-RevId: 58de3f0dffb97b3d5c73aa3764aa5d48da1b709d
2019-11-24 01:37:46 +03:00
levlam
b00293992e Fix hide_edit_date support.
GitOrigin-RevId: a6875a31b618f527883e8bc205efe8ac96f683b9
2019-11-22 14:02:18 +03:00
levlam
f1cc64ec16 Add userPrivacySettingAllowFindingByPhoneNumber.
GitOrigin-RevId: f1d03087d185a9df52ab24ecb5ba93e54df9895e
2019-11-22 13:41:17 +03:00
levlam
8b0f0cdaf6 Add support for hiding message edit date via server-side flag.
GitOrigin-RevId: 675035e0b7d087da9ec76c2e104fb8ba23f07c18
2019-11-22 00:02:09 +03:00
levlam
7cdbd20ae0 Support new push notification keys.
GitOrigin-RevId: db45aeeab88d678b0ebef2b08368212a6fe7b89d
2019-11-21 23:48:52 +03:00
levlam
c5cc0e90f6 Update layer ro 106.
GitOrigin-RevId: 41e5db3d090559a7403accc8057c9957e6ead02d
2019-11-21 22:57:20 +03:00
levlam
43fc3b3ecb Animated emoji sticker set cache.
GitOrigin-RevId: adb54c26e904cb0661f6880bfad9f86e5a4587d9
2019-11-21 22:18:29 +03:00
levlam
f5db9e48e7 Add animated_emojis_sticker_set_name option.
GitOrigin-RevId: 22b7bd84436ad2a8deb5388dc9434f98afbb880f
2019-11-21 20:22:05 +03:00
levlam
26c5328b89 Do not generate default constructors.
GitOrigin-RevId: 89afa038ad99739ca0465e05a2e123ac60e7fa7a
2019-11-21 17:53:39 +03:00
levlam
0f353009f8 Improve slow mode.
GitOrigin-RevId: 068774033f5c84165e4833dafa29789d307ab97b
2019-11-21 16:58:00 +03:00
levlam
97cdacff7b Update slow_mode_next_send_date when a message is sent.
GitOrigin-RevId: d373e4685a4c6b717272844b50da8fb3139b2f64
2019-11-21 02:41:53 +03:00
levlam
2415d28b4e Send update after slow mode delay expires.
GitOrigin-RevId: 90b18c2a75f1e39ac967ebc3bbce84145769b2d8
2019-11-21 00:40:34 +03:00
levlam
fb90abcccc Add slow_mode_delay_expires_in.
GitOrigin-RevId: 118cd722f73982fc86823b28358f7111848d3b1a
2019-11-20 21:25:00 +03:00
levlam
38696df14d Load all drafts when chat list is loaded first time.
GitOrigin-RevId: 5f9190a53ecb131f3493dfd0bf53c04c3bf9fe8f
2019-11-17 22:27:52 +03:00
levlam
9d4512d2bd Drop slow mode delay after is_slow_mode_enabled was changed to false.
GitOrigin-RevId: 63a492c8203eee4b99d2c3db4e6e9c63ba77fe73
2019-11-15 19:27:12 +03:00
levlam
26fa164e9e Add td_api::setChatSlowModeDelay.
GitOrigin-RevId: 0a3760d41bdcadac62b78222eef7efd8e5769b9f
2019-11-15 18:17:52 +03:00
levlam
119225ccef Add supergroupFullInfo.slow_mode_delay.
GitOrigin-RevId: 361741fc9f2e6a89be4b0a74749df5c035533d67
2019-11-15 16:48:01 +03:00
levlam
e12f7ac3e0 Add td_api::supergroup::is_slow_mode_enabled.
GitOrigin-RevId: cdbf1140507fe85dcb54cfc8831436d46762f27d
2019-11-15 15:46:12 +03:00
levlam
6d08f29fe9 Remove now unneeded backward compatibility fixes for bots.
GitOrigin-RevId: e53a2dc430b1eb02042b5f811471c4cec3b555d4
2019-11-13 22:34:32 +03:00
levlam
3d614f6ac2 Add support for SLOWMODE_WAIT_* errors.
GitOrigin-RevId: eb54e53668ad24640c1d13b608584eeb675c11d6
2019-11-12 23:05:38 +03:00
levlam
f765bc547a Use server-provided domain name.
GitOrigin-RevId: b74c8b484c592c51beaa34acc228b74aeed9fcb7
2019-11-12 22:21:37 +03:00
levlam
0c3e15026f Reget ChannelFull if it was changed between request was sent and the result was received.
GitOrigin-RevId: d05439fc5735b156cd4be9ac6547fcce18aa5150
2019-11-11 22:07:12 +03:00
levlam
43d8e6ccdb Return administrator ranks from getChatAdministrators.
GitOrigin-RevId: 8e3e540ae73aebacf9a3fe954b2b81511c999953
2019-11-11 19:14:32 +03:00
levlam
fbbf6470f3 Add support for administrator custom titles.
GitOrigin-RevId: a580b4713daa4746f5cd15e96c438fe179aea893
2019-11-11 10:02:23 +03:00
levlam
ad051b5522 Add td_api::chatEventSlowModeDelayChanged.
GitOrigin-RevId: ac41d0d684b422ed964c6d35af160992b988b2ce
2019-11-10 17:26:03 +03:00
levlam
56eb8e0f9a Update layer to 104.
GitOrigin-RevId: a83eaf0a77fba5ccb0d34f690b2031c2ff5550f2
2019-11-08 19:23:05 +03:00
levlam
9628ec78df Fix CE.
GitOrigin-RevId: b9680ad8f7fbf6322b4bb3896e6d4a931072312e
2019-11-06 15:12:16 +03:00
levlam
2f2c09bf58 Fix CE and warning.
GitOrigin-RevId: 64989213b16f2450678a49e69f3f77d065cb6369
2019-11-02 03:39:14 +03:00
levlam
809b28aa4a Better MTProto spelling.
GitOrigin-RevId: d631aa03c2b3b19abe2c804d9a5e1d7d95602693
2019-10-26 16:58:38 +03:00
levlam
6714476496 Improve logging.
GitOrigin-RevId: 932e48adddac8a163ed114e610fdee1a1d614700
2019-10-26 16:39:23 +03:00
levlam
e8ea4b5c9e Better type for unique_id.
GitOrigin-RevId: 2b5f5948f798bc44d0cbc9fba6b483ee2e275025
2019-10-25 18:01:33 +03:00
levlam
d66e57a3af Remove redundabt web_location_flag_.
GitOrigin-RevId: 0f24358ab873d2d49ef115ab9dbcdf86c72e0c7e
2019-10-25 17:46:35 +03:00
levlam
df15f8a8db Inline full_type to FullRemoteFileLocation::store to minimize misusage probability.
GitOrigin-RevId: 48c147f10c36a00926aa976b5272992ac1ead277
2019-10-25 17:18:51 +03:00
levlam
edd3bb94a4 Add td_api::remoteFile.unique_id.
GitOrigin-RevId: b6355e905d7268aefbb4dd2e951b15e12504ee54
2019-10-25 17:04:01 +03:00
levlam
d5ba35e2f0 Temporarily fix file_id version.
GitOrigin-RevId: bb97188814e9eda25287b6127d0991b8157726ba
2019-10-24 21:44:57 +03:00
levlam
aa752468fc Use telegram_api::inputPhotoLegacyFileLocation instead of inputFileLocation.
GitOrigin-RevId: da7e4fb8935b08b654663c650f31013f8a8b3f12
2019-10-24 17:00:01 +03:00
levlam
0b4b81282d Fix invalid is_mutual_contact flag loaded from database.
GitOrigin-RevId: 87196eef3a6c7f78c642014fcef3fcf7e8609ebd
2019-10-23 18:48:42 +03:00
levlam
1f6f920a7d Commit missing PublicDialogType.h.
GitOrigin-RevId: c69ab4abbd2d90baa1e3b45ef5ee28f7d0108822
2019-10-22 20:01:56 +03:00
levlam
1e018da7b8 Various fixes.
GitOrigin-RevId: b09e5fda6d25bd027f6bcbcbbe8324567b8ddcf8
2019-10-22 20:01:15 +03:00
levlam
ecc856a52c Update version to 1.5.2.
GitOrigin-RevId: 8a6a701ce06c20014a842f0a6d986ee849368997
2019-10-22 18:21:09 +03:00
levlam
29c4e4c733 Update layer to 103. Disable push notifications from muted chats.
GitOrigin-RevId: 5287f30dd82a50c567bcf039eee479e790868f7d
2019-10-22 16:24:55 +03:00
levlam
ca35608868 Add chat_list filter to searchMessages.
GitOrigin-RevId: 3dbc4b3509545f3c23f0231c931af0a73bef8796
2019-10-22 15:06:11 +03:00
levlam
0e874a5247 Add td_api::checkCreatedPublicChatsLimit.
GitOrigin-RevId: 9364cd09348ece39d56cbc8882fa8bfef36df18c
2019-10-22 14:06:46 +03:00
levlam
892a091998 Add support for location-based supergroups in getCreatedPublicChats.
GitOrigin-RevId: b328d62a998dc2e2b83d9721e001f9feee129d4e
2019-10-22 13:40:24 +03:00
levlam
918f6a0cfd Use td::contains and td::remove instead of std::find if possible.
GitOrigin-RevId: faa0863eb49ee8ce4c2138dfec022620f71d2f6a
2019-10-22 02:12:58 +03:00
levlam
e84e131efd Use td::remove instead of std::remove.
GitOrigin-RevId: f64e6d2199f1b9049e2bc022de1f65c9efba6647
2019-10-22 01:29:19 +03:00
levlam
86925625fd Rename need_send_update to is_changed.
GitOrigin-RevId: a40a5c0385d623e0023d5f6ed18c91d8605b5493
2019-10-22 00:29:24 +03:00
levlam
698c1d2160 Rename is_changed to need_save_to_database.
GitOrigin-RevId: dbf8292104a6e51dcc351bef94f6e220c1442265
2019-10-22 00:06:24 +03:00
levlam
de0e0d8173 Unify *Full.is_changed usage.
GitOrigin-RevId: 222ac98bc06fa5652add8e5d43c7861906209136
2019-10-21 23:47:58 +03:00
levlam
bc8f0dcb87 Store bot_user_ids in ChannelFull.
GitOrigin-RevId: 46b118c7a1e976bffc28fec5a7c2eb369317ee36
2019-10-21 23:39:46 +03:00
levlam
014248ac2b Remove UserFull.is_inited.
GitOrigin-RevId: 6c457ef1ba507c4edeb1ee7b81ffdba5ab35426a
2019-10-21 22:00:03 +03:00
levlam
035625d726 Save BotInfo in database and store in memory independently of UserFull.
GitOrigin-RevId: f12a7f6da707482a7e5c6e06016b0ccc3b45d2b5
2019-10-21 21:54:04 +03:00
levlam
9c2e44d7a5 Move is_bot_info_expired out of UserFull.
GitOrigin-RevId: 3fbb796097fba3654ad1f32ea01397aa12efb8be
2019-10-21 18:54:02 +03:00
levlam
5c6294253e Better place for can_pin_messages initialization.
GitOrigin-RevId: 620b86baccbb77b7b742ac820486b85f9827adc7
2019-10-21 18:20:22 +03:00
levlam
ee57044ae2 Variable names improvements.
GitOrigin-RevId: 39c654c4b2b262b087afb777a12307e803c260d6
2019-10-21 17:17:12 +03:00
levlam
5e8a79e984 Make User/Chat/Channel/SecretChat and *Full safe to use.
GitOrigin-RevId: 31b9cf38e37f409634be89214761ee76e2228d59
2019-10-21 17:03:23 +03:00
levlam
56c3a2fbed Use td::remove_if.
GitOrigin-RevId: 5cf21381966dc58689a06cc94cb8843fd8087bb9
2019-10-21 16:25:56 +03:00
levlam
cc0a2eeb99 Better names for UserPhotos fields.
GitOrigin-RevId: 5f4b1c5d32e68ac02210cd21f2dc7b08415fb4fa
2019-10-17 23:41:16 +03:00
levlam
39a87fcb10 Move user photos out of UserFull.
GitOrigin-RevId: f70e021e5bad07eff95af4eb9ddc0c7c12779f91
2019-10-17 23:31:00 +03:00
levlam
4e436cdf17 Add drop_user_photos method.
GitOrigin-RevId: 57ff5576d56f1e190e62a3debe8b10b2de987338
2019-10-17 22:49:03 +03:00
levlam
cf73995c4b Simplify td_api::сheckChatUsername implementation.
GitOrigin-RevId: 554589470cb8184b03161d59af8c5d88a5014601
2019-10-17 21:54:18 +03:00
levlam
08d6b880e0 Send updateUsersNearby only if users_nearby_ really has changed.
GitOrigin-RevId: cfa8800259ba03c0cfcad357ed4afe6a0bf5bb27
2019-10-17 21:35:32 +03:00
levlam
4ae36f6564 Keep privacy exception flag when hiding action bar and reporting spam.
GitOrigin-RevId: 64c21e3ca52bf74b19b7ee40bee6c9218a6feb70
2019-10-17 20:55:55 +03:00
levlam
de069fef3f Add td_api::canTransferOwnership.
GitOrigin-RevId: 78eb21497c145c91b5da94e52eea5cff805f4b86
2019-10-17 19:43:41 +03:00
levlam
8206c05952 Add td_api::transferChatOwnership.
GitOrigin-RevId: ce897af94815412b2e8ff09c727e04b284726b41
2019-10-17 17:05:01 +03:00
levlam
47625f39f0 Add support for users and groups nearby.
GitOrigin-RevId: 98bde4f064541a0b8d6200092db0f3bc7f192b1f
2019-10-16 21:55:16 +03:00
levlam
acf8afd2d6 Add td_api::setChatLocation.
GitOrigin-RevId: 1bf8060374189bd2c9435b9c57ed499723de7246
2019-10-14 19:07:31 +03:00
levlam
4e9ca731b2 Allow to create location-based chats through createNewSupergroupChat.
GitOrigin-RevId: 9f954674052a2710425555e9b517f06319eb949e
2019-10-14 17:51:12 +03:00
levlam
41662e7048 Add location and can_set_location to supergroupFullInfo.
GitOrigin-RevId: 76550d71096e32cfd282f2e42a2a70176b2f5421
2019-10-13 21:41:09 +03:00
levlam
af527d0c9e Support supergroups with location.
GitOrigin-RevId: 976b72eaf8d5fd2226b6d548ed8bca167b385264
2019-10-13 20:58:32 +03:00
levlam
0d72fd638e Add Venue.{cpp,h}.
GitOrigin-RevId: 19dd4da6d4792ecbb84fdba560e49affcfcf5bed
2019-10-13 02:39:44 +03:00
levlam
35b9d56c64 Add DialogLocation, td_api::chatLocation and td_api::chatEventLocationChanged.
GitOrigin-RevId: 5bd47788c58065b0b79119d7d84c1d851a400417
2019-10-13 02:21:37 +03:00
levlam
438300b2cf Return previous is_blocked value, when block/unblock request fails.
GitOrigin-RevId: e8132bcd987c8abe75fe4e01fb199f4dada74259
2019-10-11 18:55:14 +03:00
levlam
d2047ff6d1 Add reload_user_full and use it to repair action bar.
GitOrigin-RevId: b7b4bc20b944caca0c086d9ecbf99756e8330c61
2019-10-11 18:39:10 +03:00
levlam
9e8512411c Combine block_user and unblock_user.
GitOrigin-RevId: 50c31ba274a7a5b70efe68ee8d307541e65eb48c
2019-10-11 18:31:16 +03:00
levlam
ba2c88de53 Repair action bar when user block/unblock fails.
GitOrigin-RevId: 325052ffd27cf8206c743f503c242abe90949114
2019-10-11 18:22:46 +03:00
levlam
a3126dcce5 Add td_api::sharePhoneNumber.
GitOrigin-RevId: 522cee62cab40378802fbb5352f9d06ee2709a03
2019-10-11 17:59:04 +03:00
levlam
f6f9997730 Add td_api::chatReportReasonUnrelatedLocation.
GitOrigin-RevId: 2bb5993d4478766a5758a18768c6afe18dbc2130
2019-10-11 04:56:43 +03:00
levlam
83d0d18a5e Delete unused default_can_report_spam_in_secret_chat.
GitOrigin-RevId: 9b7f2f5f0185600c00756f2f2f4543496d5feca7
2019-10-11 04:37:40 +03:00
levlam
49b43f8e94 Reload dialog action bar when it is opened.
GitOrigin-RevId: dcf0122af906a2628b9a02e1695e48b18b743bf8
2019-10-11 04:28:00 +03:00
levlam
7327b673de Support action bar report in reportChat.
GitOrigin-RevId: 2c85ca043c9615a27c1bdf46b7fd01ed98940699
2019-10-11 04:17:46 +03:00
levlam
378ed2c659 Remove ChatReportSpamState and methods for it.
GitOrigin-RevId: 3de0cb0147ad70e4d540f5a61f1aa08c64423edd
2019-10-11 03:36:26 +03:00
levlam
825cb0dd0b Add removeChatActionBar.
GitOrigin-RevId: 865c60b541cdfdc1465ab4814e1ca8c2c9ff0c49
2019-10-11 03:28:41 +03:00
levlam
62db4169a2 Update action bar when user is deleted.
GitOrigin-RevId: 1c31884369b944f79b2772e0142ce95a08ebafc1
2019-10-11 03:11:22 +03:00
levlam
9d229b7ad1 Update action bar when user is added to contacts.
GitOrigin-RevId: 52883ca7e29a3f1b9fe86a7cb210daba5c8cef46
2019-10-11 02:59:40 +03:00
levlam
a9dbaa6b78 Use dialog_type in fix_new_dialog.
GitOrigin-RevId: cf3fc67af2291e885fd3f6ed5682f708232ec876
2019-10-11 02:36:23 +03:00
levlam
d17a1734a4 Add repair_dialog_action_bar.
GitOrigin-RevId: 4157f18ad20ff09807b59433d86bce04b676fdf2
2019-10-11 02:32:25 +03:00
levlam
56af9f3f3c Add updateChatActionBar.
GitOrigin-RevId: 116120e198e0c12c3e91f1dea4045ae3bc914e1c
2019-10-11 01:23:28 +03:00
levlam
24ecd9564e Hide action bar when the user is blocked.
GitOrigin-RevId: 2c317e3612555f496da0b6f2f55f1de60f62cd57
2019-10-11 00:46:05 +03:00
levlam
91bdd50884 Add need_phone_number_privacy_exception.
GitOrigin-RevId: b1d6237900577a50dcc105d72962cebe62ee70ca
2019-10-11 00:18:34 +03:00
levlam
1b147a8142 Add Chat.action_bar.
GitOrigin-RevId: 4429f6d77af0686dd2c890423a4667a5251f0bff
2019-10-10 23:19:26 +03:00
levlam
4801b1ca9e Support peerSettings in UserFull.
GitOrigin-RevId: 31bc7325a636db5ac71f7f3bf37ca5e2fb18a160
2019-10-10 19:10:03 +03:00
levlam
a5a69812e5 Add updatePeerSettings support.
GitOrigin-RevId: 0e5a18b57dea6cf82aa00996fd8ddb8fcca11313
2019-10-10 19:07:49 +03:00
levlam
783620b9b7 Add td_api::addContact.
GitOrigin-RevId: 6b80aad27805780043a5ca4e7680bbfea65ddaad
2019-10-08 18:12:15 +03:00
levlam
99f4abb249 Update to layer 102. Replace LinkState with is_contact/is_mutual_contact.
GitOrigin-RevId: 33061b18ac72711f4df168fb27497bccb36d3367
2019-10-07 22:51:03 +03:00
levlam
1b2e4c79f3 Add basic support for nested entities.
GitOrigin-RevId: 127b89671b4551947552e94bcfdb9cab70ef37c0
2019-10-07 19:45:36 +03:00
levlam
6114516b40 Support PreCode in parse_html.
GitOrigin-RevId: 20a3bcb168ecd45f416e7df17247997eacecbc11
2019-10-03 16:39:50 +03:00
levlam
5a07029e6b Add Markdownv2 support to td_api::parseTextEntities.
GitOrigin-RevId: 79fc37ce5f1c243150433dca54ff915c55ce884d
2019-10-03 02:39:10 +03:00
levlam
fdf70df492 Add parse_markdown_v2.
GitOrigin-RevId: ea2ce8bad64becc53d2e6466019469dffec2dc27
2019-10-03 02:31:06 +03:00
levlam
b1d1ea2e6c Support nested entities in parse_html.
GitOrigin-RevId: c8a00262f5a8739d09b45ce710a5c7b920f2bfd4
2019-09-26 18:36:45 +03:00
levlam
3006357f7c Use entity_offset instead of utf16_entity_length.
GitOrigin-RevId: 8e02eac54c534eb33b37ef2b2f345e9c0781164a
2019-09-25 02:05:42 +03:00
levlam
38d5be1ee9 Use Slice in parse_html.
GitOrigin-RevId: f0fa29d7fccf407dde8ec6085a285f1fa2c52aa2
2019-09-25 01:22:04 +03:00
levlam
f20ef8c0c5 Better MessageEntity comparator.
GitOrigin-RevId: 7522f05688c5ff4beee86d4218953dfb5f4a2821
2019-09-23 22:57:02 +03:00
levlam
b13bf0ae7d Split fixing message text in 2 passes.
GitOrigin-RevId: fb0f5f33feebbaab1ccdd54c56412a79e4018066
2019-09-20 02:49:50 +03:00
levlam
87d875ca81 Update layer to 101. New entities type support.
GitOrigin-RevId: c4a4e73d20c27c2ad1440bae2acb9559d1f10a5d
2019-09-19 22:07:11 +03:00
levlam
4007386372 Add ChatFull.can_set_username.
GitOrigin-RevId: 1ccb89aaf6df6d9f70167ba1ff42eeef17a2d4cc
2019-09-19 06:27:05 +03:00
levlam
94908d20a1 Add UserFull.can_pin_messages.
GitOrigin-RevId: 11376497b904a9a8f36ef7cab66fd7aeac83ce7d
2019-09-19 05:43:18 +03:00
levlam
7619eaa0f0 Add get_user_full_force.
GitOrigin-RevId: 3486e0097a343b996a943555acfcba5afdbc61a9
2019-09-19 04:21:40 +03:00
levlam
f934ccbd50 Add get_chat_full_force.
GitOrigin-RevId: 7c33e468065589cc79a6c693afb8a9aae0ec9697
2019-09-19 03:58:54 +03:00
levlam
80e3841ec4 Add get_channel_full_force.
GitOrigin-RevId: cc2d1de9fa7859b1cead9562ce1be1ff9113788a
2019-09-19 03:07:44 +03:00
levlam
408a456589 Add strongly typed StickerSetId.
GitOrigin-RevId: 518121f89e3a4c95ab5a2095a9bc2217090911de
2019-09-18 06:55:43 +03:00
levlam
6f4fda224d Forcely load from database info about migrated to channel.
GitOrigin-RevId: db0041bda705667eb3febc6e73679c0e885026a0
2019-09-18 02:57:22 +03:00
levlam
15f31cf23a Add storer and parser for unique_ptr.
GitOrigin-RevId: 2b0f5c8a3e9f7a9343cf9557d10cbf95009ba847
2019-09-18 02:42:38 +03:00
levlam
ae574ceebc Better function names.
GitOrigin-RevId: 7f263a23e4fbc2da9715605599fbb06a3049b9ea
2019-09-18 02:21:29 +03:00
levlam
3377c38073 Store *Full to database.
GitOrigin-RevId: 160369861878befa880e2b4355fd6585977f84dc
2019-09-18 02:14:24 +03:00
levlam
1d850cb14f Better updating of legacy messages.
GitOrigin-RevId: 02baac67a94e4b4fe6dcf1a178ad08284868c85a
2019-09-17 01:08:05 +03:00
levlam
1b9164a3ad Fix misprint.
GitOrigin-RevId: 3a578053fcb265ecdc5bf8bd4243fae24a8f2eab
2019-09-16 20:37:16 +03:00
levlam
f18e771926 Fix moving secret chats to archive.
GitOrigin-RevId: 70e3a57ac80f244c93b1b0f2c37bf9c813ae0f14
2019-09-16 17:52:08 +03:00
levlam
e1a3ae1cff Keep secret chats in maon chat list when updating.
GitOrigin-RevId: dfd8e3de98705d163eede091413b88bc66f04488
2019-09-16 17:46:25 +03:00
levlam
f0fbc1576f Fix recalc_unread_count.
GitOrigin-RevId: 9444866155256de9b474317c3e28267777f3bf36
2019-09-16 03:37:29 +03:00
levlam
9e51fcdb3f Add source to send_get_*_full_query.
GitOrigin-RevId: 5fdb3cc98f901ddfdcb562ba2c452fc5e2ed13cc
2019-09-15 05:06:11 +03:00
levlam
eddbbe0d42 Process updateFolderPeers before new messages.
GitOrigin-RevId: 53baf318d3bf1d1f356a47cb89c2bb4e61880fc2
2019-09-15 04:59:22 +03:00
levlam
003aee4268 Use data from the database for max_dialog_date.
GitOrigin-RevId: a1dc2d8ecf64a68209637bb1ce0d16a8b661770c
2019-09-15 04:15:46 +03:00
levlam
74219aa2d3 Add td_api::setChatDiscussionGroup.
GitOrigin-RevId: 59c2ec4a0b81973f4672ed2f3ca2a3fd01f36279
2019-09-14 05:35:56 +03:00
levlam
1021269634 Automatically update list of suitable discussion chats.
GitOrigin-RevId: e1ef89b9c0dcf76bf63f508c9806d5764e2b972e
2019-09-13 20:58:09 +03:00
levlam
3846d56680 Add td_api::getSuitableDiscussionChats.
GitOrigin-RevId: 7ba20b857f9d34db4670af12907fe17053047515
2019-09-13 20:25:17 +03:00
levlam
14d339b0bc Add td_api::chatEventLinkedChatChanged.
GitOrigin-RevId: 6cd8d1a58db0d64bc98b7d738bc901dd8a8e5e39
2019-09-13 18:17:26 +03:00
levlam
73162dce06 Do not allow to call toggleSupergroupIsAllHistoryAvailable for discussion supergroups.
GitOrigin-RevId: 48afc0ea0af30750bc2cfd42aa36ec48abc33244
2019-09-13 05:51:22 +03:00
levlam
9bf6b2c78a Allow read access to linked channels.
GitOrigin-RevId: 24003a60c80a8e61354ba647fb616e92f88c6e48
2019-09-13 05:40:02 +03:00
levlam
4cd9255643 Temporarily silence warning.
GitOrigin-RevId: 92081ba11c7391b721ca249db6e09e916ef317d5
2019-09-13 04:36:04 +03:00