levlam
|
5bd0c2c46d
|
Update version to 1.7.4.
|
2021-04-14 15:20:44 +03:00 |
|
levlam
|
b262ec809f
|
Don't get group calls from the server by bots.
|
2021-04-14 14:59:22 +03:00 |
|
levlam
|
3c81a4efef
|
Fix reply_to_message_id in service messages.
|
2021-04-14 14:54:09 +03:00 |
|
levlam
|
6b0637f402
|
Disallow messageInvoice copying.
|
2021-04-13 17:40:09 +03:00 |
|
levlam
|
a78fe2dfe5
|
Don't drop recently valid auth keys.
|
2021-04-13 16:52:41 +03:00 |
|
levlam
|
f8d6d0ecd3
|
Improve suggested_tip_amounts checks.
|
2021-04-13 16:23:18 +03:00 |
|
levlam
|
7e9818f5c1
|
Remove invoices and games from inline query results in unallowed chats.
|
2021-04-13 03:32:57 +03:00 |
|
levlam
|
20096b3bb1
|
Add check that invoice message has Pay button.
|
2021-04-13 03:05:02 +03:00 |
|
levlam
|
7dbe720fdc
|
Move can_send_message_content to MessageContent.cpp.
|
2021-04-13 02:59:33 +03:00 |
|
levlam
|
025bd370c6
|
Disallow joined_date == 0 for non-leaving group call participants.
|
2021-04-13 02:33:02 +03:00 |
|
levlam
|
b7d993c477
|
Remove groupCall.can_self_unmute in favor of groupCallParticipant fields.
|
2021-04-13 01:58:40 +03:00 |
|
levlam
|
2ddeead75f
|
Save expected active group call ID.
|
2021-04-12 02:49:28 +03:00 |
|
levlam
|
47a7bc05e2
|
Use service messages to synchronize active group call state.
|
2021-04-11 05:37:53 +03:00 |
|
levlam
|
4b212b0728
|
Restore correct can_* flags after failed mute/unmute.
|
2021-04-11 03:39:30 +03:00 |
|
levlam
|
c87acefd56
|
Use correct group call participant ID for self.
|
2021-04-11 02:37:01 +03:00 |
|
levlam
|
a54fa0909b
|
Improve updates on group call leaving.
|
2021-04-09 18:50:07 +03:00 |
|
levlam
|
3786033316
|
Add minithumbnails to userProfilePhoto and chatPhotoInfo.
|
2021-04-09 17:01:58 +03:00 |
|
levlam
|
969b52cc82
|
Minor improvements.
|
2021-04-09 02:35:50 +03:00 |
|
levlam
|
441dd127b3
|
Set alpha channel in payment form theme.
|
2021-04-08 16:13:21 +03:00 |
|
levlam
|
fbb15a9925
|
Remove invoice_chat_id/invoice_message_id from messagePaymentSuccessfulBot, because they are incompatible with inline mode.
|
2021-04-07 22:58:40 +03:00 |
|
levlam
|
5d5f950d2b
|
Support themes in getPaymentForm.
|
2021-04-07 22:49:09 +03:00 |
|
levlam
|
37cee0d823
|
Add td_api::setVoiceChatDefaultParticipant.
|
2021-04-07 16:25:29 +03:00 |
|
levlam
|
4aa5df26bc
|
Use participant_id instead of participant/participant_alias for group call participant identifiers.
|
2021-04-07 03:30:26 +03:00 |
|
levlam
|
10bc074a1e
|
Support subscription to group call start notification.
|
2021-04-07 03:04:56 +03:00 |
|
levlam
|
a7c34c5c49
|
Add td_api::startScheduledGroupCall.
|
2021-04-07 02:11:14 +03:00 |
|
levlam
|
ef93bde7a2
|
Allow to send inputMessageInvoice without start_parameter.
|
2021-04-07 01:43:47 +03:00 |
|
levlam
|
49fecf40e6
|
Add groupCall.scheduled_start_date.
|
2021-04-06 12:08:47 +03:00 |
|
levlam
|
2241058f85
|
Allow to create scheduled voice chats.
|
2021-04-06 02:54:55 +03:00 |
|
levlam
|
02fe7e47e6
|
Allow to specify title of created voice chats.
|
2021-04-06 02:13:57 +03:00 |
|
levlam
|
47066bbffb
|
Take into account raised hands when sorting group call participants for non-muted users.
|
2021-04-06 01:48:41 +03:00 |
|
levlam
|
b9faeb92d0
|
Add seller and provider IDs to td_api::paymentForm.
|
2021-04-06 01:16:57 +03:00 |
|
levlam
|
5d0561ff7a
|
Improve payment receipt.
|
2021-04-06 01:00:31 +03:00 |
|
levlam
|
bb1b82731e
|
Add messageVoiceChatScheduled.
|
2021-04-06 00:24:05 +03:00 |
|
levlam
|
3f1e91e7f4
|
Support invoice receipts in another chats.
|
2021-03-31 15:36:25 +03:00 |
|
levlam
|
9700529085
|
Remove payments proxy methods from MessagesManager.
|
2021-03-31 04:15:02 +03:00 |
|
levlam
|
3ac49bc8b1
|
Pass Td to all payments method.
|
2021-03-31 03:18:00 +03:00 |
|
levlam
|
6cf3755707
|
Improve get_input_bot_inline_message_media_* functions.
|
2021-03-31 02:54:29 +03:00 |
|
levlam
|
aa65e2b586
|
Allow to send invoice messages in all chat types.
|
2021-03-31 02:45:10 +03:00 |
|
levlam
|
32a5fc6855
|
Support sending messageInvoice via inline mode.
|
2021-03-31 02:38:16 +03:00 |
|
levlam
|
d7afe3d3e2
|
Simplify variable names in create_inline_message_content.
|
2021-03-31 02:02:53 +03:00 |
|
levlam
|
2379735d9b
|
Support sending Invoice as result of any inline query.
|
2021-03-31 01:55:12 +03:00 |
|
levlam
|
b9bc86fb5a
|
Add class InputInvoice.
|
2021-03-31 01:20:40 +03:00 |
|
levlam
|
f1b949456b
|
Support tip sending.
|
2021-03-30 18:45:22 +03:00 |
|
levlam
|
c3ff8539db
|
Support tip amount in Invoice.
|
2021-03-30 18:05:20 +03:00 |
|
levlam
|
17e8860855
|
Add paymentForm.id.
|
2021-03-30 17:18:08 +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 |
|
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
|
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
|
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 |
|
levlam
|
0fb6c52cd4
|
Support toggling group call recording.
|
2021-03-11 22:19:19 +03:00 |
|
levlam
|
92218450c5
|
Add groupCall.record_duration.
|
2021-03-11 00:55:08 +03:00 |
|
levlam
|
a6544e3068
|
Use separate versions for different groupCall fields.
|
2021-03-10 23:43:21 +03:00 |
|
levlam
|
67889cdcbc
|
Add td_api::getGroupCallStreamSegment.
|
2021-03-10 22:50:14 +03:00 |
|
levlam
|
cd2fbc19e6
|
Save group call's stream_dc_id.
|
2021-03-09 18:12:15 +03:00 |
|
levlam
|
62cfe3bdd9
|
Add td_api::getAvailableVoiceChatAliases.
|
2021-03-08 20:25:56 +03:00 |
|
levlam
|
574884510b
|
Use MessageSender as participant_alias.
|
2021-03-08 18:08:41 +03:00 |
|
levlam
|
f24ca02f37
|
Add td_api::voiceChat class.
|
2021-03-08 17:00:39 +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
|
caa1db85ab
|
Prevent race in updating of joined voice chat.
|
2021-03-07 02:21:08 +03:00 |
|
levlam
|
dd4aac2f57
|
Init bio in fake updateGroupCallParticipant when joining call.
|
2021-03-07 01:54:45 +03:00 |
|
levlam
|
0615d1f61d
|
Prevent voice chat data updating during join.
|
2021-03-07 01:06:51 +03:00 |
|
levlam
|
c611553ece
|
Allow to join group call as a chat.
|
2021-03-06 23:21:22 +03:00 |
|
levlam
|
7a19e5dbe5
|
Support voice chat creation in channels.
|
2021-03-06 02:26:13 +03:00 |
|
levlam
|
16ab28f230
|
Allow to send speaking actions in read-only chats.
|
2021-03-05 20:06:37 +03:00 |
|
levlam
|
8ede5f736f
|
Support speaking typings by chats.
|
2021-03-05 18:49:02 +03:00 |
|
levlam
|
5e5aa95060
|
Add groupCallParticipant.is_hand_raised.
|
2021-03-05 16:44:43 +03:00 |
|
levlam
|
3bac31cc16
|
Allow to edit chat group call participants.
|
2021-03-05 16:03:49 +03:00 |
|
levlam
|
3d08e0e18f
|
Add groupCallParticipant.bio.
|
2021-03-05 15:27:52 +03:00 |
|
levlam
|
a93189dade
|
Support chats as group call participants.
|
2021-03-05 14:40:54 +03:00 |
|
levlam
|
af3070d572
|
Improve self-check.
|
2021-03-05 13:43:21 +03:00 |
|
levlam
|
e660e12a61
|
Pass Td to get_group_call_participant_object.
|
2021-03-05 12:50:39 +03:00 |
|
levlam
|
48eaccdf60
|
Add flag GroupCallParticipant.is_self.
|
2021-03-05 12:39:57 +03:00 |
|
levlam
|
13319350d3
|
Support zero audio_source.
|
2021-03-05 11:36:44 +03:00 |
|
levlam
|
882d837d24
|
Add td_api::setGroupCallTitle.
|
2021-03-02 19:44:57 +03:00 |
|
levlam
|
1f4e7aeb61
|
Add groupCall.title.
|
2021-03-02 18:00:54 +03:00 |
|
levlam
|
bcf3643cf7
|
Update layer to 125.
|
2021-03-02 17:27:44 +03:00 |
|
levlam
|
58d9f668c1
|
Improve schedule_get_difference logging.
|
2021-03-14 05:19:07 +03:00 |
|
levlam
|
76dce207b3
|
Force getDifference after receiving an update with incorrect qts.
|
2021-03-14 05:08:37 +03:00 |
|
levlam
|
92d8d1b9fd
|
Improve log messages.
|
2021-03-09 01:06:38 +03:00 |
|
levlam
|
45b21b1f33
|
Improve log messages.
|
2021-03-08 22:56:05 +03:00 |
|
levlam
|
2b090918c2
|
Fix handling of errors in CallActor::send_call_signaling_data.
|
2021-03-05 02:47:27 +03:00 |
|
levlam
|
1c3290bada
|
Fix warning.
|
2021-03-04 15:10:58 +03:00 |
|
levlam
|
b88f5ba6f3
|
Fix banChatMember for bots.
|
2021-03-03 19:30:33 +03:00 |
|
levlam
|
0c409cb79e
|
Ignore minithumbnails for JPEG sticker thumbnails.
|
2021-03-03 16:33:17 +03:00 |
|
levlam
|
b1da98faeb
|
Fix possible integer overflow.
|
2021-03-03 15:10:00 +03:00 |
|
levlam
|
720a64962e
|
Improve sticker thumbnail format detection.
|
2021-03-02 04:50:14 +03:00 |
|
levlam
|
fe6fe481f6
|
Add document ID to SVG path warnings.
|
2021-03-02 04:48:02 +03:00 |
|
levlam
|
f06ea1bab3
|
Improve sticker thumbnail format detection.
|
2021-03-02 04:40:10 +03:00 |
|
levlam
|
dd80b0ef25
|
Add Td::set_is_bot_online function.
|
2021-03-02 04:06:02 +03:00 |
|
levlam
|
1f01a40521
|
Bring bots offline if there are no updates for 5 minutes.
|
2021-03-02 01:20:45 +03:00 |
|
levlam
|
a36f020084
|
Improve StickersManager::has_webp_thumbnail.
|
2021-03-01 23:48:48 +03:00 |
|
levlam
|
8430ba6d19
|
Remove expect_jpeg_minithumbnail parameter from get_photo_size.
|
2021-03-01 23:29:55 +03:00 |
|
levlam
|
1d9b817c9f
|
Remove updateGroupCall logging for bots.
|
2021-03-01 04:24:05 +03:00 |
|
levlam
|
2bc3d7424b
|
Improve logging of unsupported SVG paths.
|
2021-03-01 04:19:50 +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
|
3b3801abbe
|
Update layer 124.
|
2021-02-25 21:09:13 +03:00 |
|
levlam
|
b348e4e1bc
|
Update version to 1.7.2.
|
2021-02-25 16:09:55 +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
|
37adbece28
|
Allow to join already joined group call.
|
2021-02-24 14:58:02 +03:00 |
|
levlam
|
2dd85f92d8
|
Rename permanent invite links to primary invite links.
|
2021-02-24 12:19:55 +03:00 |
|
levlam
|
11bbb5bfad
|
tg_cli: add updateNewMessage processing in test DC.
|
2021-02-24 11:24:48 +03:00 |
|
levlam
|
eafdf2ebed
|
Add td_api::getMessageImportConfirmationText.
|
2021-02-23 02:03:24 +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
|
e19f59662e
|
Move functions for handling suggested actions to SuggestedActions.cpp.
|
2021-02-22 18:25:49 +03:00 |
|
levlam
|
b67bafb23c
|
Add td_api::suggestedActionConvertToBroadcastGroup.
|
2021-02-22 18:06:18 +03:00 |
|
levlam
|
a14c9071f1
|
Use struct for SuggestedAction.
|
2021-02-21 01:06:45 +03:00 |
|
levlam
|
a41bca4b0e
|
Move get_update_suggested_actions_object to SuggestedAction.cpp.
|
2021-02-21 00:21:14 +03:00 |
|
levlam
|
c07a1dac22
|
Unify UserFull/ChatFull/ChannelFull variable names.
|
2021-02-20 22:20:02 +03:00 |
|
levlam
|
6bbc251cb5
|
tg_cli: treat strings as usernames.
|
2021-02-20 22:01:12 +03:00 |
|
levlam
|
16913bff03
|
Improve date changed warning.
|
2021-02-20 21:32:07 +03:00 |
|
levlam
|
65e7a271a2
|
Add variables for old/new content type.
|
2021-02-20 21:21:06 +03:00 |
|
levlam
|
de71870e83
|
Repair file_reference in reportChatPhoto.
|
2021-02-20 21:06:58 +03:00 |
|
levlam
|
c67a0d9d7b
|
Add class ReportReason.
|
2021-02-20 03:55:09 +03:00 |
|
levlam
|
3774b13ca1
|
Add td_api::reportChatPhoto.
|
2021-02-19 19:11:27 +03:00 |
|
levlam
|
2e943a6c85
|
Fix misprint.
|
2021-02-19 16:37:44 +03:00 |
|
levlam
|
ada09fecee
|
Add can_manage_chat administrator privilege.
|
2021-02-19 15:58:14 +03:00 |
|
levlam
|
60e45f6457
|
Fix processing of qts updates.
|
2021-02-19 14:43:16 +03:00 |
|
levlam
|
ce80a2f12f
|
Improve qts gap debug.
|
2021-02-19 14:12:50 +03:00 |
|
levlam
|
62a4c0c58d
|
Add updateChatMember.
|
2021-02-19 13:57:46 +03:00 |
|
levlam
|
d765c58d86
|
tg_cli: improve variable name.
|
2021-02-19 13:13:39 +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
|
b9b6b05bae
|
Don't allow changing auto-delete in Saved Messages and 777000.
|
2021-02-18 22:14:10 +03:00 |
|
levlam
|
7eb751083c
|
Add can_inite_users right check just in case.
|
2021-02-18 16:24:22 +03:00 |
|
levlam
|
998d022b2d
|
Add td_api::chatEventVoiceChatParticipantVolumeLevelChanged.
|
2021-02-18 13:47:33 +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
|
79d2929584
|
support ttl_period for service messages.
|
2021-02-16 15:26:52 +03:00 |
|
levlam
|
f92339de85
|
Support telegram_api::messageActionSetMessagesTTL.
|
2021-02-16 15:15:45 +03:00 |
|
levlam
|
65d4229352
|
Allow to specify report text for all report chat reasons.
|
2021-02-12 20:14:59 +03:00 |
|
levlam
|
c1a14d887b
|
Don't send updateDeleteMessage twice for the same message.
|
2021-02-10 14:36:33 +03:00 |
|
levlam
|
d6da217b9a
|
Allow changing message TTL in non-secret chats.
|
2021-02-09 18:51:08 +03:00 |
|
levlam
|
5ac0a9bd8a
|
Add chatEventMessageTtlSettingChanged.
|
2021-02-09 18:10:20 +03:00 |
|
levlam
|
4423ccbde2
|
Add invite_link_changes filter for chat event log.
|
2021-02-09 17:59:57 +03:00 |
|
levlam
|
54b7b0f6e3
|
Return message ttl for ordinary self-destructing messages.
|
2021-02-09 17:51:20 +03:00 |
|
levlam
|
cc50f3b143
|
Support receiving message TTL setting for all chat types.
|
2021-02-09 17:35:48 +03:00 |
|
levlam
|
2913b7288b
|
Add MessageTtlSetting class.
|
2021-02-09 16:05:00 +03:00 |
|
levlam
|
876932843a
|
Support automatic deletion of messages by ttl_period.
|
2021-02-08 23:41:17 +03:00 |
|
levlam
|
bf42d62f1e
|
Unify ResultHandler subclass names and logged name.
|
2021-02-08 15:56:08 +03:00 |
|
levlam
|
c226a204fa
|
Diallow invite link deletion for bots.
|
2021-02-08 15:34:05 +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
|
313a58b952
|
Replace td_api::sendChatSetTtlMessage with td_api::setChatMessageTtl.
|
2021-02-05 14:21:16 +03:00 |
|
levlam
|
9d9e093640
|
Remove inviteLink.is_expired field.
|
2021-02-05 03:04:16 +03:00 |
|
levlam
|
fef8bd151c
|
Support some new chat events.
|
2021-02-05 02:54:34 +03:00 |
|
levlam
|
342b4e45ca
|
Support deletion of all revoked invite links created by other administrator.
|
2021-02-05 02:17:12 +03:00 |
|
levlam
|
4d8fad1e81
|
Use httpUrl as return type of getProxyLink.
|
2021-02-05 01:46:55 +03:00 |
|
levlam
|
45dfb58cc5
|
Save autologin domains between restarts.
|
2021-02-05 01:40:53 +03:00 |
|
levlam
|
2193928cf6
|
Add getExternalLink method.
|
2021-02-04 14:36:11 +03:00 |
|
levlam
|
1403815148
|
Support t.me/+ links.
|
2021-02-03 22:35:43 +03:00 |
|
levlam
|
f2f68aa3b3
|
Add td_api::getChatInviteLinkCounts.
|
2021-02-02 19:23:45 +03:00 |
|
levlam
|
0cdb0388ee
|
Improve TTL spelling.
|
2021-02-02 02:33:48 +03:00 |
|
levlam
|
642a9a9efb
|
Update layer to 124.
|
2021-02-02 02:00:28 +03:00 |
|
levlam
|
4b2db994d0
|
Postpone group call actions till join if possible.
|
2021-02-16 13:08:58 +03:00 |
|
levlam
|
d84aa0927f
|
Don't add self-participant before join group call if don't have self-user info.
|
2021-02-15 23:16:39 +03:00 |
|
levlam
|
70ee36a493
|
Improve join_group_call.
|
2021-02-15 23:00:30 +03:00 |
|
levlam
|
f9ef4c0c36
|
Don't rejoin voice chats in left basic groups.
|
2021-02-15 19:27:45 +03:00 |
|
levlam
|
aa2f645d74
|
Simplify get_group_call_participant usage.
|
2021-02-15 18:18:34 +03:00 |
|
levlam
|
5f54e72444
|
Process toggleGroupCallMuteNewParticipants immediately and sync in background.
|
2021-02-15 18:12:50 +03:00 |
|
levlam
|
70b81f81d4
|
Drop pending groupCallParticipant fields in case of an error.
|
2021-02-15 16:06:07 +03:00 |
|
levlam
|
4f41d58c50
|
Don't treat GROUPCALL_NOT_MODIFIED as an error.
|
2021-02-15 15:37:36 +03:00 |
|
levlam
|
d519040cd9
|
Make flag in td_api::groupCall more useful.
|
2021-02-15 15:28:58 +03:00 |
|
levlam
|
c8157edf57
|
Don't save message file source IDs for bots.
|
2021-02-14 01:35:40 +03:00 |
|
levlam
|
578b8a4dec
|
Minor performance improvements.
|
2021-02-14 01:25:17 +03:00 |
|
levlam
|
65b381f7fd
|
Add fast path in fix_formatted_text.
|
2021-02-13 22:45:11 +03:00 |
|
levlam
|
025cb9b6a4
|
Don't create request promise early.
|
2021-02-13 21:49:24 +03:00 |
|
levlam
|
3a657d9072
|
Fix need_rejoin.
|
2021-02-12 17:49:20 +03:00 |
|
levlam
|
155d83c58f
|
Support top-level comments in SplitSource.php.
|
2021-02-12 17:27:07 +03:00 |
|
levlam
|
22289fe68b
|
Move struct definition back to header to fix SplitSource-build.
|
2021-02-12 16:53:40 +03:00 |
|
levlam
|
f21e315456
|
Remove need_rejoin for inaccessible voice chats.
|
2021-02-12 16:48:14 +03:00 |
|
levlam
|
ba91f7f6ce
|
Don't send speaking typings more often than once in 4 seconds.
|
2021-02-12 16:48:14 +03:00 |
|
levlam
|
18bbb47ecd
|
Fix groupCall version updating and dropping.
|
2021-02-12 16:48:13 +03:00 |
|
levlam
|
ca64ad144a
|
Immediately send updateGroupCallParticipant when is_muted changes.
|
2021-02-12 16:48:13 +03:00 |
|
levlam
|
1412e83363
|
Immrove groupCallParticipant mute-related flags.
|
2021-02-12 16:48:13 +03:00 |
|
levlam
|
631dde0939
|
Simpify handling of groupCallParticipant.is_muted flags.
|
2021-02-12 16:48:13 +03:00 |
|
levlam
|
1c52ee815e
|
Improve groupCall.can_unmute_self synchronization.
|
2021-02-12 16:48:13 +03:00 |
|
levlam
|
e7a686cc96
|
Immediately change is_joined state to false after leaveGroupCall.
|
2021-02-12 16:48:13 +03:00 |
|
levlam
|
a80f99f5b8
|
Allow to leave being joined calls.
|
2021-02-12 16:48:13 +03:00 |
|
levlam
|
9554a42cd3
|
Add cancel_join_group_call_request function.
|
2021-02-12 16:48:13 +03:00 |
|
levlam
|
7ef5772861
|
Add self to group call participant list before actual join.
|
2021-02-12 16:48:13 +03:00 |
|
levlam
|
4a60fb10e8
|
Always update recent_speakers, because is_speaking could be changed.
|
2021-02-10 15:48:06 +03:00 |
|
levlam
|
b767414fc1
|
Resave dialog if last message can't be added.
|
2021-02-10 15:25:18 +03:00 |
|
levlam
|
bfeb516bf0
|
Add secret chat layer 123.
|
2021-02-06 23:29:01 +03:00 |
|
levlam
|
f5b04a5701
|
Improve condition for updating self in a group call
|
2021-02-04 22:45:02 +03:00 |
|
levlam
|
23b8c9073b
|
Always update self group call participant if audio_source changes.
|
2021-02-04 17:28:19 +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
|
e031a2c6c1
|
Improve Slice::truncate usage.
|
2021-02-04 15:54:12 +03:00 |
|
levlam
|
b07a9efb2e
|
Disable SFTP link highlighting.
|
2021-02-03 21:08:01 +03:00 |
|
levlam
|
8146ecf950
|
Don't expect local volume_level for admins.
|
2021-02-03 20:12:17 +03:00 |
|
levlam
|
be6793ec07
|
Always add self to group call participant list if absent.
|
2021-02-03 19:55:33 +03:00 |
|
levlam
|
9f2b41b9d1
|
Allow to call leaveGroupCall for calls with need_rejoin.
|
2021-02-03 19:05:46 +03:00 |
|
levlam
|
630f0fe6df
|
Always show self in list of group call participants.
|
2021-02-03 18:58:06 +03:00 |
|
levlam
|
4371ed52af
|
Don't drop group call participants while need to rejoin.
|
2021-02-03 17:55:08 +03:00 |
|
levlam
|
778a45029e
|
Ignore min-updates about unknown group call participants.
|
2021-02-02 01:29:02 +03:00 |
|
levlam
|
c05ece2cb5
|
Add GroupCallParticipant::update_from method.
|
2021-02-02 01:06:49 +03:00 |
|
levlam
|
658db2defd
|
Update volume_level locally immediately.
|
2021-02-02 00:40:40 +03:00 |
|
levlam
|
1f1d1b442b
|
Fix updating of is_muted_only_for_self by min-updates.
|
2021-02-01 22:40:42 +03:00 |
|
levlam
|
dfdc08162e
|
Fix updating of volume_level by min-updates.
|
2021-02-01 22:29:45 +03:00 |
|
levlam
|
e3cb608293
|
Remove was_auth flag.
|
2021-02-01 15:07:10 +03:00 |
|
levlam
|
90b34e7d0c
|
Remove authorization loss logic from DcAuthManager, because we can be logged before entering password and before authorization.
|
2021-02-01 14:51:38 +03:00 |
|
levlam
|
ad0c5e6783
|
Minor improvements.
|
2021-02-01 13:41:20 +03:00 |
|
levlam
|
c6466caee2
|
Add logging on long pts gap filling.
|
2021-02-01 13:06:38 +03:00 |
|
levlam
|
a29f4b43d4
|
Load even known group call participant after receiving typing from them.
|
2021-02-01 03:03:17 +03:00 |
|
levlam
|
41f6003b09
|
Fix supergroupMembersFilterMention with non-zero thread.
|
2021-01-31 20:46:51 +03:00 |
|
levlam
|
a6a6237a3f
|
Split need_group_call_participants into two functions.
|
2021-01-30 23:52:16 +03:00 |
|
levlam
|
312e3b740a
|
Update version to 1.7.1.
|
2021-01-28 22:18:33 +03:00 |
|
levlam
|
f0355b42c4
|
Disable notifications for importe messages.
|
2021-01-28 22:12:55 +03:00 |
|
levlam
|
9e37c85af3
|
Minor improvements.
|
2021-01-27 02:57:59 +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
|
d648ce0b69
|
Remove chatActionImportingMessages.
|
2021-01-26 03:13:09 +03:00 |
|
levlam
|
ef59e47807
|
Fix uploadImportedMedia.
|
2021-01-26 02:55:48 +03:00 |
|
levlam
|
15fe7f7a04
|
Rename suggested_name to suggested_path.
|
2021-01-26 02:39:48 +03:00 |
|
levlam
|
0b868c0aad
|
Add chatActionBarInviteMembers.
|
2021-01-26 02:22:35 +03:00 |
|
levlam
|
f77adeb28c
|
Update layer 123.
|
2021-01-26 02:00:12 +03:00 |
|
levlam
|
60b76e89aa
|
Allow import messages with can_change_info administrator right.
|
2021-01-22 23:45:39 +03:00 |
|
levlam
|
6ddce1dd7a
|
Add name to messageFileTypePrivate.
|
2021-01-22 22:42:32 +03:00 |
|
levlam
|
e584eccc65
|
Add createNewSupergroupChat.for_import.
|
2021-01-22 19:23:44 +03:00 |
|
levlam
|
1159323ecc
|
Add getMessageFileType method.
|
2021-01-22 19:14:35 +03:00 |
|
levlam
|
bff723436a
|
Upload inported messages as small files.
|
2021-01-22 18:13:38 +03:00 |
|
levlam
|
f307200ddc
|
Support attachment upload in importMessages.
|
2021-01-22 17:09:08 +03:00 |
|
levlam
|
6f38576467
|
Add FileManager::guess_file_type.
|
2021-01-22 15:17:56 +03:00 |
|
levlam
|
b8d8f18b91
|
Add chatReportReasonFake.
|
2021-01-22 00:55:42 +03:00 |
|
levlam
|
516f9cb9ce
|
Add importMessages method.
|
2021-01-21 22:00:08 +03:00 |
|
levlam
|
01f613f7bf
|
Add user/supergroup.is_fake.
|
2021-01-21 13:40:22 +03:00 |
|
levlam
|
ebb453c952
|
Add messageForwardOriginMessageImport.
|
2021-01-21 12:49:05 +03:00 |
|
levlam
|
b54554c79e
|
Add chatActionImportingMessages.
|
2021-01-21 01:50:21 +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
|
613caeb444
|
Add source to send_get_dialog_query.
|
2021-01-20 15:02:45 +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
|
4fa29ab1b8
|
Add deleteAllCallMessages method.
|
2021-01-19 13:21:50 +03:00 |
|
levlam
|
3ff68546ab
|
Add separate td_api::replacePermanentChatInviteLink method.
|
2021-01-18 23:04:56 +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 |
|
levlam
|
93645ca29d
|
Add td_api::deleteRevokedChatInviteLink.
|
2021-01-18 19:51:46 +03:00 |
|
levlam
|
d52c676912
|
Add getChatInviteLinks.is_revoked.
|
2021-01-18 19:32:53 +03:00 |
|
levlam
|
091d08b6a9
|
Improve encryptedChatDiscarded handling.
|
2021-01-18 19:02:24 +03:00 |
|
levlam
|
cc8c0cbe64
|
Support delete_history flag in messages.discardEncryption.
|
2021-01-18 15:04:31 +03:00 |
|
levlam
|
a2c1a695d2
|
Add edit date to information about chat invite links.
|
2021-01-17 23:24:48 +03:00 |
|
levlam
|
65bf9ad604
|
Improve field names and documentation.
|
2021-01-17 23:07:17 +03:00 |
|
levlam
|
ea70b5abaf
|
Update layer 123.
|
2021-01-17 04:05:30 +03:00 |
|
levlam
|
3ae02a64c1
|
Make ContactsManager struct declarations private.
|
2021-01-16 19:23:57 +03:00 |
|
levlam
|
dda1b62655
|
Add suggestedActionSeeTicksHint.
|
2021-01-15 01:30:05 +03:00 |
|
levlam
|
1941c0b962
|
Fix loading ChatFull/ChannelFull.
|
2021-01-14 23:40:18 +03:00 |
|
levlam
|
d5c0028e1e
|
Add getChatInviteLinkUsers.
|
2021-01-14 23:21:23 +03:00 |
|
levlam
|
efc12342c2
|
Add getChatInviteLinks method.
|
2021-01-14 19:39:51 +03:00 |
|
levlam
|
9f37354951
|
Return full invite links in *FullInfo.
|
2021-01-13 19:14:08 +03:00 |
|
levlam
|
4761d7385c
|
Move invite link methods to DialogInviteLink.
|
2021-01-13 18:30:58 +03:00 |
|
levlam
|
1816a6c7a5
|
Support permanent invite links.
|
2021-01-13 18:16:33 +03:00 |
|
levlam
|
5016197cf9
|
Load self when creating chat invite link.
|
2021-01-13 16:59:10 +03:00 |
|
levlam
|
3df10dc103
|
Check invite link validness.
|
2021-01-13 16:50:41 +03:00 |
|
levlam
|
b5cd03365d
|
Add DialogInviteLink class.
|
2021-01-13 16:28:24 +03:00 |
|
levlam
|
87a2423f5a
|
Add editChatInviteLink method.
|
2021-01-12 19:21:12 +03:00 |
|
levlam
|
0b7ce1c647
|
Update layer 123. Support new generateChatInviteLink.
|
2021-01-12 17:05:25 +03:00 |
|
levlam
|
70b4838a21
|
Rename source to audio_source.
|
2021-01-11 15:02:02 +03:00 |
|
levlam
|
567707099e
|
Use messageEmpty.peer_id.
|
2021-01-02 23:32:02 +03:00 |
|
levlam
|
6bba5a568a
|
Add setGroupCallParticipantVolumeLevel.
|
2021-01-02 22:59:48 +03:00 |
|
levlam
|
6b66cd8716
|
Add groupCallParticipant.volume_level.
|
2020-12-31 03:10:41 +03:00 |
|
levlam
|
607d198d36
|
Add groupCallParticipant.muted_only_for_self_count.
|
2020-12-31 02:54:17 +03:00 |
|
levlam
|
7bf916f4f5
|
Support muting group call participants for self.
|
2020-12-31 02:48:45 +03:00 |
|
levlam
|
91e5b9e677
|
Update layer to 123. Rename Android Pay to Google Pay.
|
2020-12-29 16:43:58 +03:00 |
|
levlam
|
4e710553ef
|
Don't try to merge GIF animation with generated MP4 animation.
|
2021-01-28 15:11:14 +03:00 |
|
levlam
|
797aaecf2a
|
Prefer video dimensions over image size attribute.
|
2021-01-28 15:03:52 +03:00 |
|
levlam
|
3f856ccb46
|
Don't load dialog after ChatFull is loaded from database.
|
2021-01-25 17:58:19 +03:00 |
|
levlam
|
cec5f11d17
|
Don't save group administrators after basic group full is loaded from database.
|
2021-01-25 17:41:49 +03:00 |
|
levlam
|
d25edad06d
|
Rewrite searchChatMembers and getSupergroupMembers implementation.
|
2021-01-25 17:34:45 +03:00 |
|
levlam
|
60673fea78
|
Add get_chat_members_object method.
|
2021-01-25 02:07:38 +03:00 |
|
levlam
|
ef160aa2c0
|
Add struct DialogParticipants.
|
2021-01-25 02:00:57 +03:00 |
|
levlam
|
feba24f1f4
|
Improve updating first/last database message IDs in on_get_history.
|
2021-01-25 01:19:41 +03:00 |
|
levlam
|
c169067bb5
|
Improve logging.
|
2021-01-24 23:45:03 +03:00 |
|
levlam
|
e63776dbd3
|
Improve updating first/last database message IDs in on_get_history.
|
2021-01-24 23:27:53 +03:00 |
|
levlam
|
08b3ce0aac
|
Fix updating last database message ID after channelDifferenceTooLong.
|
2021-01-24 23:07:55 +03:00 |
|
levlam
|
d36ee86027
|
Stricter conditions for setting have_full_history.
|
2021-01-24 22:45:25 +03:00 |
|
levlam
|
527c61caeb
|
Skip send_update_chat_has_scheduled_messages call if there was no scheduled message changes.
|
2021-01-24 03:29:54 +03:00 |
|
levlam
|
77a404d313
|
Delete updateMessageId if target message is in inaccessible chat part.
|
2021-01-24 03:20:19 +03:00 |
|
levlam
|
3e90584859
|
Delete updateMessageId whenever target message is found to be deleted.
|
2021-01-24 02:49:01 +03:00 |
|
levlam
|
c3e4560811
|
Add MessagesManager::delete_update_message_id method.
|
2021-01-24 02:14:51 +03:00 |
|
levlam
|
960aae0ae6
|
Improve handling of via_bot_name.
|
2021-01-23 23:19:37 +03:00 |
|
levlam
|
6e20aaa428
|
Add source to get_dimensions.
|
2021-01-23 22:04:35 +03:00 |
|
levlam
|
ae59f017e7
|
Fix expires_in == 0 in schedule_get_promo_data.
|
2021-01-23 21:39:41 +03:00 |
|
levlam
|
9c961b2eb8
|
Optimize database_message_id updating in on_get_history.
|
2021-01-21 23:37:00 +03:00 |
|
levlam
|
6729581d03
|
Clamp wrong dialog action progress instead of ignoring.
|
2021-01-21 23:19:40 +03:00 |
|
levlam
|
31265c93f1
|
Add ability to check whether a user is a mutual contact.
|
2021-01-21 16:49:41 +03:00 |
|
levlam
|
9a575cdb56
|
Forcely ignore updateChat received in getDifference.
|
2021-01-20 15:14:16 +03:00 |
|
levlam
|
e72c129f9c
|
Ignore getDifference errors while closing.
|
2021-01-18 15:54:29 +03:00 |
|
levlam
|
027c78c691
|
Remove wrong error logging.
|
2021-01-18 13:32:44 +03:00 |
|
levlam
|
520f55d31f
|
Remove expected error logging.
|
2021-01-18 12:58:16 +03:00 |
|
levlam
|
451c0afe60
|
Fix ChatFullInfo reloading due to uninited is_is_blocked_inited.
|
2021-01-16 12:33:45 +03:00 |
|
levlam
|
2348e175d9
|
Add source to get_chat_full_force.
|
2021-01-16 12:30:48 +03:00 |
|
levlam
|
52b7f8f118
|
Add DialogParticipantFilter logging.
|
2021-01-16 11:56:02 +03:00 |
|
levlam
|
db77165dad
|
Optimize ContactsManager::search_among_users.
|
2021-01-16 03:14:15 +03:00 |
|
levlam
|
35c4562fc5
|
Make on_server_pong private.
|
2021-01-16 02:59:03 +03:00 |
|
levlam
|
7a94cac200
|
Make on_get_updates_state private.
|
2021-01-16 02:55:47 +03:00 |
|
levlam
|
7c0af14d09
|
Make on_get_difference private.
|
2021-01-16 02:44:58 +03:00 |
|
levlam
|
0e961b0be7
|
Move dummyUpdate/updateSentMessage to UpdatesManager.
|
2021-01-16 01:51:01 +03:00 |
|
levlam
|
004876dcf0
|
Make get_pts/get_qts/get_date private.
|
2021-01-16 01:42:06 +03:00 |
|
levlam
|
ef920f297d
|
Move handling of pending pts updates to UpdatesManager.
|
2021-01-16 01:17:35 +03:00 |
|
levlam
|
3c1341731c
|
Move check_pts_update to UpdatesManager.
|
2021-01-15 23:39:34 +03:00 |
|
levlam
|
67403c586b
|
Remove force_apply parameter from on_update.
|
2021-01-15 19:32:16 +03:00 |
|
levlam
|
24664db3cb
|
Forcely process qts updates in process_updates.
|
2021-01-15 19:09:00 +03:00 |
|
levlam
|
76fac90693
|
Simplify telegram_api::updateMessageID processing.
|
2021-01-15 18:52:41 +03:00 |
|
levlam
|
2eacc1f974
|
Forcely process pts updates in process_updates.
|
2021-01-15 18:45:26 +03:00 |
|
levlam
|
dc45d89848
|
Make searchStickers response cache time-bound.
|
2021-01-15 14:54:07 +03:00 |
|
levlam
|
cb24fd8037
|
Add struct FoundStickers.
|
2021-01-15 14:01:59 +03:00 |
|
levlam
|
10ec257921
|
Hide message interaction info for yet unsent supergroup messages.
|
2021-01-15 14:01:48 +03:00 |
|
levlam
|
36b4c55927
|
Remove force_apply from add_pending_update.
|
2021-01-12 01:52:10 +03:00 |
|
levlam
|
840391b95c
|
Add is_pts_update/is_qts_update.
|
2021-01-11 23:58:03 +03:00 |
|
levlam
|
efec8787d8
|
Add MessagesManager::check_pts_update.
|
2021-01-11 23:31:25 +03:00 |
|
levlam
|
cdbed1844a
|
Add updateFolderPeers to pts updates.
|
2021-01-11 23:14:41 +03:00 |
|
levlam
|
0acc29b1d2
|
Treat bots as always online.
|
2021-01-11 22:22:18 +03:00 |
|
levlam
|
27d3fdd09d
|
Update group call join missing error message text.
|
2021-01-08 18:15:16 +03:00 |
|
levlam
|
c5549b7346
|
Improve log messages.
|
2021-01-08 16:05:16 +03:00 |
|
levlam
|
c271524019
|
Treat updates with too big pts as outdated.
|
2021-01-08 14:43:00 +03:00 |
|
levlam
|
eab5532688
|
Fix applying of postponed pts updates.
|
2021-01-08 14:37:50 +03:00 |
|
levlam
|
6b909386fd
|
Simplify is_dialog_participant_suitable.
|
2021-01-08 02:01:49 +03:00 |
|
levlam
|
db3875710b
|
Show recently joined voice chat participants as recent speakers.
|
2021-01-05 22:48:10 +03:00 |
|
levlam
|
71ac1f67bf
|
Force getDifference if receive a lot of qts updates.
|
2021-01-05 16:36:49 +03:00 |
|
levlam
|
970f65604a
|
Switch back from getDifference to updates handling if there are too much of them.
|
2021-01-05 16:06:51 +03:00 |
|
levlam
|
0ee37c5e64
|
Ensure that ChannelFull.member_count >= administrator_count after speculative update.
|
2021-01-05 15:18:15 +03:00 |
|
levlam
|
89fa0f6446
|
Add get_update_qts/get_update_pts.
|
2021-01-05 12:41:35 +03:00 |
|
levlam
|
82f0386e73
|
Move some functions from misc.h to algorithm.h.
|
2021-01-01 16:01:03 +03:00 |
|
levlam
|
52c1da0a70
|
Update copyright year.
|
2021-01-01 15:57:46 +03:00 |
|
levlam
|
dbbfcd5d64
|
Update ChannelFull participant count only after channel is updated.
|
2021-01-01 02:46:37 +03:00 |
|
levlam
|
d9fa3b3f36
|
Fix CHECK.
|
2021-01-01 02:21:50 +03:00 |
|
levlam
|
865009fffc
|
Include improvements.
|
2021-01-01 01:52:01 +03:00 |
|
levlam
|
192fd4862f
|
Use td::unique.
|
2020-12-30 18:50:57 +03:00 |
|
levlam
|
45149bb3cd
|
Allow multiple updateGroupCall updates for just created calls.
|
2020-12-30 18:41:44 +03:00 |
|
levlam
|
371ec422e6
|
Don't fix reply_to_message_id in message thread drafts.
|
2020-12-30 15:09:41 +03:00 |
|
levlam
|
b1ffe39759
|
Improve "Restore pts" warnings.
|
2020-12-30 14:57:43 +03:00 |
|
levlam
|
f7c01e88e3
|
Add comment.
|
2020-12-29 15:51:12 +03:00 |
|
levlam
|
ccd99ac16a
|
Do not treat empty messages as deleted for bots.
|
2020-12-29 15:44:43 +03:00 |
|
levlam
|
1c150610d0
|
Silence expected warning.
|
2020-12-29 15:32:36 +03:00 |
|
levlam
|
2394ccd29e
|
Decrease max_participant_count to not update it for groups with 5000+ members.
|
2020-12-29 14:41:17 +03:00 |
|
levlam
|
92f9a4c54c
|
tg_cli: add gghs and sgs.
|
2020-12-28 23:35:05 +03:00 |
|
levlam
|
aee5806593
|
Improve error message.
|
2020-12-28 18:57:41 +03:00 |
|
levlam
|
584b5352ca
|
Replace error message on closing.
|
2020-12-28 17:18:17 +03:00 |
|
levlam
|
8139e0d560
|
Update forward_count and thread reply_info only after updateNewMessage is sent.
|
2020-12-28 16:58:50 +03:00 |
|
levlam
|
6af4338f8b
|
Add MessagesManager::update_forward_count.
|
2020-12-28 16:21:39 +03:00 |
|
levlam
|
5f02a34c34
|
Don't hide reply info for yet unsent messages.
|
2020-12-28 15:19:56 +03:00 |
|
levlam
|
2c8cfc561c
|
Add is_speaking flag for recent speakers.
|
2020-12-28 14:19:29 +03:00 |
|
levlam
|
1f9d173afb
|
Automatically check whether group call is still joined.
|
2020-12-28 00:30:27 +03:00 |
|
levlam
|
1d155a8492
|
tg_cli: add get_chat_report_reason.
|
2020-12-26 21:53:39 +03:00 |
|
levlam
|
48f5169101
|
tg_cli: add get_supergroup_members_filter.
|
2020-12-26 21:45:19 +03:00 |
|
levlam
|
f56ea08096
|
tg_cli: add get_user_privacy_setting_rules.
|
2020-12-26 21:32:21 +03:00 |
|
levlam
|
d23e6ad352
|
tg_cli: combine Search* methods.
|
2020-12-26 21:12:09 +03:00 |
|
levlam
|
4de797e4bd
|
tg_cli: use rand_bool everywhere.
|
2020-12-26 21:01:57 +03:00 |
|
levlam
|
6654464360
|
tg_cli: use get_args if possible.
|
2020-12-26 20:58:30 +03:00 |
|
levlam
|
168becf215
|
tg_cli: simplify SearchQuery parsing.
|
2020-12-26 20:47:51 +03:00 |
|
levlam
|
2097d88006
|
tg_cli: use get_args to read integer parameters.
|
2020-12-26 20:26:19 +03:00 |
|
levlam
|
e53ffdb101
|
tg_cli: use get_args to read bool parameters.
|
2020-12-26 19:59:45 +03:00 |
|
levlam
|
48a47618ca
|
tg_cli: add get_args.
|
2020-12-26 19:40:46 +03:00 |
|
levlam
|
77112f53d7
|
tg_cli: add as_limit.
|
2020-12-26 01:25:00 +03:00 |
|
levlam
|
30d912bd4b
|
Set is_pinned flag for last_pinned_message_id.
|
2020-12-26 01:05:24 +03:00 |
|
levlam
|
f4ec6e6cfc
|
tg_cli: add get_search_query.
|
2020-12-26 00:43:38 +03:00 |
|
levlam
|
c8668f224c
|
Update ChannelFull.participant_count when channel.participant_count changes.
|
2020-12-25 18:06:54 +03:00 |
|
levlam
|
ce75097932
|
Increase ChannelFull.participant_count instead of decreasing administrator_count to guarantee that channel has no administrators more than participants.
|
2020-12-25 17:35:41 +03:00 |
|
levlam
|
9ca42ec8da
|
Check message pts before merging files.
|
2020-12-25 16:12:09 +03:00 |
|
levlam
|
b70eb33158
|
Save pts of the last processed message edit.
|
2020-12-25 03:31:12 +03:00 |
|
levlam
|
ebc4e57da7
|
Minor improvements of process_update.
|
2020-12-25 03:19:10 +03:00 |
|
levlam
|
a8377db05d
|
Simplify handling of updateNewChannelMessage and updateEditChannelMessage.
|
2020-12-25 02:56:22 +03:00 |
|
levlam
|
b867a597e8
|
Simplify add_pending_channel_update calls.
|
2020-12-25 02:37:14 +03:00 |
|
levlam
|
ba9837f55e
|
tg_cli: combine emp and empttl.
|
2020-12-25 01:41:56 +03:00 |
|
levlam
|
d191bc49b6
|
Save updates with pts_count == 0 to postpone setting their promises.
|
2020-12-25 01:32:31 +03:00 |
|
levlam
|
4a28b98022
|
Pass promise to add_pending_channel_update.
|
2020-12-25 00:20:21 +03:00 |
|
levlam
|
3dbc996acc
|
Postpone pts updates, which can't be applied right now.
|
2020-12-24 23:32:32 +03:00 |
|
levlam
|
4ea10b3de6
|
Pass promise to MessagesManager::add_pending_update.
|
2020-12-24 21:56:15 +03:00 |
|
Egor Pugin
|
28ce6974ce
|
Remove extra include dir part. (#1336)
|
2020-12-23 10:41:56 +03:00 |
|
levlam
|
887c2dfdf7
|
Properly set promise when ignore pending updates.
|
2020-12-23 02:06:45 +03:00 |
|
levlam
|
b9d1530c78
|
Store all promises for pending qts updates.
|
2020-12-23 01:58:56 +03:00 |
|
levlam
|
3589676550
|
Minor fixes.
|
2020-12-22 15:51:57 +03:00 |
|
levlam
|
b89cb3fbd6
|
Fix misprint.
|
2020-12-22 02:09:08 +03:00 |
|
levlam
|
656a641290
|
Fix sending response to setPollAnser.
|
2020-12-22 01:51:20 +03:00 |
|
levlam
|
7d73126506
|
Add success promise to on_get_updates.
|
2020-12-21 22:06:52 +03:00 |
|
levlam
|
956e70d841
|
Add groupCall.can_be_managed flag.
|
2020-12-21 13:47:19 +03:00 |
|
levlam
|
a640fb2fe0
|
Add to_string method for vector of TL objects.
|
2020-12-21 03:02:20 +03:00 |
|
levlam
|
f11877f6ed
|
Remove null messages from search-like request responses.
|
2020-12-20 14:08:11 +03:00 |
|
levlam
|
c2ac73769f
|
Fix self is_speaking flag.
|
2020-12-20 02:10:02 +03:00 |
|
levlam
|
bbde4f32c6
|
Allow to specify emoji for sent stickers.
|
2020-12-19 14:31:42 +03:00 |
|
levlam
|
905d09d82c
|
Accept non-lowercase end HTML tags.
|
2020-12-19 13:46:22 +03:00 |
|
levlam
|
34cc9092c9
|
Update layer 122.
|
2020-12-18 17:43:23 +03:00 |
|
levlam
|
720a6ac45a
|
Update .clang-format.
|
2020-12-18 17:21:25 +03:00 |
|
levlam
|
3413e38a61
|
Fix can_be_muted flag.
|
2020-12-18 17:08:24 +03:00 |
|
levlam
|
8dd4fe3166
|
Separately apply versioned and unversioned group call updates.
|
2020-12-18 16:23:49 +03:00 |
|
levlam
|
f5a122c65d
|
Allow zero source in setGroupCallParticipantIsSpeaking.
|
2020-12-17 23:12:44 +03:00 |
|
levlam
|
89b6d7faa0
|
tg_cli: use custom call source.
|
2020-12-17 22:55:29 +03:00 |
|
levlam
|
e856788f52
|
Reload group call when chat is opened.
|
2020-12-17 18:38:27 +03:00 |
|
levlam
|
2a50685321
|
Add separate GroupCallManager::on_update_group_call_rights method.
|
2020-12-17 18:27:01 +03:00 |
|
levlam
|
7a6c393b7b
|
Update MIN_SEARCH_PUBLIC_DIALOG_PREFIX_LEN limit.
|
2020-12-17 18:20:28 +03:00 |
|
levlam
|
e89d353b68
|
Add groupCall.need_rejoin flag.
|
2020-12-17 17:49:15 +03:00 |
|
levlam
|
c4d8f301a1
|
Add groupCallParticipant.can_be_muted/can_be_unmuted flags.
|
2020-12-17 02:07:05 +03:00 |
|
levlam
|
bfcc7d17c4
|
Improve GroupCallParticipant updating.
|
2020-12-17 00:37:42 +03:00 |
|
levlam
|
4a3375e617
|
Various group call fixes.
|
2020-12-16 22:49:24 +03:00 |
|
levlam
|
6ebe28cdac
|
Load group call administrators.
|
2020-12-16 20:30:52 +03:00 |
|
levlam
|
0d7c980f9d
|
Fix nullptr dereference during logging.
|
2020-12-16 18:57:34 +03:00 |
|
levlam
|
ca242e754b
|
Keep biggest update list for a given version instead of forced sync.
|
2020-12-16 18:40:51 +03:00 |
|
levlam
|
0e668726bc
|
Update can_unmute_self only if the user is muted.
|
2020-12-16 18:09:32 +03:00 |
|
levlam
|
415a64ff24
|
Allow loading channel participants without bot info.
|
2020-12-16 17:43:34 +03:00 |
|
levlam
|
92327f1fe7
|
Ignore checkGroupCallIsJoined requests first 10 seconds.
|
2020-12-16 17:02:09 +03:00 |
|
levlam
|
d165a87b73
|
Reload group call if rights has changed.
|
2020-12-16 16:38:06 +03:00 |
|
levlam
|
3681da21d8
|
Automatically close unclosed contours.
|
2020-12-16 16:04:27 +03:00 |
|
levlam
|
7fc2e783ed
|
Add groupCall.can_unmute_self.
|
2020-12-16 14:04:07 +03:00 |
|
levlam
|
f50971625f
|
Fix version initialization.
|
2020-12-16 12:53:17 +03:00 |
|
levlam
|
babd4dc35d
|
Add source to on_update_dialog_group_call.
|
2020-12-15 19:25:07 +03:00 |
|
levlam
|
62dc71cbc5
|
Add GroupCallManager::update_group_call_dialog method.
|
2020-12-15 19:20:03 +03:00 |
|
levlam
|
d022dfdb62
|
Add GroupCallManager::can_manage_group_calls method.
|
2020-12-15 18:21:02 +03:00 |
|
levlam
|
f95366a219
|
Leave group call when receive corresponding update.
|
2020-12-15 17:06:11 +03:00 |
|
levlam
|
25d1fde985
|
Add source to send_update_group_call.
|
2020-12-15 16:24:38 +03:00 |
|
levlam
|
0d76d53cd5
|
Process updateGroupCallParticipant even don't need participant list.
|
2020-12-15 16:06:21 +03:00 |
|
levlam
|
adca19d4da
|
Fix group call version initialization.
|
2020-12-15 15:40:52 +03:00 |
|
levlam
|
ecc1669e5a
|
Update recent speakers by received in getGroupCall participants.
|
2020-12-15 15:17:53 +03:00 |
|
levlam
|
1c02363418
|
Update recent speakers by updateGroupParticipants.
|
2020-12-15 14:54:47 +03:00 |
|
levlam
|
db99c9817d
|
Fix group call updating after initialization.
|
2020-12-15 14:32:08 +03:00 |
|
levlam
|
b4e087a2f0
|
Remove users from recent speakers when they leave the call.
|
2020-12-15 14:04:06 +03:00 |
|
levlam
|
42f36d2d66
|
Improve loadGroupCallPartiicpants documentation.
|
2020-12-15 13:40:04 +03:00 |
|
levlam
|
c73fc71744
|
Simplify promo data expires_in handling.
|
2020-12-15 13:28:41 +03:00 |
|
levlam
|
5268f83538
|
Increase chat/channel cache version to reload has_voice_chat flags.
|
2020-12-15 13:10:29 +03:00 |
|
levlam
|
c63da4b241
|
Add group call participants syncronization.
|
2020-12-15 12:41:26 +03:00 |
|
levlam
|
37a17476c7
|
Update is_speaking field for speaking group call participants.
|
2020-12-15 01:42:16 +03:00 |
|
levlam
|
47a00d257b
|
Fix basic group administrator rights.
|
2020-12-14 22:30:58 +03:00 |
|
levlam
|
4b9eabc668
|
Separate message contents for started and ended boice chats.
|
2020-12-14 22:22:20 +03:00 |
|
levlam
|
98241af35a
|
Support voice chats in basic groups.
|
2020-12-14 17:33:02 +03:00 |
|
levlam
|
65d3557f63
|
Add outline support for sticker set thumbnails.
|
2020-12-14 17:16:57 +03:00 |
|
levlam
|
96acefc6c6
|
Update layer 122.
|
2020-12-14 16:52:25 +03:00 |
|
levlam
|
6ca15f18c8
|
Move voice chat-related fields to Dialog.
|
2020-12-14 00:36:44 +03:00 |
|
levlam
|
00eed8928c
|
Move voice chat creation to GroupCallManager.
|
2020-12-13 15:18:33 +03:00 |
|
levlam
|
6fdf68bad4
|
Store DialogId in information about group call.
|
2020-12-13 14:52:07 +03:00 |
|
levlam
|
b015ada0dc
|
Resolve group call participant by source in set_group_call_participant_is_speaking.
|
2020-12-12 15:31:56 +03:00 |
|
levlam
|
84c143580b
|
Process pending group call participant updates after version change.
|
2020-12-12 15:05:22 +03:00 |
|
levlam
|
ab73589165
|
Implement GroupCallManager::on_receive_group_call_version.
|
2020-12-12 14:47:56 +03:00 |
|
levlam
|
7398de2790
|
Apply group call participant updates in the correct order.
|
2020-12-12 14:10:37 +03:00 |
|
levlam
|
841ef6dc7f
|
Simplify GroupCallManager::process_group_call_participants_from_updates.
|
2020-12-12 12:27:43 +03:00 |
|
levlam
|
7fc19c3733
|
Add groupCall.loaded_all_participants flag.
|
2020-12-12 01:00:00 +03:00 |
|
levlam
|
b78af33192
|
Update min_order after loaded group call participants.
|
2020-12-11 23:31:46 +03:00 |
|
levlam
|
d4f3d24142
|
Split GroupCallManager::process_group_call_participants function.
|
2020-12-11 23:04:49 +03:00 |
|
levlam
|
8c3120b5cc
|
Process group call participants returned in getGroupCall.
|
2020-12-11 22:52:53 +03:00 |
|
levlam
|
4a0c42729b
|
Add td_api::loadGroupCallParticipants.
|
2020-12-11 19:47:34 +03:00 |
|
levlam
|
76950e710f
|
Support updateGroupCallParticipants updates.
|
2020-12-11 18:44:03 +03:00 |
|
levlam
|
1fb050a264
|
Add updateGroupCallParticipant.
|
2020-12-11 17:43:23 +03:00 |
|
levlam
|
52c79bae75
|
Update documentation and improve type names.
|
2020-12-09 14:26:22 +03:00 |
|
levlam
|
987f26efdc
|
Add default support for bowling dice.
|
2020-12-09 13:35:27 +03:00 |
|
levlam
|
07735c27e8
|
Add related to voice chats chat log event actions.
|
2020-12-08 20:02:12 +03:00 |
|
levlam
|
707f83e755
|
Add voice_chat_changes chat log event filter.
|
2020-12-08 18:42:31 +03:00 |
|
levlam
|
6e3e129b13
|
Improve group call method and field names.
|
2020-12-08 18:01:06 +03:00 |
|
levlam
|
901d603808
|
Add GroupCallParticipant class.
|
2020-12-08 17:29:25 +03:00 |
|
levlam
|
593a2bfb3e
|
Improve administrator rights name.
|
2020-12-08 03:19:56 +03:00 |
|
levlam
|
5c832cb361
|
Update layer 122.
|
2020-12-08 02:06:20 +03:00 |
|
levlam
|
9e0dba0db4
|
Separate inline query results cache for different chat types.
|
2020-12-08 01:26:40 +03:00 |
|
levlam
|
6a38d219f0
|
Update layer 122. Add updateNewInlineQuery.chat_type (can be sent by the server in the distant future).
|
2020-12-07 23:08:18 +03:00 |
|
levlam
|
a426105129
|
Get speaking user from the server by source.
|
2020-12-07 02:56:13 +03:00 |
|
levlam
|
562742095d
|
Recent speakers fixes.
|
2020-12-07 02:42:44 +03:00 |
|
levlam
|
8dff5ed65b
|
Do not allow to join finished calls.
|
2020-12-07 00:59:53 +03:00 |
|
levlam
|
d4e6c3724d
|
Do not allow to join already joined call.
|
2020-12-07 00:58:54 +03:00 |
|
levlam
|
37f9d6a42d
|
Fix new rights in created chats.
|
2020-12-07 00:47:48 +03:00 |
|
levlam
|
6af2f71ddd
|
Get unknown speaking users from the server by their user_id.
|
2020-12-07 00:38:23 +03:00 |
|
levlam
|
29e4265b37
|
Get and update recent speakers in a separate method.
|
2020-12-06 21:41:56 +03:00 |
|
levlam
|
1d60bf36e6
|
Add GroupCallManager::send_update_group_call.
|
2020-12-06 21:22:55 +03:00 |
|
levlam
|
b0806df48f
|
Remove recent speakers by timeout.
|
2020-12-06 21:18:12 +03:00 |
|
levlam
|
da5132b688
|
Send recent speaker updates with delay.
|
2020-12-06 20:07:23 +03:00 |
|
levlam
|
82a2d9262c
|
Add groupCall.is_joined flag.
|
2020-12-06 14:33:15 +03:00 |
|
levlam
|
1c5db9f809
|
Remove chatActionSpeakingInCall.
|
2020-12-06 10:52:55 +03:00 |
|
levlam
|
91d4b57713
|
Add recent group call speakers.
|
2020-12-06 10:40:26 +03:00 |
|
levlam
|
f3c8ae83c5
|
Update channel when its group call is changed.
|
2020-12-05 21:28:57 +03:00 |
|
levlam
|
bc5a3d2cec
|
Add supergroup.is_voice_chat_empty flag.
|
2020-12-05 19:43:57 +03:00 |
|
levlam
|
c34e7ed6ba
|
Allow multiple move commands in the beginning of vector paths.
|
2020-12-05 17:37:10 +03:00 |
|
levlam
|
fcbc9915bd
|
Try not to update twice message interaction info.
|
2020-12-05 16:23:22 +03:00 |
|
levlam
|
23f1927c07
|
Improve sending speaking in voice chat typings.
|
2020-12-04 17:06:37 +03:00 |
|
levlam
|
fc2215633b
|
Do not create group calls for bots.
|
2020-12-04 12:44:09 +03:00 |
|
levlam
|
eb9abbb9ab
|
Save voice chat channel_id.
|
2020-12-04 12:40:51 +03:00 |
|
levlam
|
49f7a56f11
|
Save joined group call synchronization source.
|
2020-12-04 01:56:27 +03:00 |
|
levlam
|
803e6f20af
|
Improve documentation.
|
2020-12-03 23:20:56 +03:00 |
|
levlam
|
34e05375c1
|
Add GroupCallId class.
|
2020-12-03 19:52:50 +03:00 |
|
levlam
|
2da4316a06
|
Add td_api::getGroupCall.
|
2020-12-03 02:00:46 +03:00 |
|
levlam
|
eeee625803
|
Rename createVoiceChat method.
|
2020-12-03 01:08:20 +03:00 |
|
levlam
|
1da1a14255
|
Represent sticker contours as vector path.
|
2020-12-02 18:45:06 +03:00 |
|
levlam
|
7f9681313a
|
Update layer 122.
|
2020-11-29 15:41:03 +03:00 |
|
levlam
|
3e95f8d9cc
|
Add toggleGroupCallMemberIsMuted method.
|
2020-11-27 17:40:29 +03:00 |
|
levlam
|
1aa5822bf8
|
Add checkGroupCall method.
|
2020-11-27 17:07:12 +03:00 |
|
levlam
|
daf93cd157
|
tg_cli: add as_group_call_id.
|
2020-11-27 15:31:00 +03:00 |
|
levlam
|
f10db772f5
|
Add inviteGroupCallMember method.
|
2020-11-27 15:22:19 +03:00 |
|
levlam
|
1eca39c4ee
|
Add toggleGroupCallMuteNewMembers method.
|
2020-11-27 01:58:36 +03:00 |
|
levlam
|
54cfb02698
|
Add mute_new_members and allowed_change_mute_new_members flags to group call.
|
2020-11-27 01:40:48 +03:00 |
|
levlam
|
de6ac56cf2
|
Fix GroupCallManager destructor.
|
2020-11-26 18:02:18 +03:00 |
|
Arseny Smirnov
|
ab3e695f94
|
Revert "Revert "New test for tdlib. New Promise/Future features (ported from other project)""
This reverts commit 56866524aa .
|
2020-11-26 18:49:51 +04:00 |
|
levlam
|
cbca6ca902
|
Cancel joinGroupCall net query.
|
2020-11-26 17:33:28 +03:00 |
|
levlam
|
162c06d00a
|
Add joinGroupCall method.
|
2020-11-26 14:32:29 +03:00 |
|
levlam
|
32295e2b6e
|
Add missing files.
|
2020-11-26 13:47:20 +03:00 |
|
levlam
|
2f1b857b7e
|
Disallow empty group call identifier in requests.
|
2020-11-26 13:44:48 +03:00 |
|
levlam
|
5cfda1df72
|
Add leaveGroupCall method.
|
2020-11-26 11:37:54 +03:00 |
|
levlam
|
e5bf347ceb
|
Add discardGroupCall.
|
2020-11-26 11:21:26 +03:00 |
|
levlam
|
e1271c7fa5
|
Add createChatGroupCall.
|
2020-11-26 10:56:13 +03:00 |
|
levlam
|
5d6e55e939
|
Add group_call_id to supergroupFullInfo.
|
2020-11-25 23:07:10 +03:00 |
|
levlam
|
cc47f9b63f
|
Support updateGroupCall.
|
2020-11-25 17:04:32 +03:00 |
|
levlam
|
bd75c4b062
|
Add GroupCallManager.
|
2020-11-24 18:22:00 +03:00 |
|
levlam
|
3c9cd41776
|
Add GroupCallId.
|
2020-11-24 17:29:09 +03:00 |
|
levlam
|
ce4054c5d4
|
Add messageGroupCall and messageInviteToGroupCall.
|
2020-11-24 14:33:16 +03:00 |
|
levlam
|
8663c78702
|
Add InputGroupCallId.
|
2020-11-24 10:44:06 +03:00 |
|
levlam
|
3e13b0cd31
|
Add can_manage_calls admin right.
|
2020-11-24 02:43:14 +03:00 |
|
levlam
|
59e0f03b5f
|
Update UpdatesManager::is_acceptable_message.
|
2020-11-24 01:36:20 +03:00 |
|
levlam
|
905aa871e1
|
Add SpeakingInCall chat action.
|
2020-11-23 19:50:03 +03:00 |
|
levlam
|
ccb0a4f63c
|
Update layer to 122.
|
2020-11-23 18:48:55 +03:00 |
|
levlam
|
3ff1f6cec1
|
Add sticker cover to API.
|
2020-11-20 16:22:07 +03:00 |
|
levlam
|
d22dabfdaf
|
Update layer to 121.
|
2020-11-09 23:41:23 +03:00 |
|
levlam
|
eb80924dad
|
Update version to 1.7.0.
|
2020-11-28 17:00:17 +03:00 |
|
levlam
|
e3a31f062e
|
Add can_archive_and_mute_new_chats_from_unknown_users option.
|
2020-11-28 16:39:56 +03:00 |
|
Arseny Smirnov
|
56866524aa
|
Revert "New test for tdlib. New Promise/Future features (ported from other project)"
This reverts commit 0c2b15f2b8 .
|
2020-11-24 15:50:44 +04:00 |
|
Arseny Smirnov
|
0c2b15f2b8
|
New test for tdlib. New Promise/Future features (ported from other project)
|
2020-11-24 15:25:10 +04:00 |
|
levlam
|
dc12edbde1
|
Return back 0 as default next load time.
|
2020-11-23 20:33:35 +03:00 |
|
levlam
|
d24f3c924e
|
Fix StartPlayingGame chat action.
|
2020-11-23 19:18:56 +03:00 |
|
levlam
|
6571a99b45
|
Include ConcurrentScheduler separately.
|
2020-11-23 03:24:36 +03:00 |
|
levlam
|
7dcfb6c4a4
|
Protect LanguagePackManager::tear_down during exit.
|
2020-11-23 02:11:05 +03:00 |
|
levlam
|
52653d6bf1
|
Do not try to attach to JVM after exit.
|
2020-11-23 00:18:01 +03:00 |
|
levlam
|
155c12edea
|
Improve ConcurrentScheduler closing on exit.
|
2020-11-22 23:30:40 +03:00 |
|
levlam
|
6044ee83fb
|
Fix Client_SimpleMulti test on macOS.
|
2020-11-22 16:26:00 +03:00 |
|
levlam
|
5cbf90e4a0
|
Safer work with negative monotonic time.
|
2020-11-21 16:34:39 +03:00 |
|
levlam
|
ea6cdde0c5
|
Fix MSVC 15.3 CE.
|
2020-11-20 02:03:39 +03:00 |
|
levlam
|
d5da47510d
|
Minor fixes.
|
2020-11-20 01:32:58 +03:00 |
|
levlam
|
09b10c0ed1
|
Improve names of statistical classes.
|
2020-11-19 17:57:15 +03:00 |
|
levlam
|
74a960aca1
|
Allow zero sender in searchChatMessages.
|
2020-11-19 14:55:09 +03:00 |
|
levlam
|
ebfe3f3d99
|
Improve new interface documentation.
|
2020-11-18 23:42:26 +03:00 |
|
levlam
|
6f26706da5
|
Fix closing connection on too much dropped packets.
|
2020-11-18 17:49:29 +03:00 |
|
levlam
|
3f33d15879
|
Always adjust part size to keep low number of parts in downloaded files.
|
2020-11-17 02:59:58 +03:00 |
|
levlam
|
52a47b5f70
|
Add small margin for the maximum number of file parts on download.
|
2020-11-17 01:19:27 +03:00 |
|
levlam
|
78e45da6b9
|
Use array instead of std::vector in the generated C++ classes.
|
2020-11-15 19:57:03 +03:00 |
|
levlam
|
f693874c50
|
Improve documentation.
|
2020-11-15 17:38:10 +03:00 |
|
levlam
|
5eea5b7501
|
Rename create_client to create_client_id.
|
2020-11-15 01:13:11 +03:00 |
|
levlam
|
6a9cd72636
|
Don't create client through ClientManager until first request is sent to it.
|
2020-11-12 14:45:18 +03:00 |
|
levlam
|
597c0d2983
|
Add checks that client ID doesn't overflow.
|
2020-11-12 01:19:30 +03:00 |
|
levlam
|
9725780fc6
|
Replace referenced text with anchor name in richTextReference to support nested references.
|
2020-11-11 16:41:30 +03:00 |
|
levlam
|
ea8c57fea3
|
Fix canceling chat actions on timeout.
|
2020-11-09 12:33:40 +03:00 |
|
levlam
|
f9a600c401
|
Minor fixes.
|
2020-11-08 14:00:36 +03:00 |
|
levlam
|
b21d667bdf
|
Fix compilation error.
|
2020-11-08 12:09:27 +03:00 |
|
levlam
|
60edadab90
|
Automatically group forwarded documents and music files.
|
2020-11-08 00:40:12 +03:00 |
|
levlam
|
0713c913de
|
Remove now unneeded postponed_get_message_requests_.
|
2020-11-08 00:40:12 +03:00 |
|
levlam
|
00382f825b
|
Get channel difference if it is needed to add messages.
|
2020-11-08 00:40:12 +03:00 |
|
levlam
|
ed25a03dda
|
Get channel difference before adding discussion message if needed.
|
2020-11-08 00:40:12 +03:00 |
|
levlam
|
260c15e3e9
|
Add process_discussion_message method.
|
2020-11-08 00:40:12 +03:00 |
|
levlam
|
8f623e8be7
|
Add early check for another active channel difference.
|
2020-11-08 00:40:12 +03:00 |
|
levlam
|
cb06833eb1
|
Reload full dialog info with a small delay.
|
2020-11-08 00:40:06 +03:00 |
|
levlam
|
da1f073e22
|
Forward messages in two passes.
|
2020-11-06 16:00:56 +03:00 |
|
levlam
|
398c7cfd52
|
Don't drop administrator count in non-admined supergroups.
|
2020-11-06 15:16:30 +03:00 |
|
Sergey Polovko
|
645052bec7
|
Implement hash function for MessageContentType enum. (#1283)
|
2020-11-06 02:05:15 +03:00 |
|
levlam
|
254823d602
|
Fix search inside message threads.
|
2020-11-05 17:46:47 +03:00 |
|
levlam
|
c1de6a7d8d
|
Minor improvements.
GitOrigin-RevId: eb8b201d80405feb6972b2eabc7de30d40aa8b81
|
2020-11-02 00:43:57 +03:00 |
|
levlam
|
301c8b167f
|
Allow passing outdated yet unsent message identifier to getRepliedMessage.
GitOrigin-RevId: b24c47456a3716022de52fe030245e048ff5d053
|
2020-11-01 23:24:29 +03:00 |
|
levlam
|
ab5484fd78
|
Improve logging.
GitOrigin-RevId: 2d3e19395b48d4c6c330a852d559b537ff363b4e
|
2020-11-01 23:22:42 +03:00 |
|
levlam
|
69ae1d4f0c
|
Allow auth.bindTempAuthKey before authorization to check auth_key validness.
GitOrigin-RevId: 7a80d84aef6a9f097c6567ed72bccd9b62f87c2c
|
2020-11-01 21:42:48 +03:00 |
|
levlam
|
3a8931cff0
|
Ping server only if authorized.
GitOrigin-RevId: 02e272e5dd2892fde8df74b968091d14fb96ed54
|
2020-11-01 21:36:42 +03:00 |
|
levlam
|
c8949e264d
|
Allow access to channel if it has linked channel, but we can't check access to it.
GitOrigin-RevId: 897e86d18ad2b3c829c4ac544320fa4ee4ebd31b
|
2020-10-31 19:40:08 +03:00 |
|
levlam
|
ed0bf2c1b3
|
Ignore failed to load chats in getChatFilter.
GitOrigin-RevId: 5c1871080e56576f402917e1ecfbf0c99da0deba
|
2020-10-31 16:43:26 +03:00 |
|
levlam
|
778adce53d
|
Add debug logging.
GitOrigin-RevId: 08ae2a25ae086a2211658239a532e1e19d996a4f
|
2020-10-31 16:33:06 +03:00 |
|
levlam
|
98ff412f7a
|
Use get_channel_full_const in get methods to avoid unneeded getChannelFull requests.
GitOrigin-RevId: 1959c781b6c85667065e38af125a87186746a233
|
2020-10-31 15:47:40 +03:00 |
|
levlam
|
d28a7245ea
|
Make can_get_channel_message_statistics const to prevent unneeded getChannelFull requests.
GitOrigin-RevId: 90121f149dfa5ec6e586b8932b8507dd25614921
|
2020-10-31 15:28:55 +03:00 |
|
levlam
|
e27385e9b8
|
Fix discussion message usage.
GitOrigin-RevId: 52f7c267b29589c751a2acfc5f74dce9950dc801
|
2020-10-31 15:19:36 +03:00 |
|
levlam
|
38d2fb8e94
|
Improve updates order.
GitOrigin-RevId: 5a88973c364be4630a7923190958cda47c697678
|
2020-10-31 14:55:44 +03:00 |
|
levlam
|
ca3315ba06
|
Add MessagesManager::update_reply_count_by_message and update reply_count on message deletion.
GitOrigin-RevId: 2746c056ae021053587c8b16b50a92ed126f89da
|
2020-10-31 13:55:53 +03:00 |
|
levlam
|
dd12a34656
|
Simplify set_dialog_last_pinned_message_id usage.
GitOrigin-RevId: 62c3e3e8b5bd0260bc059ba92b6bc400bb9b3eda
|
2020-10-31 13:13:31 +03:00 |
|
levlam
|
7010c7c6ea
|
Fix dropping pending updates after receiving empty difference.
GitOrigin-RevId: b8a7a2298191123b0e5be818ebae52c52998eab0
|
2020-10-31 12:01:13 +03:00 |
|
levlam
|
a4a28c511b
|
Move logging from ERROR to WARNING.
GitOrigin-RevId: f46e811f84315f014625ea532459fa714432a884
|
2020-10-31 11:58:06 +03:00 |
|
levlam
|
1fcd6b54ed
|
Improve messageProximityAlertTriggered field names.
GitOrigin-RevId: b67708794a18ee954455871cce1084ca047f7f35
|
2020-10-31 01:38:11 +03:00 |
|
levlam
|
0efc6ee617
|
Reload all sticker sets once to drop legacy photo locations.
GitOrigin-RevId: 2ab5e1ba035ea3946a733a06e44cc1f7b327cd36
|
2020-10-31 01:32:18 +03:00 |
|
levlam
|
b433905bb0
|
Increase version to 1.6.10.
GitOrigin-RevId: 5b448003c89f845050293a9fceb6a89cd8399ca7
|
2020-10-30 21:09:08 +03:00 |
|
levlam
|
ed24ba28df
|
Update last pinned message ID after receiving pinned message search results.
GitOrigin-RevId: 5847782e855561c3f17b8f2a3d3a3feb3fc096d9
|
2020-10-30 18:50:45 +03:00 |
|
levlam
|
e97d547edf
|
Add author_signature to message forward origin.
GitOrigin-RevId: df1046ec0a30e2ccf43867d6dcc4558b0212c0c6
|
2020-10-30 18:24:17 +03:00 |
|
levlam
|
e8d97ebbcd
|
Apply users and chats from channels.getDifference before creating the dialog.
GitOrigin-RevId: 5ee65a1b7c199daf38d94a7d93b8adfb6532703d
|
2020-10-30 18:09:57 +03:00 |
|
levlam
|
e5133445d3
|
Increase maximum allowed horizontal accuracy to 1500.
GitOrigin-RevId: a60447f8aa35253f6e04f1cb77d45643bb64c389
|
2020-10-30 17:01:06 +03:00 |
|
levlam
|
3f23a06473
|
Prettify query logging.
GitOrigin-RevId: 1e6e7285dab732e95593119d2e1e3f13f0d8bb15
|
2020-10-30 16:46:57 +03:00 |
|
levlam
|
f42532e9ed
|
Fix CHECK.
GitOrigin-RevId: b6b51f3e78f2f6c8e8a60df6f862ee3ef647e66a
|
2020-10-30 16:21:34 +03:00 |
|
levlam
|
5719636fa2
|
Add temporary reuse_uploaded_photos_by_hash option.
GitOrigin-RevId: 99fc8dae067322c51ad489f50d60979f62fa4213
|
2020-10-30 16:01:43 +03:00 |
|
levlam
|
6f4c4adcc8
|
Improve field names.
GitOrigin-RevId: ded67301be27af1f3b7c8f7e11b2172bb92934c7
|
2020-10-30 15:51:20 +03:00 |
|
levlam
|
979a1997d5
|
Preallocate response string in JSON interface.
GitOrigin-RevId: 73ab96ad95a46469e9afc59f02b48c8932457ef0
|
2020-10-30 01:02:44 +03:00 |
|
levlam
|
86c80e652e
|
Improve field names.
GitOrigin-RevId: 3c30190dc75bd5dc812078f33bbf9dcaaeba1a1a
|
2020-10-29 22:25:58 +03:00 |
|
levlam
|
ef1b2921ae
|
Add td_api::getCallbackQueryMessage.
GitOrigin-RevId: a5ca7eab673e00942b4e2fe7a9c6e17dfb3784f8
|
2020-10-29 01:06:07 +03:00 |
|
levlam
|
0a6ec2ce1c
|
Fix updating last pinned message.
GitOrigin-RevId: 880ef5fa1ef5c0e5ea0746ad8251912ee7ab672f
|
2020-10-28 20:20:11 +03:00 |
|
levlam
|
6572821eff
|
Update last_pinned_message_id by updates only if it is already inited.
GitOrigin-RevId: 28a4acb97a6c1e442bbcaa15239c9bf93fd68e40
|
2020-10-28 15:18:22 +03:00 |
|
levlam
|
3a87d1908f
|
Fix updating message.is_pinned.
GitOrigin-RevId: d00c962f66c04b6977b395ed2c35d2c97c1c51bc
|
2020-10-28 15:14:42 +03:00 |
|
levlam
|
974feddb4a
|
Reload full chat info after pinned message is dropped.
GitOrigin-RevId: 6cbf3d217b5da21f050715ed290cb122d6a4ef2c
|
2020-10-28 14:25:27 +03:00 |
|
levlam
|
a7e1f29f34
|
Fix updating of scheduled messages.
GitOrigin-RevId: 2744c6763bdb1e8fcfbdaa44b6f5f928e8fddbc7
|
2020-10-27 18:55:38 +03:00 |
|
levlam
|
8d2c2e586e
|
Disable message threads in non-root messages in non-linked groups.
GitOrigin-RevId: 71b2b3cdcf413353a76adb9524ddfdf5fe89b972
|
2020-10-27 15:10:56 +03:00 |
|
levlam
|
ecf9ea23ac
|
Remove accuracy from inline result description.
GitOrigin-RevId: 0c6ff5d197d2292c748c260d0afbdb0cd265f2ad
|
2020-10-26 23:12:04 +03:00 |
|
levlam
|
e94e4b8dff
|
tg_cli: add addadmin chat member status.
GitOrigin-RevId: e87588a4f1d3bd484b33aed530cd9f1a25e59ad6
|
2020-10-26 23:11:27 +03:00 |
|
levlam
|
38fe050dba
|
Update layer 120. New live location approaching API.
GitOrigin-RevId: 98e984a3c84deee3552eb01b53963a6a998c7eda
|
2020-10-25 00:49:41 +03:00 |
|
levlam
|
bc2de6e5c0
|
Fix td_api::userFullInfo field order.
GitOrigin-RevId: 420adf21e8be165f4783aa1aca4130fb579fa3c2
|
2020-10-24 16:42:17 +03:00 |
|
levlam
|
a27bf08319
|
Allow to block users using td_api::messageSenderChat.
GitOrigin-RevId: 71be9510975f0dd8354c2cffa829d707f80ee4d3
|
2020-10-24 02:18:11 +03:00 |
|
levlam
|
6006f92e96
|
tg_cli: add smad.
GitOrigin-RevId: 129344085b2f9e54ee33784d6c1c2665215a0329
|
2020-10-23 19:07:42 +03:00 |
|
levlam
|
7c5175b78a
|
Improve error message.
GitOrigin-RevId: dfa935cc2c2f65d61a969c8a455a47145f97b8fb
|
2020-10-23 15:25:46 +03:00 |
|
levlam
|
3eee4654f7
|
Add message to td_api::chatEventMessageUnpinned.
GitOrigin-RevId: f7c90fa7d782eb57288de582094688252f230b43
|
2020-10-23 14:04:00 +03:00 |
|
levlam
|
e37fde1baa
|
tg_cli: add searchMessagesFilterPinned.
GitOrigin-RevId: fd44a076dca80bee685d199c78e98bfa6c25d860
|
2020-10-23 13:42:08 +03:00 |
|
levlam
|
1049ae0630
|
Disallow pinning service messages.
GitOrigin-RevId: 18c23b8dbfe97e60e27fc605a145e11356231c38
|
2020-10-23 02:25:35 +03:00 |
|
levlam
|
65246318bb
|
Allow to pin chat messages only for self in private chats.
GitOrigin-RevId: 57f71b2728a47469ff8f2a53478300dd3c96f658
|
2020-10-23 02:12:32 +03:00 |
|
levlam
|
793e8409de
|
Add td_api::unpinAllChatMessages.
GitOrigin-RevId: ad5aa1cf7ea0f1ee770900f5f58409436029b9a7
|
2020-10-23 01:56:06 +03:00 |
|
levlam
|
313eeeedcc
|
Return back updating of last pinned message ID on new pinned message.
GitOrigin-RevId: 03dfeb882c56815a4c5e66af1280df232f2071f6
|
2020-10-21 14:56:05 +03:00 |
|
levlam
|
35045bf18e
|
Fix get_dialog_pinned_message.
GitOrigin-RevId: 19c58053e7d0d28729f6f7ca341b788df02a091d
|
2020-10-21 02:23:29 +03:00 |
|
levlam
|
e783b0c2ec
|
Enable background animation for slot machines with all reels equal.
GitOrigin-RevId: e6d0097ff049ece01be766d382defde3071a887b
|
2020-10-20 21:40:05 +03:00 |
|
levlam
|
4f7791121f
|
Update pinned message count when message.is_pinned changed.
GitOrigin-RevId: 924aa4f4fdd009d2eb8b6603e10d19566d346444
|
2020-10-20 20:44:46 +03:00 |
|
levlam
|
5442143aba
|
Rename pinned_message_id to last_pinned_message_id.
GitOrigin-RevId: c30148f3559f4ebecd3988c4bddc6cff82da3557
|
2020-10-20 20:28:37 +03:00 |
|
levlam
|
39fdab7b56
|
Remove chat.pinned_message_id field.
GitOrigin-RevId: 2a22d0eff8258e33aa7efd7b6f1daccdbcba95f9
|
2020-10-20 20:22:34 +03:00 |
|
levlam
|
31fbeaa2d0
|
Fix some pinned_message_id usages.
GitOrigin-RevId: 6c1952922e39214504705e6c4fb04474aba68c46
|
2020-10-20 19:58:59 +03:00 |
|
levlam
|
a9b7366296
|
Synchronize chat.pinned_message_id with message.is_pinned changes.
GitOrigin-RevId: 7d5debbdd6d44af3209c75745f49ad4a67b7a523
|
2020-10-20 19:07:11 +03:00 |
|
levlam
|
14f5df397d
|
Support unpinning chat messages.
GitOrigin-RevId: 5cc4f2f5642114fd31c8a2ae71c8fda501dc73f7
|
2020-10-20 15:48:13 +03:00 |
|
levlam
|
01447bb3f3
|
Process Message.is_pinned updates.
GitOrigin-RevId: 5dd3c0545a295c9faf408a3dbf8fb2767e290e34
|
2020-10-20 15:08:36 +03:00 |
|
levlam
|
ec61ef8093
|
Support document and audio albums in push notifications.
GitOrigin-RevId: afeefd5ae91bbcf44dc18ad0815afa9c23cea613
|
2020-10-20 13:21:09 +03:00 |
|
levlam
|
44b9ce89b8
|
Update layer to 120.
GitOrigin-RevId: 6318c68a9df151edc3c198473aeaf895d89fc594
|
2020-10-20 02:48:19 +03:00 |
|
levlam
|
f2f214f46b
|
Add searchMessagesFilterPinned.
GitOrigin-RevId: 322b7b59d91b0de47ac3bbc3734b1f81130fd152
|
2020-10-20 02:41:24 +03:00 |
|
levlam
|
ef09c6c5a9
|
Add message.is_pinned flag.
GitOrigin-RevId: 0449aaa0d12f29d722fbfcf4bad6d85f2212d819
|
2020-10-20 02:08:56 +03:00 |
|
levlam
|
9b8fc4b026
|
Add backward compatibility users for bots for all MessageSender objects.
GitOrigin-RevId: d91537e8d0fbf99d42b5dd05a34d923dd4e1597a
|
2020-10-19 22:15:40 +03:00 |
|
levlam
|
de1e5e0bd4
|
Add new message content type MessageLiveLocationApproached.
GitOrigin-RevId: 6bf5ac6b3320d0b6da9c27bf5258105ccd958396
|
2020-10-19 20:44:09 +03:00 |
|
levlam
|
91cf083c94
|
Add add_message_sender_dependencies function.
GitOrigin-RevId: 70f6ac49b7769d707079956df858e98409704a90
|
2020-10-19 19:17:56 +03:00 |
|
levlam
|
9a3653a017
|
Add {en,dis}ableLiveLocationApproachingNotification methods.
GitOrigin-RevId: d1b92e683a4d663c33a09e8eb42a3aa62d134ef0
|
2020-10-19 18:44:55 +03:00 |
|
levlam
|
827ceb3ee5
|
Add audio, video and video note without duration to shared media.
GitOrigin-RevId: 924a2b8654e1d118b26c6174af3c0ebd327d454f
|
2020-10-19 14:31:18 +03:00 |
|
levlam
|
4b62900c0d
|
Add chatMembersFilterMention.
GitOrigin-RevId: d84138594d1546275e5fea46d9cef42eac69449b
|
2020-10-19 14:06:35 +03:00 |
|
levlam
|
3f143b013a
|
Use class for DialogParticipantsFilter.
GitOrigin-RevId: 56fc4ee7a35412db965c668f6a116ae29074f0a4
|
2020-10-19 01:48:31 +03:00 |
|
levlam
|
80d19432bf
|
Add supergroupMembersFilterMention.
GitOrigin-RevId: 370a3880a371879aaefb41ad520917db3e33d679
|
2020-10-19 01:33:31 +03:00 |
|
levlam
|
27f63e9e2e
|
Replace getBlockedChats with getBlockedMessageSenders.
GitOrigin-RevId: 044f70ab823b8302dddc8b7a128f19514306272a
|
2020-10-18 02:10:58 +03:00 |
|
levlam
|
0834d6164b
|
Replace toggleChatIsBlocked with toggleMessageSenderIsBlocked.
GitOrigin-RevId: cec3ba4ba139593e8cbf9422711e79b4a736b6f3
|
2020-10-18 01:54:32 +03:00 |
|
levlam
|
62fbb88969
|
Rename blockChatFromReplies to blockMessageSenderFromReplies.
GitOrigin-RevId: 820cbd60145c339c6cf5a7d319ff540ce03861e2
|
2020-10-18 01:26:36 +03:00 |
|
levlam
|
2915129cd8
|
Allow message threads in all chats.
GitOrigin-RevId: 36652fbb9fb997fe41fd8bdf7b7172593fcc3629
|
2020-10-18 00:17:44 +03:00 |
|
levlam
|
30c17d200b
|
Use MessageSender to represent recent repliers.
GitOrigin-RevId: 2078a6b936d2087a1672eb96851494508f28a465
|
2020-10-18 00:07:39 +03:00 |
|
levlam
|
9fb26c4ea2
|
Return back UserFull.is_blocked.
GitOrigin-RevId: 98bc31a64c4c644fd6bb9e6e895d521b17df5afa
|
2020-10-17 23:38:07 +03:00 |
|
levlam
|
9558b06021
|
Add location horizontal accuracy support.
GitOrigin-RevId: bafb7f7ff115eeede17be4bb1610045b5e3e78c9
|
2020-10-17 22:47:47 +03:00 |
|
levlam
|
6e3eda2aa1
|
Add live location heading support.
GitOrigin-RevId: 67a1bdad91e82f6e7509f4df8c7f66a00e44ab83
|
2020-10-16 23:08:28 +03:00 |
|
levlam
|
d159ab4f52
|
Support audio-only and document-only albums.
GitOrigin-RevId: 96283716a84613e8e9dd1cb9bfb4d69097cefcc7
|
2020-10-15 18:13:54 +03:00 |
|
levlam
|
af6fe68c00
|
Allow to pin messages in all private chats.
GitOrigin-RevId: b5f55c22a6ec5950f5b88b66726bce918112d57f
|
2020-10-15 17:21:15 +03:00 |
|
levlam
|
fd9732dcfa
|
Add slot machine support.
GitOrigin-RevId: e0c3c5d9b2cff2870162f11983bd546aba101caf
|
2020-10-15 15:59:51 +03:00 |
|
levlam
|
33b7ba57a9
|
Add channelParticipantLeft support,
GitOrigin-RevId: 59d3ba88fb54c848d99425ec3ad95760d1765e3a
|
2020-10-14 22:35:30 +03:00 |
|
levlam
|
b1ed582737
|
Allow to specify a chat as a local message sender.
GitOrigin-RevId: f1f5251b617a6f17188c7db49450a2eb433ef14c
|
2020-10-14 21:47:20 +03:00 |
|
levlam
|
b07d9634d6
|
Allow to pass chat as MessageSender in searchChatMessages.
GitOrigin-RevId: 7b39f616b1677c03dab2bbe48311ba188ec9344b
|
2020-10-14 14:41:04 +03:00 |
|
levlam
|
e32e1c66e7
|
Add td_api::MessageSender class.
GitOrigin-RevId: 082a1e74188bffc590c4a4182793a9d94b60c148
|
2020-10-13 19:40:22 +03:00 |
|
levlam
|
d968fd0bed
|
Implement new chat action rules.
GitOrigin-RevId: 12214755c86adfee0a7b3ec5f6e39024364cdb99
|
2020-10-26 15:25:34 +03:00 |
|
levlam
|
881aa63014
|
Keep reply info only on last forwarded and first album messages.
GitOrigin-RevId: 0011332382abccd84122f88bcb2ae04ee793dd2b
|
2020-10-24 14:52:18 +03:00 |
|
levlam
|
978863810c
|
Use MessageId as map key.
GitOrigin-RevId: 795c123e953dbdae3c03b828b458910fe221ce90
|
2020-10-24 02:00:37 +03:00 |
|
levlam
|
0846e7aec5
|
Don't use iterators after a promise is set.
GitOrigin-RevId: eba7487d7025410ae4a2230d4ce09cfa02012fdf
|
2020-10-24 01:45:04 +03:00 |
|
levlam
|
c768cd202a
|
Improve deletion of newer messages in on_get_channel_dialog.
GitOrigin-RevId: 98a348ba63440d8e61c1199a68298cfa66b2a863
|
2020-10-23 14:50:05 +03:00 |
|
levlam
|
bf945e05be
|
Remove promise from map before setting it.
GitOrigin-RevId: d721cab5311096631748e632cf8756edaef9d7e1
|
2020-10-23 12:54:08 +03:00 |
|
levlam
|
f5c4b93a37
|
Use generic find_messages.
GitOrigin-RevId: ac5bb9be8a6597cbdafa3762e6d6cbf5f1720edc
|
2020-10-22 16:08:54 +03:00 |
|
levlam
|
4718e640ee
|
Add generic MessagesManager::find_messages.
GitOrigin-RevId: 21c6f0145376ef4a779703b8cf516a420418cb39
|
2020-10-22 15:59:59 +03:00 |
|
levlam
|
a6f9fde223
|
Update built-in bot flags.
GitOrigin-RevId: f54618d393b39e14f1269c8237d971ff47402a72
|
2020-10-22 13:21:51 +03:00 |
|
levlam
|
f9009cbc01
|
Improve checks in MessagesManager::is_anonymous_administrator.
GitOrigin-RevId: 332c324e1c067cc2ed394fedce16b590188e3ae7
|
2020-10-22 02:40:58 +03:00 |
|
levlam
|
f59a11706c
|
Use unique location for outgoing photos.
GitOrigin-RevId: ac3a0eed1847ee7b96d463758ee33b85c6797ac5
|
2020-10-22 02:11:32 +03:00 |
|
levlam
|
0256a95f49
|
Fix GetChannelDifferenceLogEvent handling.
GitOrigin-RevId: facbb318cbba1c9ac6908db86ec5fba123c88d7b
|
2020-10-21 16:54:32 +03:00 |
|
levlam
|
d17531e0e3
|
Ensure that private message push notifications don't contain mention.
GitOrigin-RevId: 87d85e63b70fdc5c9fe91d22d7cf9b7ba59f0895
|
2020-10-20 21:24:26 +03:00 |
|
levlam
|
06bb6b4b11
|
Ignore anonymous status for bots.
GitOrigin-RevId: c3b5316fcb2a538655c4a2eeb09ef5df08794212
|
2020-10-19 21:43:44 +03:00 |
|
Arseny Smirnov
|
add7211707
|
tdweb: 1.6.9
GitOrigin-RevId: e1124a86c021c43c42ad00dc18dc9db0cbcacad1
|
2020-10-20 22:23:52 +03:00 |
|
levlam
|
5fc7a7727e
|
Use error code 500 for "Requested data is inaccessible" errors.
GitOrigin-RevId: 2d39f90cd196f508b288089433ba2f066b5fcb22
|
2020-10-18 01:03:16 +03:00 |
|
levlam
|
b03e0a827e
|
Remove wrong because of call through send_closure_later CHECK.
GitOrigin-RevId: c61586c3dde988c3174f4ce3e05fe0f08d7af468
|
2020-10-14 19:03:36 +03:00 |
|
levlam
|
a487d20e2d
|
Fix service message reply_to_message_id.
GitOrigin-RevId: b0c430c6c04167b15e4b195d86d584e376f88efe
|
2020-10-14 17:30:55 +03:00 |
|
levlam
|
a57d9ccbea
|
Don't add dummy message sender for bots on TDLib's side.
GitOrigin-RevId: d1ab4f7ca2739d30b0960f655478404d34d40757
|
2020-10-13 17:25:25 +03:00 |
|
levlam
|
348fdf1a31
|
Add "group_anonymous_bot_user_id" option.
GitOrigin-RevId: efb6ee569861df005a53fd0255c50fdfa0460382
|
2020-10-13 17:02:10 +03:00 |
|
levlam
|
1aff1e75ef
|
Fix net query Counter initialization.
GitOrigin-RevId: ba23b816cfed060cea15244e3f2264f74c89d390
|
2020-10-13 02:30:40 +03:00 |
|
levlam
|
c1309d7657
|
Do not return deleted secret chats and replace migrated basic groups with corresponding supergroups in recently found chats.
GitOrigin-RevId: e50390583e3956a4eb8fdb92ec8a82f04cc7914f
|
2020-10-12 11:33:16 +03:00 |
|
levlam
|
fbeea0b108
|
Add is_deleted_secret_chat method.
GitOrigin-RevId: eae2a7bcdf92587bbd77cf7c42c210b74107d8a4
|
2020-10-12 10:56:01 +03:00 |
|
levlam
|
3c5b09bad7
|
Hide photo sizes, which can't be downloaded.
GitOrigin-RevId: 420860824f41d5fecbb935c756d9b6f0a2564cb7
|
2020-10-12 10:31:57 +03:00 |
|
levlam
|
a4b71466e0
|
Minor improvements.
GitOrigin-RevId: 4f0c8840ee69c7a690cb12c5e36231cf9da6d91c
|
2020-10-12 10:24:30 +03:00 |
|
levlam
|
4da9f9d334
|
Use stable sort for photo sizes to keep "i" the last.
GitOrigin-RevId: 7feab3e73a3a03bc9fd3a0e76e05ab4cbb0f10d2
|
2020-10-12 10:17:02 +03:00 |
|
levlam
|
fb1307ff60
|
Check for unneeded chat actions only while trying to send it.
GitOrigin-RevId: 7067f21e42ba0d3c3dc797f72341681e32998e6a
|
2020-10-12 01:48:13 +03:00 |
|
levlam
|
9856b0e46e
|
Add some workariunds for crashes on exit without closing all clients.
GitOrigin-RevId: 5c74e9fe6951b6a8eb65d6c1e5ddf7bf8e0c8163
|
2020-10-11 21:21:38 +03:00 |
|
levlam
|
10a7edfbea
|
Disable logging after program exit.
GitOrigin-RevId: 8ca24e1999fe95f171e18477baa2e56912a2e895
|
2020-10-11 14:45:22 +03:00 |
|
levlam
|
714f037f15
|
Move ClientManager singleton creation to ClientManager::get_manager_singleton.
GitOrigin-RevId: 071b947ff072186c70387cbd00f1c6b1c17d0e6b
|
2020-10-11 11:08:56 +03:00 |
|
levlam
|
09f906f192
|
Protect access to some static variables using ExitGuard.
GitOrigin-RevId: 65c7510c60d585b90e90d09067c7dfdaf79c4cd3
|
2020-10-11 01:59:27 +03:00 |
|
levlam
|
c484cc4773
|
Postpone td_api::authorizationStateClosed until the client is fully closed.
GitOrigin-RevId: 064696a00110c1f567b6da6afbee58d868ff4938
|
2020-10-10 22:08:41 +03:00 |
|
levlam
|
2850e596d3
|
Fix ConcurrentScheduler guard usage.
GitOrigin-RevId: 6f4dd470a690cdbe98870c89433634b31136f832
|
2020-10-10 22:05:20 +03:00 |
|
levlam
|
84ea5b06c9
|
Minor.
GitOrigin-RevId: 1e722a9e8ad6ddd894f9fd4e1b05529aa4aa6a15
|
2020-10-10 22:02:59 +03:00 |
|
levlam
|
cebc6c1fb4
|
Remove empty requests logging.
GitOrigin-RevId: fdc488bfee7e974f5aca3322d7d028ed797b312f
|
2020-10-09 18:00:38 +03:00 |
|
levlam
|
30471b7099
|
Do not send chat actions to offline users like the main Android client.
GitOrigin-RevId: 6299f69ade490fa10bad74779b30a0d73a145ff2
|
2020-10-09 15:42:57 +03:00 |
|
levlam
|
38f72b353a
|
Clear ClientManager when the last Client is closed.
GitOrigin-RevId: d2d5194f7ffc59dc8db1196401c80689a8645dac
|
2020-10-09 15:39:30 +03:00 |
|
levlam
|
b491964a81
|
Store TdReceiver by value.
GitOrigin-RevId: 51dbcaf815c5ba1a42539242b1e57b456f188d38
|
2020-10-09 14:25:06 +03:00 |
|
levlam
|
35a9a93fc9
|
Fix std::...::erase return value usages.
GitOrigin-RevId: d9729ccd619e3b99554f1e1c2262d8826f0a8571
|
2020-10-08 23:04:40 +03:00 |
|
levlam
|
54f32ebc80
|
Add source to resolve_dependencies_force.
GitOrigin-RevId: b09c73df688eea5872d65ec56f0ae1cb10717542
|
2020-10-08 22:54:24 +03:00 |
|
levlam
|
13f7c8a1aa
|
Add reply_info to messageThreadInfo.
GitOrigin-RevId: fd417ea9ed2f95d79ca3346e4fcb52f4bf8882f2
|
2020-10-08 21:30:21 +03:00 |
|
levlam
|
e5e9eb3838
|
Add MessageReplyInfo::get_message_reply_info_object.
GitOrigin-RevId: 8d46914fd096afca99942bec63f2c6f65f9cbb9e
|
2020-10-08 21:17:24 +03:00 |
|
levlam
|
6f71dca6e6
|
Remove some explicit td::.
GitOrigin-RevId: 93e5f0e98900a9a3b68f35e9123b2b40942879d3
|
2020-10-08 18:44:34 +03:00 |
|
Arseny Smirnov
|
cee68e5a48
|
Client: bugfix
GitOrigin-RevId: 0267cb2475fecae85d85f03abc96215762dc46e0
|
2020-10-08 16:14:01 +03:00 |
|
levlam
|
fdc3920572
|
Fix some includes.
GitOrigin-RevId: 4b57613cc6e948ceb7d63b4378bc9124271e0f53
|
2020-10-08 18:30:36 +03:00 |
|
levlam
|
6bbb7cde8d
|
Remove unneeded explicit td:: usages.
GitOrigin-RevId: a6d2bf8a1e13f35dd07b9ce43f4320e93cf36040
|
2020-10-08 15:20:22 +03:00 |
|
levlam
|
be374f38ac
|
Improve error message for requests to closed client.
GitOrigin-RevId: 4870c3614ea52ecd0fd1124dfc517471b6d30b55
|
2020-10-08 13:59:03 +03:00 |
|
levlam
|
582206d641
|
Use Random::fast_bool.
GitOrigin-RevId: 42da8a237c6dfbb6e72bc5b21482891b6c9d58b5
|
2020-10-08 12:56:08 +03:00 |
|
levlam
|
6d1d227609
|
Use new JSON interface in Emscripten.
GitOrigin-RevId: 5294d98c5f615256ea41887c04f863d1adaf4de1
|
2020-10-08 02:52:34 +03:00 |
|
levlam
|
8460bb7cd5
|
Fix tdweb build.
GitOrigin-RevId: 8f348a00d05336163c7ea4214ab35a4aea2d2b65
|
2020-10-08 02:12:51 +03:00 |
|
levlam
|
5ac5acd1cb
|
Fix ClientManager closing.
GitOrigin-RevId: eb588d9991ea6c8c2b4a339d1396d58179c84f43
|
2020-10-08 01:28:24 +03:00 |
|
levlam
|
d0a495d437
|
Send errors synchronously during Td close to prevent answer losing after Td stop.
GitOrigin-RevId: c9a8253d064ba997a7a7b2e7cbe581be9f86d0c7
|
2020-10-08 00:51:49 +03:00 |
|
levlam
|
74987bf8f0
|
Do not build MultiTd without threads.
GitOrigin-RevId: 7707b2922937604b31eff50e67d7ba921c279f48
|
2020-10-06 20:47:22 +03:00 |
|
levlam
|
d875581772
|
Simplify Client closing.
GitOrigin-RevId: 9a35d7ef66cea495d376a98df81a568478b0bb35
|
2020-10-06 20:46:54 +03:00 |
|
levlam
|
29f3c91596
|
Fix request errors during closing.
GitOrigin-RevId: 6587b35bcb7aef082686a93e75ae8b891113da0b
|
2020-10-06 02:12:50 +03:00 |
|
levlam
|
f7393d2717
|
Fix handling of requests to unexisting Client.
GitOrigin-RevId: 5de9709abe73ae73dc52c9ca04c480a60efbf437
|
2020-10-05 23:05:16 +03:00 |
|
levlam
|
8a607933a7
|
Rename "files" log tag to "file_loader".
GitOrigin-RevId: 24fca707a99eeb32adabcca46131123d584f2c1d
|
2020-10-05 22:08:24 +03:00 |
|
levlam
|
da55a34afc
|
Remove ability to change update handler after client creation.
GitOrigin-RevId: 917737a440afaeb99f8a8ca809cda2d267bb4b02
|
2020-10-05 20:18:59 +03:00 |
|
levlam
|
5f605d2dd2
|
Fix spelling of "update handler".
GitOrigin-RevId: 2137852d967606e909e82396b4103817b1b39386
|
2020-10-05 20:13:15 +03:00 |
|
levlam
|
d2d0cb5cc0
|
Move log tags definitions out of logging.cpp.
GitOrigin-RevId: 0e74b94ec194f8ee678bb77a04d35df46702b330
|
2020-10-05 18:07:23 +03:00 |
|
levlam
|
7d6f14db10
|
Add new JSON interface.
GitOrigin-RevId: aaf756de59e72f949c1150d99e1277047f25fac9
|
2020-10-05 16:08:07 +03:00 |
|
levlam
|
119fc9563a
|
Return raw pointer as ClientJson response.
GitOrigin-RevId: 6b309681539b3ee9b2c2e87c57ed4cc8f94d798f
|
2020-10-05 15:48:37 +03:00 |
|
levlam
|
3fc140b4a2
|
Add ClientManager documentation.
GitOrigin-RevId: 5254af6d55288851e633a6567d700f6b15b18d1a
|
2020-10-05 14:32:23 +03:00 |
|
levlam
|
77fff9c578
|
Use GroupAnonymousBot as a fallback sender for bots instead of 777000.
GitOrigin-RevId: 30e2ff3c9db2efc05b3bcbfd610ad8d6492ad66e
|
2020-10-05 00:51:45 +03:00 |
|
levlam
|
ccc9169051
|
Load all service accounts in getUser.
GitOrigin-RevId: 6e36be3e2e9e8decae1cc599b714ff218b892841
|
2020-10-05 00:19:49 +03:00 |
|