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 |
|
Andrea Cavalli
|
33c250f884
|
Added TTL options to keep the access hashes of recent chats.
|
2020-08-28 19:46:35 +02:00 |
|
Andrea Cavalli
|
1ccc7c6c65
|
Merge commit '3282a873cb24b0c975b6929aeb71a00fc6a18b7c'
Conflicts:
sqlite/sqlite/sqlite3.c
sqlite/sqlite/sqlite3.h
sqlite/sqlite/sqlite3ext.h
sqlite/sqlite/sqlite3session.h
tddb/td/db/SqliteDb.cpp
|
2020-08-18 13:55:47 +02: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 |
|
|
90e1001a5f
|
Merge commit '1b628d3ab7be515c8c6a916e7e955403fbc07b2a'
|
2020-08-05 11:34:15 +02: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 |
|
|
35fe9a1409
|
ContactsManager partial locking when cleaning
|
2020-08-02 00:24:48 +02:00 |
|
levlam
|
53ca6e4f4a
|
Add td_api::getMessageStatistics.
GitOrigin-RevId: f5d32ef829b91aa1fea59ea88b665fe39d32642c
|
2020-08-01 05:19:54 +03:00 |
|
|
f1bf08c1e6
|
Update ContactsManager.cpp, WebPagesManager.cpp, and cli.cpp
|
2020-07-31 23:54:01 +02:00 |
|
levlam
|
8e77eacc72
|
Update message interaction info after receiving channel statistics.
GitOrigin-RevId: 6ec1b365c9f1299da1849fa6767f4ec79b627f90
|
2020-07-31 20:03:57 +03:00 |
|
|
aae28b4fb5
|
Update ContactsManager.cpp, StickersManager.cpp, and WebPagesManager.cpp
|
2020-07-31 15:51:49 +02:00 |
|
|
e2947da564
|
Update ContactsManager.cpp
|
2020-07-29 17:13:12 +02:00 |
|
|
cc087aeacd
|
Merge commit 'ab5d35371b1fdcfb30dfa981ede54ec83db214a9'
Conflicts:
sqlite/CMakeLists.txt
td/telegram/ContactsManager.cpp
td/telegram/Photo.cpp
td/telegram/Td.cpp
td/telegram/WebPagesManager.cpp
td/telegram/files/FileManager.h
|
2020-07-29 16:39:33 +02: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 |
|
|
205fa52f8d
|
Merge commit '44689f81ff8b9bc4583c1c889d8034c47f0c5270'
Conflicts:
td/telegram/DialogDb.cpp
td/telegram/MessagesManager.cpp
td/telegram/StickersManager.cpp
td/telegram/TdDb.cpp
td/telegram/WebPagesManager.cpp
|
2020-06-11 17:44:52 +02:00 |
|
|
e3bf0f63f0
|
Patches
|
2020-05-23 21:27:24 +02: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 |
|
levlam
|
4cfb7c56d2
|
Add Global::is_expected_error.
GitOrigin-RevId: afa4741a772ad99844195a583ee40d3fc50fef4f
|
2020-03-31 00:22:52 +03:00 |
|
levlam
|
efd22eff7e
|
Add temporarily debug warning.
GitOrigin-RevId: aaa63a04daac08c75a0210a7055054c9251e150f
|
2020-03-30 23:29:12 +03:00 |
|
levlam
|
e8e546a721
|
Fix retries in getBasicGroupFullInfo.
GitOrigin-RevId: acd566f171998c130f0e3a0544b11e6430148f07
|
2020-03-30 22:20:34 +03:00 |
|
levlam
|
ce4b2a5082
|
Add td_api::setCommands.
GitOrigin-RevId: 13284b798b074402096a1c6d8fd149d67ded0df1
|
2020-03-28 01:43:52 +03:00 |
|
levlam
|
2f850bc834
|
Fix warnings.
GitOrigin-RevId: 25c5aaaf29fd1284427f354291a6e664847413ea
|
2020-03-20 17:32:58 +03:00 |
|
levlam
|
3d07b45a21
|
Update layer to 111.
GitOrigin-RevId: 47862200a12f3b5b9e5058192d5e9a9cdca862aa
|
2020-03-14 01:56:47 +03:00 |
|
levlam
|
302485d673
|
Repair dialog action bar with delay to not receive outdated data.
GitOrigin-RevId: 74c3cb3ae95e5204153b91fd220b3e6b62bd87df
|
2020-03-24 03:47:33 +03:00 |
|
levlam
|
2d9eb0c00b
|
Do not create *Full if there is no corresponding User/Chat/Channel.
GitOrigin-RevId: 8f046c4fb85d5d406f59569a6be2ef7988d3e452
|
2020-03-24 00:59:14 +03:00 |
|
levlam
|
b8848a2ab4
|
Simplify NetQuery creation.
GitOrigin-RevId: a01e72f8e196b405dd28dfd75d16cadc7127ec4a
|
2020-03-16 00:17:11 +03:00 |
|