levlam
|
6cb823bbce
|
Add telegram_service_notifications_chat_id and replise_bot_chat_id read-only options.
GitOrigin-RevId: b1fe6a5366bdb1c8c2a4ef06689f0e682fb892d4
|
2020-09-25 00:53:30 +03:00 |
|
levlam
|
b9e27e28b9
|
Make ContactsManager::get_service_notifications_user_id static.
GitOrigin-RevId: 28c9d570e1b9bfc7987dc299b87c0bb8ac33b38e
|
2020-09-24 23:04:32 +03:00 |
|
levlam
|
90ee4bd63c
|
Minor fixes.
GitOrigin-RevId: ef4e2cfe4f198caec26daf04423eb26afedde5bb
|
2020-09-24 19:15:42 +03:00 |
|
levlam
|
e0adaebb91
|
Unify logging of request responses.
GitOrigin-RevId: ae4c0a3881a89aa235baa08c07ec97a914437d8c
|
2020-09-24 16:08:04 +03:00 |
|
levlam
|
5c0d2eb050
|
Add ContactsManager::get_replies_bot_user_id.
GitOrigin-RevId: 17aa32508783894088c05e411434cad96e1178bd
|
2020-09-24 01:28:04 +03:00 |
|
levlam
|
cb3f390a92
|
Unify "log event" spelling.
GitOrigin-RevId: a1a491981596c56dbf7541d80ead1ea9f5d5bd04
|
2020-09-22 02:15:09 +03:00 |
|
levlam
|
9a8895e043
|
Add get_log_event_storer convenience method.
GitOrigin-RevId: 0651bb08a5c41917b69836140e3ff512ab571571
|
2020-09-22 01:39:45 +03:00 |
|
levlam
|
e283ad8ac6
|
Use send_closure_later to load *Full to exclude possibility of loading them from the database synchronously and invoke some side effects such as message loading synchronously.
GitOrigin-RevId: 4c97db4ce3fd517274380eb9eea8e586c6f04399
|
2020-09-21 16:09:17 +03:00 |
|
levlam
|
ecc97d06b9
|
Fix chat blocking.
GitOrigin-RevId: c55076283c272019e0eb2908aab71efc09ad190a
|
2020-09-20 04:30:46 +03:00 |
|
levlam
|
446ba8d406
|
Replace getBlockedUsers with getBlockedChats.
GitOrigin-RevId: 431e0639095b9e01d1b897a52bca4430855560e4
|
2020-09-20 03:29:00 +03:00 |
|
levlam
|
54308a86fe
|
Replace blockUser and unblockUser with toggleChatIsBlocked.
GitOrigin-RevId: 454542b32a7b8efc487afed54c59ae3864ea138e
|
2020-09-20 03:00:01 +03:00 |
|
levlam
|
e3f5719c5c
|
Remove unneeded td_ usages.
GitOrigin-RevId: 4cf456413228f086d7df3d21d7024baf6db1bf15
|
2020-09-20 02:02:27 +03:00 |
|
levlam
|
9ecb61965d
|
Move is_blcoked to Chat.
GitOrigin-RevId: 7d1fc672c9487feba0839b7af669323464243ffc
|
2020-09-20 01:54:40 +03:00 |
|
levlam
|
54ed8cfbc5
|
Save channelFull.is_blocked flag.
GitOrigin-RevId: 1c780c0a700070cfccc38c94b87778a7cd4415f7
|
2020-09-19 14:43:37 +03:00 |
|
levlam
|
b45ccc6d14
|
Update layer 119.
GitOrigin-RevId: fba8e1e0e8cf9b6fda11ab3762bd6efca5865eb8
|
2020-09-18 18:32:59 +03:00 |
|
levlam
|
fb0a43ee93
|
Automatically update message interaction info when linked channel is changed.
GitOrigin-RevId: 248afe64dbb6fe2e3e4fe72e474220e6c257d286
|
2020-09-13 17:52:39 +03:00 |
|
levlam
|
cd3bf3618b
|
Show comment button only if the linked channel is still the same.
GitOrigin-RevId: cc8f31a56e0de7ace7f8b1a756dd34e14e4a5457
|
2020-09-11 14:51:13 +03:00 |
|
levlam
|
01f3eecd85
|
Add support for is_anonymous administrator right.
GitOrigin-RevId: d0d46d961aebcc67275bb09ec883f6feaa465c63
|
2020-09-11 01:49:15 +03:00 |
|
levlam
|
2c0a9367ac
|
Simplify adding dialog dependencies.
GitOrigin-RevId: 27c9fcc1221e60960f0183e9d792121ca5e8fb0a
|
2020-09-10 23:24:33 +03:00 |
|
levlam
|
220ad5352b
|
Allow write access to linked supergroups.
GitOrigin-RevId: 05008f9e07dc1d0759235431d999d59f50d7e820
|
2020-09-09 03:40:17 +03:00 |
|
levlam
|
ed782145bf
|
Add reply_count and recent_replier_user_ids to MessageIntercationInfo.
GitOrigin-RevId: 48bae463c091d3d29e3096ebb4c2fbbbeda38dfd
|
2020-08-31 13:42:27 +03:00 |
|
levlam
|
53ca6e4f4a
|
Add td_api::getMessageStatistics.
GitOrigin-RevId: f5d32ef829b91aa1fea59ea88b665fe39d32642c
|
2020-08-01 05:19:54 +03:00 |
|
levlam
|
8e77eacc72
|
Update message interaction info after receiving channel statistics.
GitOrigin-RevId: 6ec1b365c9f1299da1849fa6767f4ec79b627f90
|
2020-07-31 20:03:57 +03:00 |
|
levlam
|
12a79efbdc
|
Improve log messages.
GitOrigin-RevId: 23d2e596dd9ce28d780fe125abd468fef132c61b
|
2020-08-10 08:07:01 +03:00 |
|
levlam
|
b340b0deaa
|
Update layer 116. Add UserFull.supports_video_calls flag.
GitOrigin-RevId: 67aa9a84ed676e3969beb1c5a01a012167744c6d
|
2020-08-05 21:34:04 +03:00 |
|
levlam
|
4bf3b013c7
|
Add updateChannelParticipant processing.
GitOrigin-RevId: 5701dcbb068583266aaf00b3b4ed5c6336566e76
|
2020-08-03 21:54:28 +03:00 |
|
levlam
|
57f1ab4daf
|
Add DialogParticipant::left.
GitOrigin-RevId: a3c111f702cf6579d22a2a17d806c772795c676d
|
2020-08-03 21:16:08 +03:00 |
|
levlam
|
2e0d642a98
|
Update layer 116. Support new apply_min_photo and can_view_stats flags.
GitOrigin-RevId: beb72d22576496ac082bf4a564c292f9a678b0c1
|
2020-07-28 02:57:23 +03:00 |
|
levlam
|
e34377cbcb
|
Update photo cache after changing profile photo.
GitOrigin-RevId: cb48443fe0dd988e1d6eee40f72a8f12d6a5cefa
|
2020-07-20 21:10:40 +03:00 |
|
levlam
|
405934676e
|
Change file_id type in as_profile_photo.
GitOrigin-RevId: fe45d895b4781c942512d5c838d99449431440d3
|
2020-07-20 17:46:54 +03:00 |
|
levlam
|
a01ad861bd
|
Optionally send updates when deleting profile photo.
GitOrigin-RevId: bb916c244857b4f6838d7ae7108415ad4ec3a2a1
|
2020-07-20 17:23:32 +03:00 |
|
levlam
|
6b00f2fe6b
|
Update cache after profile photo deletion instead of dropping it.
GitOrigin-RevId: 0bb120eeececb7706016aec01accd4f6194deef4
|
2020-07-20 17:05:49 +03:00 |
|
levlam
|
1984159963
|
Add old_photo_id to on_change_profile_photo.
GitOrigin-RevId: 28dd86b402d71af595b1ace467791c0896dbad2a
|
2020-07-20 01:53:40 +03:00 |
|
levlam
|
5b69e72b09
|
Update layer 116.
GitOrigin-RevId: 2daddadb7c75132729e8372a7edf40030696d038
|
2020-07-20 00:38:44 +03:00 |
|
levlam
|
09036ad929
|
Invalidate and reload UserFull after receiving first incoming message from the user to fix chatActionBar.
GitOrigin-RevId: 34c0492433475fc49f01159615462e7b7edf7d0b
|
2020-07-10 21:56:28 +03:00 |
|
levlam
|
8477f329f5
|
Add chatPhotoInfo.has_animation.
GitOrigin-RevId: d209507fdd59dd154c6acd297c6c7496b6356029
|
2020-07-08 22:59:31 +03:00 |
|
levlam
|
6476e05d1e
|
Change input photo type to InputChatPhoto in setChatPhoto.
GitOrigin-RevId: fae612a07ffdf71f393ffea7951a76808b90f7b3
|
2020-07-08 19:40:23 +03:00 |
|
levlam
|
c1b88e2cc1
|
Allow to specify main_frame_timestamp when setting up animated profile photo.
GitOrigin-RevId: 8e5229642cdf5a454f932c0b201497f019344eab
|
2020-07-07 20:56:54 +03:00 |
|
levlam
|
cf93b3c69c
|
Support initial folder for secret chats.
GitOrigin-RevId: 57894f3ff767a0b24bac08c8251f51f3e4722b6a
|
2020-06-30 12:11:22 +03:00 |
|
levlam
|
de07f2151e
|
Add supergroup statistics.
GitOrigin-RevId: 3ef2bfa925baef0fe7cdd7a8ea8dabab21f313ef
|
2020-06-29 23:51:57 +03:00 |
|
levlam
|
0ed26e5321
|
Improve setProfilePhoto.
GitOrigin-RevId: 9a5ee470c0a38c7989cef642b2f69faa2228baaa
|
2020-06-28 17:44:56 +03:00 |
|
levlam
|
a297294aac
|
Update layer to 116.
GitOrigin-RevId: 7c12605195674f0b48dbc05734e99bffb2062d0c
|
2020-06-24 11:45:36 +03:00 |
|
levlam
|
8799a30b6e
|
Add updates about unknown users, etc. in getCurrentState.
GitOrigin-RevId: 137250f7e4e194f4048ee399e0a80bc29c6e0429
|
2020-07-07 18:48:17 +03:00 |
|
levlam
|
49d9ec8c69
|
Add channel_id validness checks.
GitOrigin-RevId: d2f1330b492306d982beec1429577d489986bccc
|
2020-07-07 17:37:19 +03:00 |
|
levlam
|
de242740a1
|
Postpone channel username change side effects before channel is loaded from database.
GitOrigin-RevId: 50e6cd47c813e346c2b0deed459bf75b65c963b0
|
2020-07-07 16:53:21 +03:00 |
|
levlam
|
abf833e4f3
|
Postpone channel status change side effects before channel is loaded from database.
GitOrigin-RevId: 591b017d47920027d97e0a271158e413fac9ab81
|
2020-07-07 16:34:47 +03:00 |
|
levlam
|
bf287039ce
|
Add checks that updateUser/BasicGroup/Supergroup is sent before update*Full.
GitOrigin-RevId: 8f499cf7cc8e52c93d3abcb79d5b7f22466f0656
|
2020-07-07 15:36:03 +03:00 |
|
levlam
|
68dea56632
|
Use chatPhoto instead of userProfilePhoto.
GitOrigin-RevId: 4027e53be967551620c61a583bfda789a78f9581
|
2020-07-07 14:19:54 +03:00 |
|
levlam
|
193c7c6293
|
Rename chatPhotoFullInfo to chatPhoto.
GitOrigin-RevId: f97da057f1f74ccce283d21d1cfdd827bf51c871
|
2020-07-07 13:48:56 +03:00 |
|
levlam
|
d484baa1ee
|
Rename chatPhoto to chatPhotoInfo.
GitOrigin-RevId: e301571c29719009148353161da483de9902eb8d
|
2020-07-07 13:00:56 +03:00 |
|
levlam
|
9a92f6d571
|
Simplify get_photo_object.
GitOrigin-RevId: 08c8fb7fe4eadb4bff56198d5834c708e032979b
|
2020-07-06 18:45:43 +03:00 |
|
levlam
|
82fdcd279c
|
Drop outdated full Chat/Channel photo.
GitOrigin-RevId: 047da02c13e0de58a5fd3ca4a94e3b23485ec548
|
2020-07-06 18:40:58 +03:00 |
|
levlam
|
a7bd0c3932
|
Add photo to *FullInfo.
GitOrigin-RevId: 21346a0880239abe428799fa58b9132abded6f13
|
2020-07-06 15:26:29 +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 |
|
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
|
2ad13e414e
|
Remove file reference tracing for chat photos.
GitOrigin-RevId: 1cb90efec24192b5a712cabde325c8768e1af572
|
2020-06-27 17:05:45 +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
|
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
|
6e42d79769
|
Replace emoji with icon_mane in chat filters.
GitOrigin-RevId: 61b30d075e330a92935ea2c8cfc0bf78fb32958b
|
2020-06-01 16:55:31 +03:00 |
|
levlam
|
c13068832b
|
Remove excessive user photos instead of adjusting total_count.
GitOrigin-RevId: c66c645eb83e44a62172aff87a576d8b8d04368f
|
2020-05-18 16:23:30 +03:00 |
|
levlam
|
b29a945b1a
|
Ignore SQLite key-value responses after close.
GitOrigin-RevId: a91a2dbbf8efcda91959aabfcaca964caa6fe3c3
|
2020-05-16 02:25:03 +03:00 |
|
levlam
|
e941622e32
|
Ignore file_reference errors for bots, because corresponding file_ids may not be duped.
GitOrigin-RevId: 3cf82083a6d3e5556f665bad9ad00e216c7901a0
|
2020-05-07 15:56:57 +03:00 |
|
levlam
|
75ba29bffe
|
Add source to get_channel_full_force.
GitOrigin-RevId: 0a7a17f21e906322f572fac0409fd49827702884
|
2020-05-01 14:18:40 +03:00 |
|
levlam
|
3b4483677c
|
Do not drop username, location and linked chat of channels banned in.
GitOrigin-RevId: 2186c21d024c4d099d9bd4b0d537ff374c920553
|
2020-05-01 02:54:40 +03:00 |
|
levlam
|
b23ff9697b
|
Allow left creator to restrict/unrestrict channel members.
GitOrigin-RevId: 60c1e54b9c1b275f0038bb4ebc35c57662010711
|
2020-05-01 01:57:24 +03:00 |
|
levlam
|
8bbc32e21c
|
Drop UserFull cache when phone number privacy is changed.
GitOrigin-RevId: 4ff14b72fa4b903c9358a1a10023e7b5f3775ff8
|
2020-05-01 01:21:02 +03:00 |
|
levlam
|
269047d133
|
Remove AuthManager::set_is_bot.
GitOrigin-RevId: b56180dda8aab189c0cb3a3d2f5624e4a5307366
|
2020-04-30 00:54:43 +03:00 |
|
levlam
|
a40bdeca4c
|
Ensure that user photos offset doesn't exceed total photo count.
GitOrigin-RevId: 06bc1057cbcffe6e6a4911f236d2d7500057c1ec
|
2020-04-29 23:18:32 +03:00 |
|
levlam
|
585a8f19fa
|
Fix total UserPhotos count if know more photos than expected.
GitOrigin-RevId: ff30c4e2d6965d02eb24a9d58b1f01ea1d3d89a7
|
2020-04-29 22:54:33 +03:00 |
|
levlam
|
23ad80e3a9
|
Silence warning about changed dialog order if dialog info was received from serverr.
GitOrigin-RevId: b6211153533746180307542d3e19fcd10aac63d2
|
2020-04-29 22:28:57 +03:00 |
|
levlam
|
b8c300b05b
|
Fix updating of channel member count.
GitOrigin-RevId: f6f49994937d68bbe175a619d37d19900de756f6
|
2020-04-21 21:08:59 +03:00 |
|
levlam
|
8681b76de2
|
Minor fixes.
GitOrigin-RevId: b75bac1586ed36b91b7c2ab64c386f94f18d8539
|
2020-04-21 03:29:20 +03:00 |
|
levlam
|
87afb93b93
|
Fix some ID spelling.
GitOrigin-RevId: cdd8cdb93696c690cf7bdb9b2df175bb926a7510
|
2020-04-19 13:45:37 +03:00 |
|
levlam
|
822bc95d13
|
Reget users to restore their online status after removing them from privacy restrictions.
GitOrigin-RevId: e29832c5a056cdc5708c02ce31e77570ff335ced
|
2020-04-19 12:53:07 +03:00 |
|
levlam
|
3bcf9ad301
|
Update layer 112.
GitOrigin-RevId: 9d2b213ecf8a60ffa9af17512c026ee0c71730b6
|
2020-04-16 21:46:58 +03:00 |
|
levlam
|
d83a85038f
|
Add tz_offset support.
GitOrigin-RevId: 4b3a1b1d214bf163ce6a72901726fde4243adb50
|
2020-04-09 00:09:55 +03:00 |
|
levlam
|
bb75ea35da
|
Update layer to 112.
GitOrigin-RevId: 9d18b24ce8aeb86624a61c04e55ca5b4a42634ce
|
2020-04-03 16:50:10 +03:00 |
|
levlam
|
97c9cdc996
|
Do nothing if pending profile photo is not changed.
GitOrigin-RevId: fe980a5902fb9407437c1df56f15a76a64fba319
|
2020-04-11 01:44:22 +03:00 |
|
levlam
|
8aae040e21
|
Return 429 from ImportContacts if no one was imported.
GitOrigin-RevId: 9fc2b4c929fc549872585df5f007504f8956e034
|
2020-04-08 02:48:34 +03:00 |
|
levlam
|
2cd73ca028
|
Skip empty contacts.deleteByPhones request.
GitOrigin-RevId: e9a2f30b9d2d149bcb699604e2fdb836e17c83ce
|
2020-04-08 00:54:41 +03:00 |
|
levlam
|
ad752d27bd
|
Do not allow to set need_phone_number_privacy_exception to true for contacts.
GitOrigin-RevId: b769afe07d879334a608e6c6bb6034b39ed37b45
|
2020-04-08 00:49:18 +03:00 |
|
levlam
|
b6ac360875
|
Invalidate cache of users deleted from contacts to repair their online status.
GitOrigin-RevId: b6775e9156385d7ca80fe627b395053eed24b155
|
2020-04-08 00:36:57 +03:00 |
|
levlam
|
fef67252d1
|
Reload ChannelFull before getting channel statistics if needed.
GitOrigin-RevId: 0730f4a8411bf2e5e2841bc95f1960b6619742c6
|
2020-04-07 23:11:44 +03:00 |
|
levlam
|
1d8004d279
|
Add force to get_user_full.
GitOrigin-RevId: 182ab8a99142a12c51662ee0928480f6a3e03f91
|
2020-04-07 03:23:53 +03:00 |
|
levlam
|
4334f5e63a
|
Remove unnecessary logging.
GitOrigin-RevId: 33419021cffedb85336c51b3d1f783ceeac9f415
|
2020-04-07 02:41:46 +03:00 |
|
levlam
|
1cb2141fee
|
Add force to get_channel_full.
GitOrigin-RevId: 76bc8e90bc5aba1443739199800074bf52e7d8d3
|
2020-04-02 04:33:04 +03:00 |
|
levlam
|
bf7f9e9bef
|
Improve logging.
GitOrigin-RevId: 6bc8d2e6a80629535839344f0832c871a5de5721
|
2020-04-02 00:43:54 +03:00 |
|
levlam
|
3b2c06e520
|
Improve chat statistics.
GitOrigin-RevId: a55d3a62bbeded1000f58a348c1ab7225b85d39a
|
2020-04-03 03:53:33 +03:00 |
|
Fela Ameghino
|
81babdf915
|
Implemented chat statistics (#981)
|
2020-04-02 16:06:05 +03:00 |
|
levlam
|
d2b441f812
|
Disable profile photos debug warnings.
GitOrigin-RevId: abe2ea6b184027f6e23b1193d8d61e51ed580c65
|
2020-03-31 03:13:59 +03:00 |
|
levlam
|
aefab830b1
|
Use better type in static_cast.
GitOrigin-RevId: 6babad6d6340d428cf73cbbe914c3e1fd4b30040
|
2020-03-31 03:02:51 +03:00 |
|
levlam
|
2a1717cc18
|
Do not warn on chat version gap.
GitOrigin-RevId: 21afbfc8616ed851cf807a8210150dda6431ae95
|
2020-03-31 02:58:50 +03:00 |
|
levlam
|
f5ede0b528
|
Add debug warning in drop_user_photos.
GitOrigin-RevId: d886262d3d8fdff8cbb476a5e1b19e78f485b229
|
2020-03-31 02:50:50 +03:00 |
|
levlam
|
e65dddef7e
|
Apply pending profile photo before getting full list of photos.
GitOrigin-RevId: e03d728b9ba9012662c819fce24dca591b659f41
|
2020-03-31 02:46:04 +03:00 |
|
levlam
|
bcc8dbc158
|
Use Global::is_expected_error whenever appropriate.
GitOrigin-RevId: aba8ee6e3dc1ab6e680a5ae10f6c3d217ab0a8dc
|
2020-03-31 00:35:58 +03:00 |
|