Commit Graph

123 Commits

Author SHA1 Message Date
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
a3126dcce5 Add td_api::sharePhoneNumber.
GitOrigin-RevId: 522cee62cab40378802fbb5352f9d06ee2709a03
2019-10-11 17:59:04 +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
62db4169a2 Update action bar when user is deleted.
GitOrigin-RevId: 1c31884369b944f79b2772e0142ce95a08ebafc1
2019-10-11 03:11:22 +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
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
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
9bf6b2c78a Allow read access to linked channels.
GitOrigin-RevId: 24003a60c80a8e61354ba647fb616e92f88c6e48
2019-09-13 05:40:02 +03:00
levlam
867c0f615b Add linked_chat_id support.
GitOrigin-RevId: 220feb41f7557dafc02bf0f04f43b8b15d50e2d9
2019-09-13 04:11:21 +03:00
levlam
936a84c025 Update to layer 99. Add support for ChatListType.
GitOrigin-RevId: fdd5de60e479fa9a72975bee8e3cb911f390ec01
2019-08-19 04:51:03 +03:00
levlam
9fa88eb0ec Remove user/channel debug_source.
GitOrigin-RevId: a9d8fc3841d04e448ee6ef9a34b084d1d302257c
2019-10-18 01:17:46 +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
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
912ab17351 Add cache revalidation for users, chats and channels.
GitOrigin-RevId: 3377a27326ab76d13c89fbe2eb5ef88ce6564e0b
2019-07-26 00:05:16 +03:00
levlam
666e668163 Add support for is_scam mark for users and channels.
GitOrigin-RevId: f34b2ed15d3cb01f3a3da51673e8aa0ac98ad874
2019-06-18 16:41:53 +03:00
levlam
4a8411329f Add source to ContactsManager::do_update_user_photo.
GitOrigin-RevId: 086ca18898448cbcd44977965a0f8f0ddc799ead
2019-06-17 03:39:00 +03:00
levlam
bd13368fa8 Fix chat invite link photo.
GitOrigin-RevId: bf4fa46201598412804880dd3c19d800c93acd5e
2019-06-17 02:00:54 +03:00
levlam
8117f0fb39 Support min_access_hash.
GitOrigin-RevId: b2de0f02f75683a08961cdb1c0ceb719574a9e67
2019-06-17 01:35:12 +03:00
levlam
30e96aa8c8 Improve applying chat full participants.
GitOrigin-RevId: 4280f3daa15b4120e81eb3891adced8ff5f97c1c
2019-06-13 00:21:30 +03:00
levlam
b4b9778947 Add td_api::chatMembersFilterContacts.
GitOrigin-RevId: 2f8f18da88a0de2c5df5bd1d0207d424b6b4e89b
2019-05-12 21:49:21 +03:00
levlam
b641382eab Support pinned_message version in basic groups.
GitOrigin-RevId: 75a011aa0ad138f9bf165870603c1be82038bbc8
2019-05-12 21:19:03 +03:00
levlam
441d224878 Skip non-contacts when searcing contacts on channels.
GitOrigin-RevId: 9db95ac20b76e3f274eb7dbc758e00f3b84d2cd4
2019-05-04 03:15:49 +03:00
levlam
eed517a2e7 Fix bot permissions.
GitOrigin-RevId: 86929755cff1673c3404beeff2a6bfbfcb2e2365
2019-03-22 18:32:06 +03:00
levlam
5e69f957f3 Add get_cha{t,nnel}_permissions.
GitOrigin-RevId: 7d00023ed7497f89cc3895c9a1d4f267f7332922
2019-03-22 15:23:44 +03:00
levlam
e71b749a79 Add updateChatDefaultBannedRights support.
GitOrigin-RevId: 1e938066789b61f5f14003c268a62965fcc31a30
2019-03-20 16:32:27 +03:00
levlam
454d8d3987 Add td_api::chatPermissions support.
GitOrigin-RevId: 38cc232035e54665e140772b13316c31ecc38df6
2019-03-20 15:28:06 +03:00
levlam
ada302aaf2 Support default restricted rights in channels.
GitOrigin-RevId: 71ca596fcaaa31217bd1e8431d3e6202ebcd43f0
2019-03-19 18:55:10 +03:00
levlam
e6d968963b Support new rights in chats.
GitOrigin-RevId: 0cfc8de697a1eed2a323907c36b36b6b634e42b6
2019-03-19 18:13:16 +03:00
levlam
ed3e4b7d67 Add basic group description support.
GitOrigin-RevId: 030f1a2c149fd085f90a4153e7c76a6adb14e00c
2019-03-18 05:24:25 +03:00
levlam
3ecf990ad6 Update layer to 95.
GitOrigin-RevId: 0d6b470b6ca6f72b5b87fbd899aaeae8892f8834
2019-03-15 16:52:55 +03:00
levlam
078417d423 Add mtpeer.access_hash parsing in push notifications.
GitOrigin-RevId: bba57f1a73627383a2e363c821475cdc6a3dcaad
2019-04-04 21:50:26 +03:00