Commit Graph

199 Commits

Author SHA1 Message Date
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
levlam
e23ecdf572 Allow bots to restrict left chat members without trying to add them.
GitOrigin-RevId: b2884da3cdc524634b23d1d149bdb66bc6fa206d
2019-06-20 20:34:08 +03:00
levlam
a19fa6b724 Add debug logging.
GitOrigin-RevId: 0c66f0ab330c4ada8f225f0516b64d4aeba62262
2019-06-20 17:18: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
9ee52310fb Fix processing of inaccessible users.
GitOrigin-RevId: dea00d3a71e4f85b44c73c6620c2edaf39bddf17
2019-06-17 04:36:27 +03:00
levlam
4a8411329f Add source to ContactsManager::do_update_user_photo.
GitOrigin-RevId: 086ca18898448cbcd44977965a0f8f0ddc799ead
2019-06-17 03:39:00 +03:00
levlam
cf4433dc52 Use get_photo(telegram_api::Photo) whenever possible.
GitOrigin-RevId: 6ab86f8a10f8a80584cd7a4ada4fbbda19df9d96
2019-06-17 02:41:57 +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
4c781ebb7b Update layer to 98.
GitOrigin-RevId: 7bc09a6ec637f12b2f90bc1fb6d82903feffc376
2019-06-08 12:26:35 +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
90ab672030 Fix lost promise in ReportChannelSpamQuery.
GitOrigin-RevId: 61abcd89b6753d6f863f1dd72bc45b30a1f09ec7
2019-05-09 15:22:47 +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
e83184f9fc New chat permissions checking.
GitOrigin-RevId: ef555c6cb407efbf3092cda554b1992155c6e1e4
2019-03-22 18:18:46 +03:00
levlam
046be9b785 Better apply_restrictions for administrators.
GitOrigin-RevId: 3ea51eefe47c54cddf4d6880fd62869f94ac5434
2019-03-22 17:04:01 +03:00
levlam
5e69f957f3 Add get_cha{t,nnel}_permissions.
GitOrigin-RevId: 7d00023ed7497f89cc3895c9a1d4f267f7332922
2019-03-22 15:23:44 +03:00
levlam
c636408a7a Remove unneded mutable specifiers.
GitOrigin-RevId: 528550993874adb2ff29f9f88273339937919c8b
2019-03-20 21:13:45 +03:00
levlam
9b8a5438be Add td_api::setChatPermissions.
GitOrigin-RevId: ce072b20283e5a1887bd94fea33ad4d0cb4ec5b9
2019-03-20 20:58:13 +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
bc736d0cc5 Add supergroupMembersFilterContacts.
GitOrigin-RevId: 56dee642cebc5f71918be82219a39d4ad3e4f615
2019-03-18 05:36:47 +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
547720ccf6 Remove export dialog invite link admin right.
GitOrigin-RevId: 0960bf0f6ecac10e714769089a0fbda347b459d8
2019-03-08 04:04:30 +03:00
levlam
a4d89470f2 Do not warn on deleted users returned as administrators.
GitOrigin-RevId: 8facbb4a76bf489ce59c9e34d98dc49c6112edb6
2019-06-06 18:30:18 +03:00
levlam
7b0be02503 Copy BufferSlice before saving user profile photo.
GitOrigin-RevId: f4a4e8dcae1eeea6d8111705d3cd4fbaaa805bf4
2019-06-06 18:09:48 +03:00
levlam
1ed97b8539 Do not include query and anchor to invite link hash.
GitOrigin-RevId: 08d499417bfb95dfe2a4e41099471d826b3bc848
2019-06-05 04:22:27 +03:00
levlam
0181982749 Improve getting groups in common.
GitOrigin-RevId: 211d8706823b9aa509af00855083a1981a0a963a
2019-06-05 03:14:54 +03:00
levlam
21dee3b1d9 Fix g++9 warnings.
GitOrigin-RevId: 5f0565bfaefff9bf41f372f2f249489650985fae
2019-05-01 20:03:27 +03:00
levlam
654010d8f4 Trying to not send GetUsersQuery while closing.
GitOrigin-RevId: 75e44b200ec12becb82284607bba44b6d2d05fd8
2019-04-28 01:30:55 +03:00
levlam
6c34030d51 Improve logging.
GitOrigin-RevId: 3cd0ce11ea05c9d8eb0074f800c7538cb40b6139
2019-04-22 02:42:47 +03:00
levlam
a26d827a38 Improve logging.
GitOrigin-RevId: 90530bd13523ad525d93d67e0634524c1459c8e9
2019-04-22 01:25:18 +03:00
levlam
c37d0d98dd Silence expected warning.
GitOrigin-RevId: a81ef99ffebdf41067318920110fbd7fb554da92
2019-04-18 17:04:05 +03:00
levlam
0516dfaa32 Better error log message.
GitOrigin-RevId: 5076d85dd60c8d08d7537895a6d925c90f5f0aea
2019-04-18 16:37:16 +03:00
levlam
cb856f55a1 More consistent log out checks.
GitOrigin-RevId: df749bf0a8234d5ed537b1a7200d4a3ee037eb7d
2019-04-11 23:32:19 +03:00
levlam
078417d423 Add mtpeer.access_hash parsing in push notifications.
GitOrigin-RevId: bba57f1a73627383a2e363c821475cdc6a3dcaad
2019-04-04 21:50:26 +03:00