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 |
|
levlam
|
9964d24ec8
|
Check permissions for all chat types in can_send_message_content.
|
2021-04-13 00:49:27 +03: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
|
c7b0063260
|
Add source to parse_dialog.
|
2021-04-12 06:04:43 +03:00 |
|
levlam
|
1934bf3b0e
|
Fix repairing unread count in fix_new_dialog.
|
2021-04-12 05:58:24 +03:00 |
|
levlam
|
5ec3b9cfce
|
Init MessagesManager on first call to get_dialog_force.
|
2021-04-12 05:11:06 +03:00 |
|
levlam
|
a83362c4d1
|
Add source to on_load_channel_full_from_database.
|
2021-04-12 04:51:01 +03:00 |
|
levlam
|
eb8e135ae3
|
Fix dropping group call's can_be_managed flag on leaving.
|
2021-04-12 04:45:35 +03:00 |
|
levlam
|
bdb7c833fd
|
Improve fatal error message.
|
2021-04-12 04:42:42 +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 |
|
levlam
|
550ccc8d9b
|
Move left chats to a correct ordered_dialogs_ list.
|
2021-04-09 01:49:27 +03:00 |
|
levlam
|
51581b8d03
|
Minor.
|
2021-04-09 01:11:44 +03:00 |
|
levlam
|
a2e6a242f1
|
Fix getChatEventLog filter flags.
|
2021-04-08 23:01:12 +03:00 |
|
levlam
|
4abb995b05
|
Don't use online mode for bots having more than one session.
|
2021-04-08 15:51:29 +03:00 |
|
levlam
|
af1b774ffb
|
Replace sender in messages sent by anonymous bot with the group itself.
|
2021-04-08 15:22:28 +03:00 |
|
levlam
|
2f687edf17
|
Don't decrease max_unavailable_message_id when processing MessageDeleteChatHistory.
|
2021-04-08 03:06:05 +03:00 |
|
levlam
|
d6015184ee
|
Improve log message.
|
2021-04-08 02:55:17 +03:00 |
|
levlam
|
5e7f0e8849
|
Remove unneeded logging.
|
2021-04-08 02:25:24 +03:00 |
|
levlam
|
525f72263d
|
Delete old messages using set_dialog_max_unavailable_message_id when receive MessageChatDeleteHistory.
|
2021-04-08 02:19:14 +03:00 |
|
levlam
|
9ea4bc3476
|
Delete from database loaded messages in cleared history part.
|
2021-04-08 01:59:44 +03:00 |
|
levlam
|
94368950a6
|
Remove wrong CHECK. It is wrong to compare orders with different keep_active_date.
|
2021-04-08 01:23:04 +03:00 |
|
levlam
|
a0dcd2d9c2
|
Add optional source to have_dialog_force.
|
2021-04-08 00:51:32 +03:00 |
|
levlam
|
0a0c9a6f96
|
Add optional source to get_dialog_force.
|
2021-04-08 00:42:21 +03:00 |
|
levlam
|
5a7015b9fe
|
Improve CHECK messages.
|
2021-04-07 23:43:24 +03:00 |
|
levlam
|
ad17a75f28
|
Add source to add_new_dialog.
|
2021-04-07 23:35:09 +03:00 |
|
levlam
|
55662f5db6
|
Add CHECK debug.
|
2021-04-06 12:33:08 +03:00 |
|
levlam
|
268dd2cf12
|
Increase MessageUnsupported version.
|
2021-04-06 00:40:31 +03:00 |
|
levlam
|
35d6145d66
|
Drop loaded_all_participants if receive a group call participant in non-loaded part of the list.
|
2021-04-05 22:50:57 +03:00 |
|
levlam
|
2c154f5e4a
|
Add source to send_update_group_call_participant.
|
2021-04-05 22:39:38 +03:00 |
|
levlam
|
8b4410d2bf
|
Improve group call participant logging.
|
2021-04-05 22:24:10 +03:00 |
|
levlam
|
a54be3de0d
|
Improve logging.
|
2021-04-05 21:26:14 +03:00 |
|
levlam
|
c4eb613a7a
|
Always include self to participant count in joined calls.
|
2021-04-05 03:02:52 +03:00 |
|
levlam
|
514777aaf1
|
Fix infinite updates processing.
|
2021-04-05 02:27:13 +03:00 |
|
levlam
|
f51e7b5481
|
Fix handling of group call participant list with one participant.
|
2021-04-05 01:52:20 +03:00 |
|
levlam
|
9aef50a2ee
|
Fix GroupCallParticipantOrder::get_group_call_participant_order_object.
|
2021-04-05 01:19:08 +03:00 |
|
levlam
|
62a858807a
|
Drop loaded_all_participants if new user was added to the end of the list.
|
2021-04-05 01:14:45 +03:00 |
|
levlam
|
09859193b1
|
Add source to on_group_call_left_impl.
|
2021-04-05 00:33:21 +03:00 |
|
levlam
|
d3030445c5
|
Improve logging.
|
2021-04-04 23:31:08 +03:00 |
|
levlam
|
2246b81d6f
|
Immediately delete already deleted sent message instead of storing updateMessageID.
|
2021-04-04 23:23:08 +03:00 |
|
levlam
|
0b53ace8d0
|
Improve deletion of deleted being sent messages.
|
2021-04-04 22:59:56 +03:00 |
|
levlam
|
d44e9e5577
|
Add source to delete_dialog_messages.
|
2021-04-04 03:54:27 +03:00 |
|
levlam
|
8039660cfe
|
Reload objects from server if failed to resolve their dependencies.
|
2021-04-04 03:23:22 +03:00 |
|
levlam
|
6dfe45c03c
|
Fix unpinning of unknown chats.
|
2021-04-04 01:59:45 +03:00 |
|
levlam
|
84194768ae
|
Add check that chats aren't created before MessagesManager is inited.
|
2021-04-03 22:41:26 +03:00 |
|
levlam
|
5a885bd06d
|
Add more logging.
|
2021-04-03 02:46:56 +03:00 |
|
levlam
|
bee68243e8
|
Fix CHECK.
|
2021-04-03 02:19:30 +03:00 |
|
levlam
|
1bbcc01091
|
Fix MessagePaymentSuccessful storing.
|
2021-04-02 17:04:51 +03:00 |
|
levlam
|
5b6301c40c
|
Fix payments native provider data.
|
2021-04-01 21:53:23 +03:00 |
|
levlam
|
e75d8ccadc
|
Add check.
|
2021-04-01 21:27:40 +03:00 |
|
levlam
|
ffab6fe018
|
Remove top_thread_message_id from scheduled messages.
|
2021-04-01 21:10:25 +03:00 |
|
levlam
|
ea0280c589
|
Fix convert_address.
|
2021-03-31 17:51:51 +03:00 |
|
levlam
|
5508721497
|
Use add_message_dependencies to reliably find all dependent dialogs.
|
2021-03-31 16:17:25 +03:00 |
|
levlam
|
1bb13c0ab3
|
Remove unused parameter in add_message_dependencies.
|
2021-03-31 16:07:45 +03:00 |
|
levlam
|
b86a3fe227
|
Fix misprint.
|
2021-03-31 15:50:51 +03:00 |
|
levlam
|
b7e77765be
|
Fix accessing group call's leave_version.
|
2021-03-31 15:45:21 +03:00 |
|
levlam
|
13a80bc4e8
|
Use send_closure_later to avoid cycles in add_message_to_dialog.
|
2021-03-29 22:36:29 +03:00 |
|
levlam
|
955ce5f946
|
Improve error message.
|
2021-03-29 22:25:06 +03:00 |
|
levlam
|
290293766f
|
Improve error message.
|
2021-03-29 21:43:50 +03:00 |
|
levlam
|
224b560c83
|
Improve error message on access to a closed secret chat.
|
2021-03-29 21:26:31 +03:00 |
|
levlam
|
732193b346
|
Fix default last_new_message_id in secret chats, broken in 9948e41aed .
|
2021-03-29 20:52:59 +03:00 |
|
levlam
|
ad495c0d0c
|
Skip error logging for deleted bots.
|
2021-03-29 18:10:37 +03:00 |
|
levlam
|
079c9919d2
|
Parse push_receiver_id as int64.
|
2021-03-29 16:23:50 +03:00 |
|
levlam
|
c739df8507
|
Pass UserId instead of int32 when creating secret chat.
|
2021-03-29 11:57:26 +03:00 |
|
levlam
|
5de3751d8d
|
Use int64 for sender_user_id in message database.
|
2021-03-29 11:28:43 +03:00 |
|
levlam
|
b5655ddab6
|
Pass UserId to Contact::Contact.
|
2021-03-29 08:20:54 +03:00 |
|
levlam
|
f5ab187bb2
|
Use UserId in PrivacyManager.
|
2021-03-29 01:34:33 +03:00 |
|
levlam
|
4f644ce389
|
Add and use statis UserId::get_user_ids/get_input_user_ids methods.
|
2021-03-29 00:50:15 +03:00 |
|
levlam
|
4df03c8491
|
Clamp float numbers before conversion to integers.
|
2021-03-28 22:33:22 +03:00 |
|
levlam
|
fbc7e5a7f8
|
Don't update group call participant count by definitely already applied updates.
|
2021-03-28 05:34:58 +03:00 |
|
levlam
|
cc0d45a01c
|
Add groupCallParticipant.is_current_user field.
|
2021-03-28 04:41:32 +03:00 |
|
levlam
|
9936cdc320
|
Fix handling of speaking in group call chat actions.
|
2021-03-28 04:03:00 +03:00 |
|
levlam
|
307821eb31
|
Never treat closed secret chats as just created.
|
2021-03-28 03:46:45 +03: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
|
f7e9da283d
|
Expect that there can be no access to group call participant channels.
|
2021-03-28 01:59:17 +03:00 |
|
levlam
|
879fd3b7c0
|
Use add_message_sender_dependencies for default group call alias.
|
2021-03-28 01:55:39 +03:00 |
|
levlam
|
b84318fed4
|
Minor improvements.
|
2021-03-27 05:19:22 +03:00 |
|
levlam
|
66de95d93c
|
Fix compilation errors and formatting.
|
2021-03-26 18:52:45 +03:00 |
|
Arseny Smirnov
|
5c7b7d4c85
|
TD_EXPERIMENTAL_WATCH_OS cmake option
|
2021-03-26 18:04:25 +03:00 |
|
levlam
|
c6dec21cb6
|
Improve getExternalLinkInfo documentation.
|
2021-03-21 03:13:43 +03:00 |
|
levlam
|
f0e7b211c3
|
Use case-insensitive comparison for short mention entities.
|
2021-03-20 22:57:34 +03:00 |
|
levlam
|
70b71d569b
|
Use AccessRights::Know when edit channel participants.
|
2021-03-19 23:41:19 +03:00 |
|
levlam
|
302e5940d4
|
Update version to 1.7.3.
|
2021-03-19 15:30:40 +03:00 |
|
levlam
|
2f2d2004e6
|
Create Dialog for recently speaking channels.
|
2021-03-19 04:28:00 +03:00 |
|
levlam
|
78f5b24f35
|
Synchronize group call participant_count with known number of participants.
|
2021-03-19 04:02:53 +03:00 |
|
levlam
|
cebcdbd88b
|
Automatically call update_group_call_dialog in set_group_call_participant_count.
|
2021-03-19 03:30:39 +03:00 |
|
levlam
|
af7e26bc49
|
Try to process versioned updates with old version.
|
2021-03-19 02:51:50 +03:00 |
|
levlam
|
6656cd29f9
|
Add version to GroupCallParticipant.
|
2021-03-19 02:44:20 +03:00 |
|
levlam
|
b6f900b74f
|
Process mute updates as soon as possible.
|
2021-03-19 02:25:54 +03:00 |
|
levlam
|
f670aeb2b3
|
Simplify mute_updates processing.
|
2021-03-19 02:20:22 +03:00 |
|
levlam
|
12a755d921
|
Don't ignore update about ended group call if group call is being joined.
|
2021-03-19 01:28:18 +03:00 |
|
levlam
|
81f20ae4ec
|
Ignore FLOOD_WAIT errors got getGroupCallStreamSegment.
|
2021-03-19 01:24:57 +03:00 |
|
levlam
|
a6337c2d37
|
Improve logging.
|
2021-03-19 00:41:35 +03:00 |
|
levlam
|
ea5a7bade7
|
Add set_group_call_participant_count method.
|
2021-03-19 00:18:55 +03:00 |
|
levlam
|
35250a91bd
|
Keep active date while adjusting min-order.
|
2021-03-19 00:03:34 +03:00 |
|
levlam
|
504ecbeed7
|
Fix group call participant count by updates.
|
2021-03-18 23:31:49 +03:00 |
|
levlam
|
93ae3dc2f6
|
Improve logging.
|
2021-03-18 23:18:16 +03:00 |
|
levlam
|
0a23e2bd7b
|
Fix CHECK.
|
2021-03-18 22:55:15 +03:00 |
|
levlam
|
110a68c764
|
Try to get information about min-participants from server.
|
2021-03-18 22:36:59 +03:00 |
|
levlam
|
fee3ca166b
|
Apply prepended my_participant.
|
2021-03-18 22:03:14 +03:00 |
|
levlam
|
25e5c0bac2
|
Combine versioned updates with the same version instead of replacing.
|
2021-03-18 03:21:43 +03:00 |
|
levlam
|
e072f2ffa2
|
Add struct PendingUpdates.
|
2021-03-18 03:12:52 +03:00 |
|
levlam
|
b833d23e41
|
Support ascending by joined_date sort of group call participants.
|
2021-03-18 02:36:31 +03:00 |
|
levlam
|
1139470bba
|
Pass GroupCallParticipants to get_real_participant_order.
|
2021-03-17 19:56:00 +03:00 |
|
levlam
|
ccc9920399
|
Don't create Dialog for unknown min-participants.
|
2021-03-17 15:26:36 +03:00 |
|
levlam
|
ca6ece6707
|
Improve getGroupCallStreamSegment.
|
2021-03-17 14:30:51 +03:00 |
|
levlam
|
7e45fc3949
|
Add more close_flag checks.
|
2021-03-17 03:28:07 +03:00 |
|
levlam
|
2162fd6264
|
Postpone checkGroupCall after receiving a stream segment.
|
2021-03-17 03:16:34 +03:00 |
|
levlam
|
23b781834e
|
Fix updating recent speakers in joined as chats voice chats.
|
2021-03-17 02:56:33 +03:00 |
|
levlam
|
93a2cf0556
|
Fix updating participant_id_to_group_call_id_.
|
2021-03-16 23:23:05 +03:00 |
|
levlam
|
2e447b3cea
|
Don't process after_join requets if need rejoin.
|
2021-03-16 18:15:10 +03:00 |
|
levlam
|
c67a8cc5f9
|
Unify variable names and ensure that groupCallParticipant's chat is created.
|
2021-03-16 18:07:17 +03:00 |
|
levlam
|
582f033a09
|
Update limit for group call recording titlw length.
|
2021-03-16 17:20:53 +03:00 |
|
levlam
|
3bcf4bb61a
|
Get group call from the server before first usage if appropriate.
|
2021-03-16 17:17:00 +03:00 |
|
levlam
|
62c9890bcf
|
Support url_auth_domains.
|
2021-03-16 01:29:54 +03:00 |
|
levlam
|
54b9760935
|
Improve getExternalLink methods.
|
2021-03-16 00:52:37 +03:00 |
|
levlam
|
eb7a1286ab
|
Automatically update order of inactive group call participants.
|
2021-03-15 22:04:11 +03:00 |
|
levlam
|
24535d2aba
|
Support different order of group call participants for administrators.
|
2021-03-15 19:32:33 +03:00 |
|
levlam
|
0a4f1c15b8
|
Ensure that group call participant is synchronized after explicit request.
|
2021-03-15 19:20:57 +03:00 |
|
levlam
|
b0aa14c031
|
Improve get_real_participant_order.
|
2021-03-15 18:58:31 +03:00 |
|
levlam
|
7987912230
|
Use string as groupCallParticipant.order.
|
2021-03-15 18:53:51 +03:00 |
|
levlam
|
be68cda22f
|
Add class GroupCallParticipantOrder.
|
2021-03-15 18:32:28 +03:00 |
|
levlam
|
ff3600b762
|
Sync group call participants after rights changed.
|
2021-03-15 17:48:18 +03:00 |
|
levlam
|
95391dc705
|
Improve logging.
|
2021-03-15 16:42:03 +03:00 |
|
levlam
|
ffc07304a9
|
Improve searchMessages documentation.
|
2021-03-15 15:17:23 +03:00 |
|
levlam
|
0339921102
|
Improve some spelling.
|
2021-03-15 03:32:14 +03:00 |
|
levlam
|
b9f7668b07
|
Allow to always get self group call participant by user_id.
|
2021-03-15 02:15:01 +03:00 |
|
levlam
|
42911b9122
|
Add source to process_group_call_after_join_requests.
|
2021-03-15 02:03:52 +03:00 |
|
levlam
|
e2ac80f2ba
|
Add td_api::toggleGroupCallParticipantIsHandRaised.
|
2021-03-15 01:56:59 +03:00 |
|
levlam
|
a4431b2604
|
Don't allow to show as speaking muted by admin participants.
|
2021-03-14 04:33:51 +03:00 |
|
levlam
|
4d754052e0
|
Fix getGroupCallStreamSegment.
|
2021-03-13 16:50:11 +03:00 |
|
levlam
|
92b384f3f4
|
Update group call title length limit.
|
2021-03-13 02:49:40 +03:00 |
|
levlam
|
9ac71272a3
|
Support joining group call as a stream listener.
|
2021-03-12 20:11:44 +03:00 |
|
levlam
|
a833d5e292
|
Improve method name.
|
2021-03-12 19:31:52 +03:00 |
|
levlam
|
0ec4c2084e
|
Add td_api::getGroupCallInviteLink.
|
2021-03-12 19:29:06 +03:00 |
|
levlam
|
73bed3ed80
|
Add resetGroupCallInviteHash method.
|
2021-03-12 18:58:43 +03:00 |
|
levlam
|
9bfd98c08d
|
Add joinGroupCall.invite_hash.
|
2021-03-12 18:36:55 +03:00 |
|