levlam
|
c0eb211476
|
Locally fix until_date before sending it to the server.
|
2022-05-12 14:38:45 +03:00 |
|
levlam
|
995b06b317
|
Drop ChatFull/ChannelFull photo after updating chat/channel photo.
|
2022-05-06 12:41:55 +03:00 |
|
levlam
|
ab3a8282d4
|
Add warning when receive inconsistent photos in chatPhoto and chatPhotoInfo.
|
2022-05-04 20:08:32 +03:00 |
|
levlam
|
bf05cf1680
|
Update user photo from user full photo.
|
2022-05-04 20:02:35 +03:00 |
|
levlam
|
4652292037
|
Use count instead of find if appropriate.
|
2022-05-01 23:03:06 +03:00 |
|
levlam
|
68ad0b4317
|
Add ContactsManager::get_dialog_id.
|
2022-04-30 21:13:01 +03:00 |
|
levlam
|
834a541bc3
|
Add apply_pending_user_photo and use it in on_get_user_full.
|
2022-04-29 11:23:27 +03:00 |
|
levlam
|
3cdd08feef
|
Add missing flag assignment.
|
2022-04-29 11:02:53 +03:00 |
|
levlam
|
6a87f0c6ef
|
Avoid updating chat photo minithumbnail to 40x40 full minithumbnail.
|
2022-04-29 10:50:10 +03:00 |
|
levlam
|
58ff3d5e5d
|
Ignore photo size for fake dialog photo.
|
2022-04-28 22:29:10 +03:00 |
|
levlam
|
840cedf49c
|
Drop ChatFull/ChannelFull photos if chat/channel photo is different.
|
2022-04-28 21:18:57 +03:00 |
|
levlam
|
f421cff7f3
|
Add and use is_same_dialog_photo.
|
2022-04-28 21:02:44 +03:00 |
|
levlam
|
d106148618
|
Update chat/channel photo whenever receive new full chat/channel photo.
|
2022-04-28 20:35:44 +03:00 |
|
levlam
|
17275fe422
|
Output the number of objects to be freed on closing.
|
2022-04-25 20:52:44 +03:00 |
|
levlam
|
69eb286067
|
Avoid expected logging.
|
2022-04-25 17:59:42 +03:00 |
|
levlam
|
ff6f165551
|
Fix "attachment menu" spelling.
|
2022-04-14 22:56:27 +03:00 |
|
levlam
|
163e739302
|
Add set_promises/fail_promises helper functions.
|
2022-04-13 17:40:12 +03:00 |
|
levlam
|
295412ed5e
|
Avoid some getChannelFull requests.
|
2022-04-12 16:59:54 +03:00 |
|
levlam
|
161d34fc15
|
Keep in chat list empty joined basic groups.
|
2022-04-08 15:35:21 +03:00 |
|
levlam
|
2b3d3c5efd
|
Apply bot menu button update to non-loaded users.
|
2022-04-08 04:02:25 +03:00 |
|
levlam
|
6c0438fc69
|
Minor fixes.
|
2022-04-07 20:38:22 +03:00 |
|
levlam
|
00c64aba6e
|
Remove openWebApp.from_bot_menu flag.
|
2022-04-07 18:29:59 +03:00 |
|
levlam
|
4155752cdf
|
Add td_api::getMenuButton.
|
2022-04-07 17:20:26 +03:00 |
|
levlam
|
62612b9668
|
Add BotMenuButton.
|
2022-04-06 20:24:54 +03:00 |
|
levlam
|
a1125be8eb
|
Keep promise non-emptiness in call to send_get_channel_full_query.
|
2022-04-04 20:20:29 +03:00 |
|
levlam
|
713debab58
|
Update participant cache after changing their rights.
|
2022-04-04 17:16:31 +03:00 |
|
levlam
|
7d3f0cb37f
|
Use get_channel_participant in set_channel_participant_status to honor chat member cache.
|
2022-04-04 16:44:48 +03:00 |
|
levlam
|
e2f9cc399f
|
Pass correct ChannelType to DialogParticipant constructor.
|
2022-04-04 16:29:46 +03:00 |
|
levlam
|
c3996b4726
|
Always adjust administrator rights for supergroups and channels.
|
2022-04-04 16:19:41 +03:00 |
|
levlam
|
1d6488ab09
|
Add ContactsManager::is_broadcast_channel/is_megagroup_channel helpers.
|
2022-04-04 15:48:33 +03:00 |
|
levlam
|
a8a343704a
|
Add ChannelType.h.
|
2022-04-04 15:35:09 +03:00 |
|
levlam
|
7f587c24d9
|
Replace get_restricted_rights with RestrictedRights constructors.
|
2022-04-04 14:13:51 +03:00 |
|
levlam
|
4a50db52d8
|
Replace get_administrator_rights with AdministratorRights constructor.
|
2022-04-04 13:58:14 +03:00 |
|
levlam
|
8d35ac0b72
|
Avoid duplicate source in on_get_users/chats.
|
2022-03-29 15:54:36 +03:00 |
|
levlam
|
2ff0b74af6
|
Add td_api::getAttachMenuBot.
|
2022-03-29 15:00:00 +03:00 |
|
levlam
|
759d02770d
|
Allow to use deleteChatHistory to revoke messages for all members in some channels.
|
2022-03-29 12:14:21 +03:00 |
|
levlam
|
977ebca580
|
Allow owner to clear basic group history for everyone.
|
2022-03-28 21:23:12 +03:00 |
|
levlam
|
0375704460
|
Use get_input_user instead of have_input_user.
|
2022-03-28 20:26:28 +03:00 |
|
levlam
|
234c7423bf
|
Add userTypeBot.can_be_added_to_attach_menu flag.
|
2022-03-25 13:02:01 +03:00 |
|
levlam
|
afa00d8b00
|
Add default administrator rights to botInfo.
|
2022-03-22 14:52:27 +03:00 |
|
levlam
|
fa4e17fe95
|
Move bot-only fields in userFullInfo to class botInfo.
|
2022-03-18 15:04:47 +03:00 |
|
levlam
|
479667dd1a
|
Update layer to 140.
|
2022-03-18 14:46:01 +03:00 |
|
levlam
|
cb063ac210
|
Remove wrong CHECK. Fixes #1892.
|
2022-03-19 21:58:10 +03:00 |
|
levlam
|
4d13e1354e
|
Move ChannelParticipantFilter to separate header.
|
2022-03-19 21:53:33 +03:00 |
|
levlam
|
26c18680f2
|
Move DialogParticipantFilter to separate header.
|
2022-03-19 21:37:46 +03:00 |
|
levlam
|
5d71289b72
|
Move get_dialog_participant_status to DialogParticipantStatus constructor.
|
2022-03-18 19:13:22 +03:00 |
|
levlam
|
1f38124861
|
Use FlatHashSet.
|
2022-03-11 21:38:48 +03:00 |
|
levlam
|
8b16cf7271
|
Make all fields in Dependencies class private.
|
2022-03-11 15:31:28 +03:00 |
|
levlam
|
a136a9d22b
|
Move methods inside Dependencies class.
|
2022-03-11 15:10:24 +03:00 |
|
levlam
|
ff9f5b88d9
|
Ignore invite links to deactivated basic groups.
|
2022-03-11 13:00:25 +03:00 |
|