levlam
|
2af179b81a
|
Update layer 129.
|
2021-06-01 18:52:58 +03:00 |
|
levlam
|
76f134c0e7
|
Add td_api::getInternalLinkType.
|
2021-06-01 05:41:32 +03:00 |
|
levlam
|
1de8b85809
|
Add internalLinkTypeSettings.
|
2021-06-01 03:55:08 +03:00 |
|
levlam
|
6f88008e84
|
Remove enum InternalLinkType.
|
2021-06-01 03:35:01 +03:00 |
|
levlam
|
9cecc116f3
|
Prefer US spelling of "canceled".
|
2021-05-31 21:51:48 +03:00 |
|
levlam
|
181e48685e
|
Add internalLinkTypePassportDataRequest.
|
2021-05-31 21:41:40 +03:00 |
|
levlam
|
7e61f9c95c
|
Improve error message.
|
2021-05-31 20:06:08 +03:00 |
|
levlam
|
3860e8eea5
|
Add internalLinkTypePublicChat.
|
2021-05-31 04:15:33 +03:00 |
|
levlam
|
27369944a7
|
Add internalLinkTypeGame.
|
2021-05-30 03:46:06 +03:00 |
|
levlam
|
1eb62acc07
|
Add internalLinkTypeBotStart.
|
2021-05-30 03:25:45 +03:00 |
|
levlam
|
938d14ab75
|
Add internalLinkTypeVoiceChat.
|
2021-05-30 02:05:23 +03:00 |
|
levlam
|
f156da28a0
|
Don't update ChannelFull.participant_count by unknown Channel.participant_count.
|
2021-05-29 23:35:26 +03:00 |
|
levlam
|
374b7eeaec
|
Disable notifications about messages sent before authorization just in case.
|
2021-05-29 23:08:08 +03:00 |
|
levlam
|
2f07ad223e
|
Add internalLinkTypeProxy.
|
2021-05-29 03:51:31 +03:00 |
|
levlam
|
a77707d8d5
|
Support t.me/s/ links.
|
2021-05-28 20:36:05 +03:00 |
|
levlam
|
ee8e0ec2ad
|
Add internalLinkTypeTheme.
|
2021-05-28 19:50:54 +03:00 |
|
levlam
|
8d8a5d0b30
|
Add internalLinkTypeLanguagePack.
|
2021-05-28 19:26:09 +03:00 |
|
levlam
|
2cb2ecc921
|
tg_cli: join group call with enabled video.
|
2021-05-28 18:43:50 +03:00 |
|
levlam
|
cd95e84990
|
Add internalLinkTypePhoneNumberConfirmation.
|
2021-05-28 18:17:14 +03:00 |
|
levlam
|
feb01a71bb
|
Add internalLinkTypeStickerSet.
|
2021-05-28 17:27:30 +03:00 |
|
levlam
|
410e35231f
|
Remove old_min_order variable.
|
2021-05-28 03:35:17 +03:00 |
|
levlam
|
be45c178bb
|
Simplify condition when group call participant order is updated.
|
2021-05-28 03:30:08 +03:00 |
|
levlam
|
fdc9459d10
|
Expect get_real_participant_order to return value different from stored participant.order.
|
2021-05-28 03:04:40 +03:00 |
|
levlam
|
98982374ee
|
Don't store userProfilePhoto.stripped_thumb_.
|
2021-05-27 21:26:24 +03:00 |
|
levlam
|
d7c739dc70
|
Ignore document and chat photo minithumbnails by bots.
|
2021-05-27 21:15:30 +03:00 |
|
levlam
|
5832a59ee5
|
Move get_message_link_info to LinkManager.
|
2021-05-27 20:47:04 +03:00 |
|
levlam
|
2d534e48d6
|
Move get_dialog_invite_link_hash to LinkManager.
|
2021-05-27 20:31:06 +03:00 |
|
levlam
|
ffa1da2cac
|
Add internalLinkTypeChatInviteLink.
|
2021-05-27 18:37:01 +03:00 |
|
Andrea Cavalli
|
2c77e82300
|
Merge remote-tracking branch 'td/master' into dev
|
2021-05-27 00:50:41 +02:00 |
|
levlam
|
30f0509f71
|
Add internalLinkTypeQrCodeAuthentication.
|
2021-05-27 01:25:11 +03:00 |
|
levlam
|
38d71ca7e0
|
Add td_api::internalLinkTypeAuthenticationCode.
|
2021-05-27 01:02:12 +03:00 |
|
levlam
|
3e0e9f5291
|
Parse background parameters in searchBackground.
|
2021-05-26 20:25:37 +03:00 |
|
levlam
|
afb58801ec
|
Add LinkManager::parse_internal_link test.
|
2021-05-26 16:44:49 +03:00 |
|
levlam
|
f2ab121fe4
|
Add LinkManager::check_link test.
|
2021-05-26 01:21:52 +03:00 |
|
levlam
|
5c11d7de36
|
Improve InternalLinkMessageDraft.
|
2021-05-25 19:33:39 +03:00 |
|
levlam
|
472e0d9221
|
Add internalLinkTypeUnknownDeepLink.
|
2021-05-25 19:30:23 +03:00 |
|
levlam
|
79bcfb4915
|
Add internalLinkTypeMessageDraft.
|
2021-05-25 19:05:17 +03:00 |
|
levlam
|
d6e3a56ab8
|
Use LinkManager::get_link_info in get_message_link_info.
|
2021-05-25 17:16:50 +03:00 |
|
levlam
|
acd6caae9b
|
Add class td_api::InternalLinkType and parse some intenal links.
|
2021-05-25 17:06:27 +03:00 |
|
levlam
|
198af82254
|
Move check_url to LinkManager.
|
2021-05-25 02:53:25 +03:00 |
|
levlam
|
62db52a23e
|
Move LoginUrl-related methods to LinkManager.
|
2021-05-25 02:39:29 +03:00 |
|
levlam
|
d946ab9267
|
Add empty LinkManager.
|
2021-05-25 02:24:30 +03:00 |
|
levlam
|
25c2692cf1
|
Improve td_json_client.h documentation.
|
2021-05-22 23:28:23 +03:00 |
|
levlam
|
df5806317b
|
Fix warning.
|
2021-05-21 03:04:58 +03:00 |
|
levlam
|
bb957644cf
|
Add td_api::backgroundFillFreeformGradient.
|
2021-05-21 01:49:59 +03:00 |
|
levlam
|
65c3c89ad6
|
Improve LogMessageCallbackPtr documentation.
|
2021-05-20 18:30:46 +03:00 |
|
levlam
|
3f9b3046a6
|
Disable logMessageCallback for C++/CLI.
|
2021-05-20 10:29:50 +03:00 |
|
levlam
|
58a12aca83
|
Support logMessageCallback in .NET bindings.
|
2021-05-20 02:54:49 +03:00 |
|
Fela Ameghino
|
a0728a9476
|
Added SetFatalErrorCallback to CX/CLI Client (#1490)
|
2021-05-20 02:36:47 +03:00 |
|
levlam
|
5dcd254623
|
Add BackgroundFill::Type,
|
2021-05-20 02:21:20 +03:00 |
|
levlam
|
d710058f2a
|
Move value checks in get_background_fill.
|
2021-05-20 01:57:38 +03:00 |
|
levlam
|
9662679968
|
Process updateMessagePollVote as qts update.
|
2021-05-18 19:33:18 +03:00 |
|
levlam
|
7edffa1bc7
|
Move TsLog out of logging.h.
|
2021-05-18 17:41:33 +03:00 |
|
levlam
|
674a112bfa
|
Add NullLog.h.
|
2021-05-18 17:13:26 +03:00 |
|
levlam
|
f72195baab
|
Remove TC_* defines.
|
2021-05-18 16:55:35 +03:00 |
|
levlam
|
d34680b83f
|
Remove set_log_fatal_error_callback. Add td_set_log_message_callback, deprecate td_set_log_fatal_error_callback.
|
2021-05-18 04:41:09 +03:00 |
|
levlam
|
41d75d8c99
|
tg_cli: fix response printing.
|
2021-05-17 23:41:20 +03:00 |
|
levlam
|
d03bad88b4
|
Improve log messages.
|
2021-05-17 19:11:59 +03:00 |
|
levlam
|
fdeaafa70d
|
tg_cli: always write log to file.
|
2021-05-17 17:33:26 +03:00 |
|
levlam
|
13a21b4fe2
|
Make LogInterface::append non-virtual.
|
2021-05-17 16:18:19 +03:00 |
|
levlam
|
a6a4eb6616
|
Don't include SliceBuilder.h in logging.h.
|
2021-05-17 15:21:11 +03:00 |
|
levlam
|
17a1015f6b
|
Remove dependency of PSLICE/PSTRING on Logger, move them to separate header and make them always safe.
|
2021-05-17 03:24:54 +03:00 |
|
levlam
|
29230948c3
|
Remove redundant LogInterface::rotate overrides.
|
2021-05-17 02:04:50 +03:00 |
|
levlam
|
3798ecaef5
|
Move outgoing query logging to INFO.
|
2021-05-17 00:12:52 +03:00 |
|
levlam
|
8a7a3f403b
|
Try to create secret chat dialog when receive new message in it.
|
2021-05-16 02:11:37 +03:00 |
|
levlam
|
add28462a0
|
Fix Slice underflow.
|
2021-05-14 13:18:52 +03:00 |
|
levlam
|
d794866448
|
Add description to groupCallParticipantVideoInfo.
|
2021-05-11 17:58:00 +03:00 |
|
levlam
|
eecb0476b5
|
Unify error messages for private and secret chats.
|
2021-05-10 19:36:18 +03:00 |
|
levlam
|
260eee8bff
|
Avoid upgrade of read transaction to a write transaction.
|
2021-05-10 01:59:35 +03:00 |
|
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 |
|
Andrea Cavalli
|
344ebbaefc
|
Bugfix
|
2021-05-04 23:34:45 +02:00 |
|
Andrea Cavalli
|
99ffef30b6
|
Bugfix
|
2021-05-04 23:26:04 +02:00 |
|
Andrea Cavalli
|
40048f12ca
|
Merge
|
2021-05-04 22:17:39 +02:00 |
|
levlam
|
138bf15dec
|
Add getGroupCallMediaChannelDescriptions method.
|
2021-05-03 21:44:21 +03:00 |
|
levlam
|
529213030c
|
Add class groupCallParticipantVideoInfo.
|
2021-05-03 16:30:14 +03:00 |
|
levlam
|
84b96be914
|
Fix error handling in process_join_group_call_presentation_response.
|
2021-05-02 02:47:34 +03:00 |
|
levlam
|
8485867fe0
|
Add toggleGroupCallIsMyVideoEnabled.
|
2021-05-02 02:40:22 +03:00 |
|
levlam
|
8e0f14bc93
|
Allow to join group call with enabled/disabled video.
|
2021-05-01 21:13:51 +03:00 |
|
levlam
|
31c36aaa7a
|
Add td_api::endGroupCallScreenSharing.
|
2021-04-30 20:21:07 +03:00 |
|
levlam
|
2225e56906
|
Add startGroupCallScreenSharing.
|
2021-04-30 19:53:39 +03:00 |
|
levlam
|
2061210089
|
Add groupCall.can_start_video.
|
2021-04-30 18:19:05 +03:00 |
|
levlam
|
6e7c53eb74
|
Remove legacy groupCall payload types.
|
2021-04-30 17:49:00 +03:00 |
|
levlam
|
d8b905a986
|
Update layer to 129.
|
2021-04-30 17:07:01 +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 |
|
Andrea Cavalli
|
ee7ffd085f
|
Merge remote-tracking branch 'tdlib/master'
|
2021-04-13 16:11:57 +02: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
|
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
|
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 |
|
Andrea Cavalli
|
799d106c49
|
Merge remote-tracking branch 'td/master'
|
2021-04-10 19:44:10 +02: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
|
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
|
441dd127b3
|
Set alpha channel in payment form theme.
|
2021-04-08 16:13:21 +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
|
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
|
55662f5db6
|
Add CHECK debug.
|
2021-04-06 12:33:08 +03:00 |
|