levlam
|
1e8724127a
|
Add cache of channel participants for bots-administrators.
|
2021-06-12 23:53:14 +03:00 |
|
levlam
|
6f51690275
|
Add ContactsManager::on_get_channel_participant.
|
2021-06-11 20:02:49 +03:00 |
|
levlam
|
411d30e1c7
|
Remove Td::on_channel_unban_timeout proxy.
|
2021-06-10 21:56:05 +03:00 |
|
levlam
|
7e61f9c95c
|
Improve error message.
|
2021-05-31 20:06:08 +03:00 |
|
levlam
|
f156da28a0
|
Don't update ChannelFull.participant_count by unknown Channel.participant_count.
|
2021-05-29 23:35:26 +03:00 |
|
levlam
|
98982374ee
|
Don't store userProfilePhoto.stripped_thumb_.
|
2021-05-27 21:26:24 +03:00 |
|
levlam
|
d7c739dc70
|
Ignore document and chat photo minithumbnails by bots.
|
2021-05-27 21:15:30 +03:00 |
|
levlam
|
2d534e48d6
|
Move get_dialog_invite_link_hash to LinkManager.
|
2021-05-27 20:31:06 +03:00 |
|
Andrea Cavalli
|
2c77e82300
|
Merge remote-tracking branch 'td/master' into dev
|
2021-05-27 00:50:41 +02:00 |
|
levlam
|
a6a4eb6616
|
Don't include SliceBuilder.h in logging.h.
|
2021-05-17 15:21:11 +03:00 |
|
levlam
|
0d41ba340f
|
Ensure that ChannelFull isn't loaded in on_channel_status_changed and on_channel_username_changed.
|
2021-05-09 18:14:43 +03:00 |
|
levlam
|
c0c5e24b9b
|
Drop slow_mode_delay in saved to database ChannelFull if slow mode is disabled in the channel.
|
2021-05-09 03:23:45 +03:00 |
|
levlam
|
4a13e791bb
|
Don't load ChannelFull from database in invalidate_channel_full.
|
2021-05-09 03:21:18 +03:00 |
|
levlam
|
25a6cb07bc
|
Add more checks.
|
2021-05-09 02:53:15 +03:00 |
|
Andrea Cavalli
|
40048f12ca
|
Merge
|
2021-05-04 22:17:39 +02:00 |
|
Andrea Cavalli
|
ee7ffd085f
|
Merge remote-tracking branch 'tdlib/master'
|
2021-04-13 16:11:57 +02:00 |
|
levlam
|
21607d9a48
|
Don't allow to send messages to @replies chat.
|
2021-04-13 00:23:13 +03:00 |
|
levlam
|
1979b2b142
|
Ensure that participant_count is the same in Channel and ChannelFull.
|
2021-04-12 18:32:47 +03:00 |
|
levlam
|
a83362c4d1
|
Add source to on_load_channel_full_from_database.
|
2021-04-12 04:51:01 +03:00 |
|
levlam
|
e72863ff84
|
Drop repair_request_version after failed GetChannelFullQuery.
|
2021-04-12 04:20:43 +03:00 |
|
levlam
|
105542fc9a
|
Speculatively update participant count when joining/leaving channels.
|
2021-04-12 03:54:07 +03:00 |
|
Andrea Cavalli
|
799d106c49
|
Merge remote-tracking branch 'td/master'
|
2021-04-10 19:44:10 +02:00 |
|
levlam
|
d6015184ee
|
Improve log message.
|
2021-04-08 02:55:17 +03:00 |
|
levlam
|
a0dcd2d9c2
|
Add optional source to have_dialog_force.
|
2021-04-08 00:51:32 +03:00 |
|
levlam
|
8039660cfe
|
Reload objects from server if failed to resolve their dependencies.
|
2021-04-04 03:23:22 +03:00 |
|
Andrea Cavalli
|
1ce823b0e6
|
Merge commit '1bbcc01091c8ca92f79821790b8857edb5a1b6b4'
|
2021-04-03 12:53:29 +02:00 |
|
levlam
|
13a80bc4e8
|
Use send_closure_later to avoid cycles in add_message_to_dialog.
|
2021-03-29 22:36:29 +03:00 |
|
levlam
|
ad495c0d0c
|
Skip error logging for deleted bots.
|
2021-03-29 18:10:37 +03:00 |
|
levlam
|
b5655ddab6
|
Pass UserId to Contact::Contact.
|
2021-03-29 08:20:54 +03:00 |
|
Andrea Cavalli
|
0c653e2526
|
Merge commit 'fbc7e5a7f845d6c8df12b11f5b9a5c9ffc6eea0e'
|
2021-03-28 12:57:26 +02:00 |
|
levlam
|
7aa71edad2
|
Drop outdated *Full.invite_link stored in the database.
|
2021-03-28 03:36:14 +03:00 |
|
levlam
|
d74749c813
|
Drop basic group invite link if removed from administrators.
|
2021-03-28 03:25:08 +03:00 |
|
levlam
|
984e79b7f7
|
Drop channel invite link, only when corresponding administrator right is removed.
|
2021-03-28 02:35:11 +03:00 |
|
levlam
|
024601eb86
|
Don't call remove_dialog_access_by_invite_link on username change.
|
2021-03-28 02:07:38 +03:00 |
|
levlam
|
26dc0ad930
|
Update layer to 127.
|
2021-03-26 18:15:21 +03:00 |
|
levlam
|
f6b1ea8bdb
|
Forcely create Dialog in get_chat_member_object.
|
2021-03-26 04:20:11 +03:00 |
|
levlam
|
7a65988f29
|
Check that other chats are only banned or unbanned.
|
2021-03-26 04:15:13 +03:00 |
|
levlam
|
14fc0898ad
|
Support banning and unbanning channels and supergroups.
|
2021-03-26 04:11:30 +03:00 |
|
levlam
|
f28af4ab20
|
Add ContactsManager::get_participant_dialog_id.
|
2021-03-26 03:17:30 +03:00 |
|
levlam
|
ffc847dbf5
|
Replace search_among_users with search_among_dialogs.
|
2021-03-26 02:39:24 +03:00 |
|
levlam
|
b349696e7f
|
Force inputPeerChannel creation for bots.
|
2021-03-25 01:10:34 +03:00 |
|
levlam
|
206cd55479
|
Support chat-members in getChatMember.
|
2021-03-24 23:40:13 +03:00 |
|
levlam
|
adedc7ad4f
|
Support chats as members of other chats.
|
2021-03-22 04:03:24 +03:00 |
|
levlam
|
06791bbbf3
|
Update layer to 126.
|
2021-03-21 21:55:21 +03:00 |
|
Andrea Cavalli
|
78291a96d4
|
Merge commit '70b71d569b81c66b25f8f77d9536b1d41fbf091d'
|
2021-03-21 01:04:45 +01:00 |
|
Andrea Cavalli
|
eb44f72a75
|
Merge commit 'd5f02b006600724c58edb86d356c494e9d30d1d1'
|
2021-03-16 13:07:27 +01:00 |
|
levlam
|
0339921102
|
Improve some spelling.
|
2021-03-15 03:32:14 +03:00 |
|
Andrea Cavalli
|
ce9a9ebbf9
|
Clean memory only if needed
|
2021-03-12 19:41:27 +01:00 |
|
Andrea Cavalli
|
4a1b295baa
|
Undo breaking database modifications, add tl-parser
|
2021-03-12 12:31:51 +01:00 |
|
Andrea Cavalli
|
1ea79d2739
|
Merge latest commits
|
2021-03-11 18:25:39 +01:00 |
|
levlam
|
92d8d1b9fd
|
Improve log messages.
|
2021-03-09 01:06:38 +03:00 |
|
levlam
|
159c4f3f00
|
Remove race in default_join_as updating.
|
2021-03-08 15:27:47 +03:00 |
|
levlam
|
4eab57cd7b
|
Add chat.default_join_voice_chat_as_chat_id.
|
2021-03-08 15:13:36 +03:00 |
|
levlam
|
f4ce6c9de9
|
Update bio of group call participants when it is changed.
|
2021-03-07 13:06:34 +03:00 |
|
levlam
|
dd4aac2f57
|
Init bio in fake updateGroupCallParticipant when joining call.
|
2021-03-07 01:54:45 +03:00 |
|
levlam
|
7a19e5dbe5
|
Support voice chat creation in channels.
|
2021-03-06 02:26:13 +03:00 |
|
levlam
|
1c3290bada
|
Fix warning.
|
2021-03-04 15:10:58 +03:00 |
|
levlam
|
de0a2a03e5
|
Return better error for empty invite links.
|
2021-03-01 02:57:14 +03:00 |
|
levlam
|
813b141148
|
Fix channelParticipantSelf handling.
|
2021-03-01 02:33:38 +03:00 |
|
levlam
|
18fc612b3b
|
Rename administrator_user_id to creator_user_id.
|
2021-02-25 16:02:07 +03:00 |
|
levlam
|
c733f8ed34
|
Minor improvements.
|
2021-02-25 15:56:26 +03:00 |
|
levlam
|
1e7795354d
|
Add td_api::getChatInviteLink.
|
2021-02-24 22:25:10 +03:00 |
|
levlam
|
c5f84de9cd
|
Support channel suggested actions.
|
2021-02-22 23:34:10 +03:00 |
|
levlam
|
332b7a6edb
|
Support dismissing of chat-specific suggested actions.
|
2021-02-22 19:38:40 +03:00 |
|
levlam
|
b67bafb23c
|
Add td_api::suggestedActionConvertToBroadcastGroup.
|
2021-02-22 18:06:18 +03:00 |
|
levlam
|
c07a1dac22
|
Unify UserFull/ChatFull/ChannelFull variable names.
|
2021-02-20 22:20:02 +03:00 |
|
levlam
|
3774b13ca1
|
Add td_api::reportChatPhoto.
|
2021-02-19 19:11:27 +03:00 |
|
levlam
|
62a4c0c58d
|
Add updateChatMember.
|
2021-02-19 13:57:46 +03:00 |
|
levlam
|
fd190bc9bd
|
Process updateChatParticipant and updateBotStopped.
|
2021-02-19 02:16:50 +03:00 |
|
levlam
|
ad43c83bce
|
Add DialogParticipant constructor from telegram_api::ChatParticipant.
|
2021-02-19 01:38:16 +03:00 |
|
levlam
|
7eb751083c
|
Add can_inite_users right check just in case.
|
2021-02-18 16:24:22 +03:00 |
|
levlam
|
9b62afbea2
|
Add td_api::toggleSupergroupIsBroadcastGroup.
|
2021-02-17 01:06:35 +03:00 |
|
levlam
|
5955b43d88
|
Add supergroup.is_broadcast_group flag.
|
2021-02-16 18:27:17 +03:00 |
|
levlam
|
12ead50446
|
Add number of revoked invite link to chatInviteLinkCount.
|
2021-02-16 15:31:58 +03:00 |
|
levlam
|
cc50f3b143
|
Support receiving message TTL setting for all chat types.
|
2021-02-09 17:35:48 +03:00 |
|
levlam
|
bf42d62f1e
|
Unify ResultHandler subclass names and logged name.
|
2021-02-08 15:56:08 +03:00 |
|
levlam
|
f46ff6e1cd
|
Update permanent invite link after it is revoked.
|
2021-02-05 19:23:29 +03:00 |
|
levlam
|
4cb8af0584
|
Support revoking permanent chat invite links.
|
2021-02-05 18:56:44 +03:00 |
|
levlam
|
342b4e45ca
|
Support deletion of all revoked invite links created by other administrator.
|
2021-02-05 02:17:12 +03:00 |
|
levlam
|
f2f68aa3b3
|
Add td_api::getChatInviteLinkCounts.
|
2021-02-02 19:23:45 +03:00 |
|
levlam
|
642a9a9efb
|
Update layer to 124.
|
2021-02-02 02:00:28 +03:00 |
|
levlam
|
22289fe68b
|
Move struct definition back to header to fix SplitSource-build.
|
2021-02-12 16:53:40 +03:00 |
|
levlam
|
a3cdc8ffef
|
Fix CE.
|
2021-02-04 16:49:41 +03:00 |
|
levlam
|
65a7715248
|
Pass promise to MessagesManager::on_dialog_deleted.
|
2021-02-04 16:01:04 +03:00 |
|
levlam
|
ad0c5e6783
|
Minor improvements.
|
2021-02-01 13:41:20 +03:00 |
|
levlam
|
cd3abdbeb2
|
Move dialog participant methods from MessagesManager to ContactsManager.
|
2021-01-27 02:16:17 +03:00 |
|
levlam
|
d246318a5c
|
Update permanent invite link after replacing.
|
2021-01-26 23:59:09 +03:00 |
|
levlam
|
37ef232d47
|
Fix function name.
|
2021-01-26 23:15:33 +03:00 |
|
levlam
|
6878b41dc7
|
Update layer 123.
|
2021-01-26 13:07:03 +03:00 |
|
levlam
|
f77adeb28c
|
Update layer 123.
|
2021-01-26 02:00:12 +03:00 |
|
Andrea Cavalli
|
9a01a9da1d
|
Merge commit 'e72c129f9ce3b7463c7a42406aab0d3ebffdc6be'
Conflicts:
td/telegram/MessagesManager.cpp
|
2021-01-23 22:47:58 +01:00 |
|
levlam
|
01f613f7bf
|
Add user/supergroup.is_fake.
|
2021-01-21 13:40:22 +03:00 |
|
levlam
|
da4d2b7636
|
Add separate banChatMember method.
|
2021-01-20 21:12:48 +03:00 |
|
levlam
|
7a45faff24
|
Add offset_date support in getChatInviteLinks.
|
2021-01-20 17:30:26 +03:00 |
|
levlam
|
1b7c6a9c31
|
Update layer 123.
|
2021-01-20 16:12:03 +03:00 |
|
levlam
|
dbf1253075
|
Replace deleteSupergroup with universal deleteChat method.
|
2021-01-20 14:49:18 +03:00 |
|
levlam
|
c7e4abb0a5
|
Add deleteChat method support.
|
2021-01-19 14:10:25 +03:00 |
|
levlam
|
936dbbb254
|
Add separate method for revoking chat invite links.
|
2021-01-18 22:35:28 +03:00 |
|
levlam
|
840c1ba8f9
|
Ignore *FullInfo without invite link.
|
2021-01-18 20:29:02 +03:00 |
|
levlam
|
3f91df5a47
|
Add td_api::deleteRevokedChatInviteLink.
|
2021-01-18 19:59:21 +03:00 |
|