levlam
|
aba5b1ab7c
|
Use autoincremented IDs for local backgrounds.
|
2021-06-10 03:57:58 +03:00 |
|
levlam
|
a04a481fd4
|
Remove unused variable.
|
2021-06-10 02:42:30 +03:00 |
|
levlam
|
ab4373833b
|
Make BackgroundFill fields private.
|
2021-06-10 02:16:46 +03:00 |
|
levlam
|
636aa3f74e
|
Improve BackgroundType constructor.
|
2021-06-10 02:09:16 +03:00 |
|
levlam
|
8b3c7b2c39
|
Impriove BackgroundType field names style.
|
2021-06-10 01:44:46 +03:00 |
|
levlam
|
958e1a83b1
|
Make BackgroundType fields private.
|
2021-06-10 01:29:42 +03:00 |
|
levlam
|
7b2c6bdbdb
|
Move BackgroundType methods inside the class.
|
2021-06-09 21:19:08 +03:00 |
|
levlam
|
d768a194f6
|
Add BackgroundType::get_mime_type.
|
2021-06-09 20:58:39 +03:00 |
|
levlam
|
2657f41775
|
Use BackgroundType::has_file if possible.
|
2021-06-09 20:48:15 +03:00 |
|
levlam
|
8b87e8ed56
|
Allow pre, TextUrl and TextMention entities, containing only new lines.
|
2021-06-09 20:35:02 +03:00 |
|
levlam
|
3614425c8a
|
Add is_hidden_data_entity function.
|
2021-06-09 19:59:52 +03:00 |
|
levlam
|
4a35b3e621
|
Remove BackgroundType::is_server.
|
2021-06-09 19:19:48 +03:00 |
|
levlam
|
5188a5b5e7
|
Allow to set non-local filled backgrounds.
|
2021-06-09 19:08:47 +03:00 |
|
levlam
|
d10cc1eb77
|
Add and use BackgroundId::is_local.
|
2021-06-09 17:14:10 +03:00 |
|
levlam
|
197992da2c
|
Add logging on failed check.
|
2021-06-09 00:56:08 +03:00 |
|
levlam
|
d80b613b55
|
Remove support for secret chat layers before 73.
|
2021-06-08 18:31:29 +03:00 |
|
levlam
|
c30ccd1e0d
|
Support removing Fill backgrounds from default list.
|
2021-06-08 01:10:19 +03:00 |
|
levlam
|
36bcbcb418
|
Simplify background unsaving.
|
2021-06-07 20:46:57 +03:00 |
|
levlam
|
c91653ba58
|
tg_cli: start group call screen sharing with different source identifiers.
|
2021-06-07 19:35:12 +03:00 |
|
levlam
|
554d1e3677
|
Apply self-leaving from group call through on_group_call_left_impl after other updates.
|
2021-06-07 16:56:56 +03:00 |
|
levlam
|
06409d68f5
|
Update order of group call participants after min_order is decreased.
|
2021-06-06 03:22:43 +03:00 |
|
levlam
|
d2f575fc1c
|
Ignore FTP links in get_first_url.
|
2021-06-04 21:33:20 +03:00 |
|
levlam
|
89459ca497
|
Replace getInviteText with getApplicationDownloadLink.
|
2021-06-04 19:31:18 +03:00 |
|
levlam
|
70a76e333f
|
Erase server_time_difference from binlog if time adjustment protection is disabled.
|
2021-06-04 17:18:59 +03:00 |
|
levlam
|
2af0aa0074
|
Support negative background intensity.
|
2021-06-04 16:05:29 +03:00 |
|
levlam
|
4b2c948a99
|
Minor.
|
2021-06-04 02:18:57 +03:00 |
|
levlam
|
af33e8343a
|
Improve method name.
|
2021-06-04 01:17:15 +03:00 |
|
levlam
|
a96bf1531a
|
Use FullMessageId in get_login_button_url.
|
2021-06-03 23:37:56 +03:00 |
|
levlam
|
fa7ce9b94d
|
Move get_external_link_info to LinkManager.
|
2021-06-03 23:19:35 +03:00 |
|
levlam
|
126a20c318
|
Reload voice chat when user opens a voice chat link.
|
2021-06-03 20:16:14 +03:00 |
|
levlam
|
a630c87178
|
Add tg URLs parsing.
|
2021-06-03 18:27:40 +03:00 |
|
levlam
|
2fb9df33d2
|
Check tg link host characters in check_link.
|
2021-06-03 17:17:36 +03:00 |
|
levlam
|
ce2202b1cc
|
Remove only_urls parameter from find_entities.
|
2021-06-03 15:38:26 +03:00 |
|
levlam
|
c9de490c7f
|
Allow dashes in URLs.
|
2021-06-03 15:21:26 +03:00 |
|
levlam
|
69cd3e9ced
|
Improve header name.
|
2021-06-02 16:22:30 +03:00 |
|
levlam
|
8db4febd4c
|
Minor improvements.
|
2021-06-02 15:43:56 +03:00 |
|
levlam
|
1554044a84
|
Simplify removing packet padding.
|
2021-06-02 01:50:00 +03:00 |
|
levlam
|
63fd974e35
|
Add setGroupCallScreenSharingIsPaused.
|
2021-06-02 00:38:08 +03:00 |
|
levlam
|
6eb49775de
|
Add GroupCallParticipant,can_enable_video.
|
2021-06-01 23:57:04 +03:00 |
|
levlam
|
0202ade138
|
Add groupCallParticipantVideoInfo.is_paused.
|
2021-06-01 22:34:50 +03:00 |
|
levlam
|
b074bce314
|
Add is_my_video_paused.
|
2021-06-01 20:11:18 +03:00 |
|
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 |
|
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
|
9662679968
|
Process updateMessagePollVote as qts update.
|
2021-05-18 19:33:18 +03:00 |
|
levlam
|
d794866448
|
Add description to groupCallParticipantVideoInfo.
|
2021-05-11 17:58:00 +03: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
|
daef481ac0
|
Add group video calls support.
|
2021-01-12 17:05:25 +03:00 |
|
levlam
|
4bb76a7b6f
|
Update layer to 128. Remove photo volume_id/local_id.
|
2021-04-16 17:43:51 +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
|
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
|
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 |
|
Joshua M. Clulow
|
ed291840d3
|
add illumos support (#1501)
|
2021-04-29 16:40:08 +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
|
338e4085d5
|
Improve scheduled voice chats documentation.
|
2021-04-09 02:29:27 +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
|
c6dec21cb6
|
Improve getExternalLinkInfo documentation.
|
2021-03-21 03:13:43 +03:00 |
|
levlam
|
f0e7b211c3
|
Use case-insensitive comparison for short mention entities.
|
2021-03-20 22:57:34 +03:00 |
|
levlam
|
70b71d569b
|
Use AccessRights::Know when edit channel participants.
|
2021-03-19 23:41:19 +03:00 |
|
levlam
|
302e5940d4
|
Update version to 1.7.3.
|
2021-03-19 15:30:40 +03:00 |
|
levlam
|
2f2d2004e6
|
Create Dialog for recently speaking channels.
|
2021-03-19 04:28:00 +03:00 |
|
levlam
|
78f5b24f35
|
Synchronize group call participant_count with known number of participants.
|
2021-03-19 04:02:53 +03:00 |
|
levlam
|
cebcdbd88b
|
Automatically call update_group_call_dialog in set_group_call_participant_count.
|
2021-03-19 03:30:39 +03:00 |
|
levlam
|
af7e26bc49
|
Try to process versioned updates with old version.
|
2021-03-19 02:51:50 +03:00 |
|
levlam
|
6656cd29f9
|
Add version to GroupCallParticipant.
|
2021-03-19 02:44:20 +03:00 |
|
levlam
|
b6f900b74f
|
Process mute updates as soon as possible.
|
2021-03-19 02:25:54 +03:00 |
|
levlam
|
f670aeb2b3
|
Simplify mute_updates processing.
|
2021-03-19 02:20:22 +03:00 |
|
levlam
|
12a755d921
|
Don't ignore update about ended group call if group call is being joined.
|
2021-03-19 01:28:18 +03:00 |
|
levlam
|
81f20ae4ec
|
Ignore FLOOD_WAIT errors got getGroupCallStreamSegment.
|
2021-03-19 01:24:57 +03:00 |
|
levlam
|
a6337c2d37
|
Improve logging.
|
2021-03-19 00:41:35 +03:00 |
|
levlam
|
ea5a7bade7
|
Add set_group_call_participant_count method.
|
2021-03-19 00:18:55 +03:00 |
|
levlam
|
35250a91bd
|
Keep active date while adjusting min-order.
|
2021-03-19 00:03:34 +03:00 |
|
levlam
|
504ecbeed7
|
Fix group call participant count by updates.
|
2021-03-18 23:31:49 +03:00 |
|
levlam
|
93ae3dc2f6
|
Improve logging.
|
2021-03-18 23:18:16 +03:00 |
|
levlam
|
0a23e2bd7b
|
Fix CHECK.
|
2021-03-18 22:55:15 +03:00 |
|
levlam
|
110a68c764
|
Try to get information about min-participants from server.
|
2021-03-18 22:36:59 +03:00 |
|
levlam
|
fee3ca166b
|
Apply prepended my_participant.
|
2021-03-18 22:03:14 +03:00 |
|
levlam
|
25e5c0bac2
|
Combine versioned updates with the same version instead of replacing.
|
2021-03-18 03:21:43 +03:00 |
|
levlam
|
e072f2ffa2
|
Add struct PendingUpdates.
|
2021-03-18 03:12:52 +03:00 |
|
levlam
|
b833d23e41
|
Support ascending by joined_date sort of group call participants.
|
2021-03-18 02:36:31 +03:00 |
|
levlam
|
1139470bba
|
Pass GroupCallParticipants to get_real_participant_order.
|
2021-03-17 19:56:00 +03:00 |
|
levlam
|
ccc9920399
|
Don't create Dialog for unknown min-participants.
|
2021-03-17 15:26:36 +03:00 |
|
levlam
|
ca6ece6707
|
Improve getGroupCallStreamSegment.
|
2021-03-17 14:30:51 +03:00 |
|
levlam
|
7e45fc3949
|
Add more close_flag checks.
|
2021-03-17 03:28:07 +03:00 |
|
levlam
|
2162fd6264
|
Postpone checkGroupCall after receiving a stream segment.
|
2021-03-17 03:16:34 +03:00 |
|
levlam
|
23b781834e
|
Fix updating recent speakers in joined as chats voice chats.
|
2021-03-17 02:56:33 +03:00 |
|
levlam
|
93a2cf0556
|
Fix updating participant_id_to_group_call_id_.
|
2021-03-16 23:23:05 +03:00 |
|
levlam
|
2e447b3cea
|
Don't process after_join requets if need rejoin.
|
2021-03-16 18:15:10 +03:00 |
|
levlam
|
c67a8cc5f9
|
Unify variable names and ensure that groupCallParticipant's chat is created.
|
2021-03-16 18:07:17 +03:00 |
|
levlam
|
582f033a09
|
Update limit for group call recording titlw length.
|
2021-03-16 17:20:53 +03:00 |
|
levlam
|
3bcf4bb61a
|
Get group call from the server before first usage if appropriate.
|
2021-03-16 17:17:00 +03:00 |
|
levlam
|
62c9890bcf
|
Support url_auth_domains.
|
2021-03-16 01:29:54 +03:00 |
|
levlam
|
54b9760935
|
Improve getExternalLink methods.
|
2021-03-16 00:52:37 +03:00 |
|
levlam
|
eb7a1286ab
|
Automatically update order of inactive group call participants.
|
2021-03-15 22:04:11 +03:00 |
|
levlam
|
24535d2aba
|
Support different order of group call participants for administrators.
|
2021-03-15 19:32:33 +03:00 |
|
levlam
|
0a4f1c15b8
|
Ensure that group call participant is synchronized after explicit request.
|
2021-03-15 19:20:57 +03:00 |
|
levlam
|
b0aa14c031
|
Improve get_real_participant_order.
|
2021-03-15 18:58:31 +03:00 |
|
levlam
|
7987912230
|
Use string as groupCallParticipant.order.
|
2021-03-15 18:53:51 +03:00 |
|
levlam
|
be68cda22f
|
Add class GroupCallParticipantOrder.
|
2021-03-15 18:32:28 +03:00 |
|
levlam
|
ff3600b762
|
Sync group call participants after rights changed.
|
2021-03-15 17:48:18 +03:00 |
|
levlam
|
95391dc705
|
Improve logging.
|
2021-03-15 16:42:03 +03:00 |
|
levlam
|
ffc07304a9
|
Improve searchMessages documentation.
|
2021-03-15 15:17:23 +03:00 |
|
levlam
|
0339921102
|
Improve some spelling.
|
2021-03-15 03:32:14 +03:00 |
|
levlam
|
b9f7668b07
|
Allow to always get self group call participant by user_id.
|
2021-03-15 02:15:01 +03:00 |
|
levlam
|
42911b9122
|
Add source to process_group_call_after_join_requests.
|
2021-03-15 02:03:52 +03:00 |
|
levlam
|
e2ac80f2ba
|
Add td_api::toggleGroupCallParticipantIsHandRaised.
|
2021-03-15 01:56:59 +03:00 |
|
levlam
|
a4431b2604
|
Don't allow to show as speaking muted by admin participants.
|
2021-03-14 04:33:51 +03:00 |
|
levlam
|
4d754052e0
|
Fix getGroupCallStreamSegment.
|
2021-03-13 16:50:11 +03:00 |
|
levlam
|
92b384f3f4
|
Update group call title length limit.
|
2021-03-13 02:49:40 +03:00 |
|
levlam
|
9ac71272a3
|
Support joining group call as a stream listener.
|
2021-03-12 20:11:44 +03:00 |
|
levlam
|
a833d5e292
|
Improve method name.
|
2021-03-12 19:31:52 +03:00 |
|
levlam
|
0ec4c2084e
|
Add td_api::getGroupCallInviteLink.
|
2021-03-12 19:29:06 +03:00 |
|
levlam
|
73bed3ed80
|
Add resetGroupCallInviteHash method.
|
2021-03-12 18:58:43 +03:00 |
|
levlam
|
9bfd98c08d
|
Add joinGroupCall.invite_hash.
|
2021-03-12 18:36:55 +03:00 |
|
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 |
|