levlam
|
9176381cff
|
Add debug for failed CHECK.
|
2021-05-09 18:43:39 +03:00 |
|
levlam
|
0d41ba340f
|
Ensure that ChannelFull isn't loaded in on_channel_status_changed and on_channel_username_changed.
|
2021-05-09 18:14:43 +03:00 |
|
levlam
|
c0c5e24b9b
|
Drop slow_mode_delay in saved to database ChannelFull if slow mode is disabled in the channel.
|
2021-05-09 03:23:45 +03:00 |
|
levlam
|
4a13e791bb
|
Don't load ChannelFull from database in invalidate_channel_full.
|
2021-05-09 03:21:18 +03:00 |
|
levlam
|
25a6cb07bc
|
Add more checks.
|
2021-05-09 02:53:15 +03:00 |
|
levlam
|
ec362f9e2b
|
Add more logging on failed CHECK.
|
2021-05-09 01:00:02 +03:00 |
|
levlam
|
6baf923f07
|
Fix handling of left dialogs, which are still pinned in filters.
|
2021-05-09 00:31:43 +03:00 |
|
levlam
|
9c49e6a625
|
Log versions on Td instance creation.
|
2021-05-07 20:52:54 +03:00 |
|
levlam
|
7dbee21918
|
Fix sending of updateGroupCallParticipant in some rare cases.
|
2021-05-07 02:10:37 +03:00 |
|
levlam
|
75e593fd51
|
Return errors with code 400 from FileManager::from_persistent_id.
|
2021-04-29 16:04:04 +03:00 |
|
levlam
|
b48421a7a1
|
Resplit splittable entities before sending them to the server.
|
2021-04-28 22:10:39 +03:00 |
|
levlam
|
b659909b1c
|
Use generic variant operator== to compare PhotoSizeSource.
|
2021-04-15 21:24:55 +03:00 |
|
levlam
|
cba755d185
|
Fix handling of pre-initialization requests in Decrypt state.
|
2021-04-15 21:07:05 +03:00 |
|
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 |
|