Commit Graph

239 Commits

Author SHA1 Message Date
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
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
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
9e51fcdb3f Add source to send_get_*_full_query.
GitOrigin-RevId: 5fdb3cc98f901ddfdcb562ba2c452fc5e2ed13cc
2019-09-15 05:06:11 +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
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
levlam
867c0f615b Add linked_chat_id support.
GitOrigin-RevId: 220feb41f7557dafc02bf0f04f43b8b15d50e2d9
2019-09-13 04:11:21 +03:00
levlam
779fbb6d83 Update to layer 100. Add td_api::userPrivacySettingShowPhoneNumber and td_api::topChatCategoryForwardChats.
GitOrigin-RevId: 96fd17d9fef8e08b4415ec0d8e13e6cdb37f589b
2019-09-03 17:13:03 +03:00
levlam
6dd224ab55 Pass pts to on_read_channel_inbox.
GitOrigin-RevId: ecfc1333caf77209d388430c4c23bef30e55ca6e
2019-08-27 18:32:39 +03:00
levlam
936a84c025 Update to layer 99. Add support for ChatListType.
GitOrigin-RevId: fdd5de60e479fa9a72975bee8e3cb911f390ec01
2019-08-19 04:51:03 +03:00
levlam
22c88fab89 Reregister device after terminate all sessions.
GitOrigin-RevId: 131a94d04370ccd3ed96ec8f5945ff07df4a67fd
2019-11-17 22:43:10 +03:00
levlam
c1a201fd7f Use main remote location for upload.
GitOrigin-RevId: 1a77b73bf73608e219cbf2a0d888f33b0c406a80
2019-11-17 22:41:28 +03:00
levlam
9fa88eb0ec Remove user/channel debug_source.
GitOrigin-RevId: a9d8fc3841d04e448ee6ef9a34b084d1d302257c
2019-10-18 01:17:46 +03:00
levlam
a2cdc45fc0 Use unique file_id in UpdateProfilePhotoQuery.
GitOrigin-RevId: 80840de6532ef75bd1a2447d81cf4a6ad0e08e46
2019-10-03 17:45:11 +03:00
levlam
b20bd84e22 Do not update local online status for support accounts.
GitOrigin-RevId: b4bce82b6aaa160a2f7fc2897c44e20b05c2030a
2019-10-03 16:44:49 +03:00
levlam
7fdaf3c530 Do not repair participant_count in deactivated chats.
GitOrigin-RevId: 3795e3e3571f4c580b70335470acf826f5b0e492
2019-09-16 03:54:09 +03:00
levlam
5104759c6a Update private chat permissions when user is received.
GitOrigin-RevId: 3fa3df0aa915130eec167607905b76006dd0b706
2019-09-02 20:32:51 +03:00
levlam
cea15d975a Use send_closure_later in on_user_online_timeout_callback to avoid accidental access to MultiTimoeut.
GitOrigin-RevId: b488a006dcbe17d661e18a6e578c08cd070b84ea
2019-08-29 02:17:52 +03:00
levlam
e0d3ad91c5 Do not treat ChatFull without participants as outdated in inactive chats.
GitOrigin-RevId: 5ad01d20dd1b655cfd2ed08f4de20a7d958d8e38
2019-08-16 03:38:53 +03:00
levlam
afae30a32d Fix ChatFull invalidating.
GitOrigin-RevId: 34ae7377315701b5e8d0a877686499f1670b529d
2019-08-16 02:45:42 +03:00
levlam
7435cab3af Update 777000's profile photo.
GitOrigin-RevId: c5f7cd801640947e5418aafbb28cb8fa7747ca17
2019-08-15 23:46:58 +03:00
levlam
500a8a1302 Check read access before repairing user/chat/channel.
GitOrigin-RevId: 273b79368613377d5665292a7e230adf35f1f5f3
2019-08-06 21:50:03 +03:00
levlam
5ca0a72ddf Add td_api::getMessageLinkInfo.
GitOrigin-RevId: 34213fdada780b9bb8fe6a6db5a0de3be097b55c
2019-08-05 12:12:59 +03:00
levlam
2fd851dfe2 Repair sticker set thumbnail if changed.
GitOrigin-RevId: 1b0e2e997338d85249e6eee877ab0483d9826342
2019-07-30 18:43:29 +03:00
Arseny Smirnov
089d73953c FileManager: reload photo on FILE_ID_INVALID
GitOrigin-RevId: defb6736befa35189253f8ac70342be81a607918
2019-07-30 17:42:36 +03:00
levlam
a7005ee358 Add reload_user.
GitOrigin-RevId: f13879bb21e7978f009f5eb8e0f768c089a1061e
2019-07-30 15:10:02 +03:00
levlam
66bf58ca0e Fix rights check in generateChatInviteLink.
GitOrigin-RevId: 241f4368ea9baabe479655959f724eb4b591c9e4
2019-07-28 17:36:25 +03:00
levlam
912ab17351 Add cache revalidation for users, chats and channels.
GitOrigin-RevId: 3377a27326ab76d13c89fbe2eb5ef88ce6564e0b
2019-07-26 00:05:16 +03:00
levlam
527c88ca88 Adjust new chat member status for Bot API backward compatibility.
GitOrigin-RevId: 04bbe38639bde8c7ab0b8bc527b8df833d496c81
2019-07-24 05:33:46 +03:00
levlam
d694b24418 Fix warnings.
GitOrigin-RevId: d3780ae558619ab6beb1fc7dc582285abdd280ca
2019-07-01 19:52:48 +03:00
levlam
bec71af259 Change outbound link to KnowsPhoneNumber if have phone number.
GitOrigin-RevId: 25e1efef971fe168155f54ed899288ac9b1020e5
2019-06-27 19:33:46 +03:00
levlam
dda4c4fc7d Fix check for export chat invite link.
GitOrigin-RevId: aa754d8faa04741ea400450ff58f23ca9443dca8
2019-06-27 19:03:02 +03:00
levlam
d5c7d0a3f9 Better source in on_update_user_photo.
GitOrigin-RevId: 4ba2c1fb4f6b1f98045b7e5ed1ca292a09174bd9
2019-06-27 03:00:42 +03:00