Andrea Cavalli
|
e8c9db61d0
|
Merge remote-tracking branch 'td/master'
|
2021-07-02 13:52:51 +02:00 |
|
Andrea Cavalli
|
33e6fde5b1
|
Clean leaking pending photos map
|
2021-07-02 13:49:43 +02:00 |
|
levlam
|
24e5803b96
|
Update version to 1.7.5.
|
2021-07-02 03:30:39 +03:00 |
|
levlam
|
bed2650b4c
|
Fix secret chat creation.
|
2021-07-02 03:25:09 +03:00 |
|
levlam
|
aeffb5bbff
|
Ignore RESET_REQUEST_MISSING error.
|
2021-07-01 03:06:44 +03:00 |
|
levlam
|
6b57121e25
|
Improve method name.
|
2021-06-30 19:49:52 +03:00 |
|
Andrea Cavalli
|
d5035deb93
|
Fix compilation issues
|
2021-06-30 13:55:52 +02:00 |
|
Andrea Cavalli
|
c41ec7df43
|
Merge remote-tracking branch 'td/master'
|
2021-06-30 13:31:50 +02:00 |
|
levlam
|
0ad668fc76
|
Don't try to load from server secret chat messages.
|
2021-06-29 17:22:12 +03:00 |
|
levlam
|
158dd22f21
|
Add td_api::declinePasswordReset.
|
2021-06-29 05:24:55 +03:00 |
|
levlam
|
12383ea1d2
|
Add td_api::resetPassword.
|
2021-06-29 05:16:48 +03:00 |
|
levlam
|
36e874304f
|
Add pending_reset_date to passwordState.
|
2021-06-29 01:52:09 +03:00 |
|
levlam
|
18caf96c54
|
Add checkPasswordRecoveryCode.
|
2021-06-28 23:47:54 +03:00 |
|
levlam
|
709afe3f0c
|
Add checkAuthenticationPasswordRecoveryCode.
|
2021-06-28 22:33:08 +03:00 |
|
levlam
|
1394d5d697
|
Support new_password in recoverAuthenticationPassword.
|
2021-06-28 21:36:54 +03:00 |
|
levlam
|
b35faee529
|
Add NewPasswordState struct.
|
2021-06-28 21:03:17 +03:00 |
|
levlam
|
3c400f12b4
|
Support new_password in recoverPassword.
|
2021-06-28 19:47:23 +03:00 |
|
levlam
|
ab2223b034
|
Add PasswordManager::get_password_input_settings.
|
2021-06-28 19:24:44 +03:00 |
|
levlam
|
f210906dca
|
Support updateBotCommands.
|
2021-06-28 18:32:29 +03:00 |
|
levlam
|
da2d81c81b
|
Update layer to 131.
|
2021-06-28 15:55:11 +03:00 |
|
levlam
|
12ae67a64f
|
Don't try to schedule getDifference if unauthorized.
|
2021-06-27 06:02:58 +03:00 |
|
levlam
|
2b7b6b7759
|
Improve logging on log out.
|
2021-06-27 05:52:43 +03:00 |
|
levlam
|
9664181d48
|
Improve log messages.
|
2021-06-27 04:36:06 +03:00 |
|
levlam
|
50a8e66965
|
Improve error messages.
|
2021-06-26 04:20:59 +03:00 |
|
levlam
|
eb134b02f2
|
Improve error messages.
|
2021-06-25 21:21:17 +03:00 |
|
levlam
|
50d2d0ff00
|
Don't init last_new_message_id with max_unavailable_message_id.
The message with last_new_message_id must be the latest existing server message,
after which all messages will be received through updates.
|
2021-06-25 03:26:59 +03:00 |
|
levlam
|
4c49acc440
|
Explicitly use mentioned function instead of a comment.
|
2021-06-24 23:17:13 +03:00 |
|
levlam
|
f8f03db0ce
|
Improve error message.
|
2021-06-24 23:11:23 +03:00 |
|
levlam
|
5c622801f6
|
Expect no access to message sender chat.
|
2021-06-24 22:13:57 +03:00 |
|
levlam
|
53f0be4fca
|
Improve error messages.
|
2021-06-24 22:13:11 +03:00 |
|
levlam
|
de679f8f0c
|
Improve documentation.
|
2021-06-24 20:09:10 +03:00 |
|
levlam
|
388e743c56
|
Export td_set_log_fatal_error_callback as deprecated.
|
2021-06-23 23:45:15 +03:00 |
|
levlam
|
7bf14a2405
|
Ban only for 60 seconds if unbanning is planned.
|
2021-06-23 15:40:24 +03:00 |
|
levlam
|
df12ea836b
|
Create sender_dialog_id if possible.
|
2021-06-23 13:11:05 +03:00 |
|
levlam
|
bb252ab8ed
|
tg_cli: don't reply to outgoing /start messages.
|
2021-06-23 13:10:20 +03:00 |
|
levlam
|
9628668def
|
Minor improvements.
|
2021-06-23 03:22:23 +03:00 |
|
levlam
|
ebbc929efb
|
Fix video pausing.
|
2021-06-22 19:39:21 +03:00 |
|
levlam
|
d0f0e8dbcf
|
Fix presenation pausing.
|
2021-06-22 18:38:04 +03:00 |
|
levlam
|
e9ec4559e1
|
Fix saving ReplyMarkup placeholder.
|
2021-06-22 18:34:39 +03:00 |
|
levlam
|
e1237c15a0
|
Update layer number.
|
2021-06-22 16:11:54 +03:00 |
|
Andrea Cavalli
|
073b50f5a9
|
Bugfix
|
2021-06-22 12:58:46 +02:00 |
|
Andrea Cavalli
|
c0842ba9d3
|
Clean public dialogs only if needed
|
2021-06-22 12:17:55 +02:00 |
|
levlam
|
786c8c5f9a
|
Update layer to 130. Support input field placeholder in reply markup.
|
2021-06-19 05:20:27 +03:00 |
|
levlam
|
79530d6a55
|
Improve bot commands methods implementation.
|
2021-06-22 04:34:29 +03:00 |
|
levlam
|
9b85516cfd
|
Move bot command handling functions to BotCommand.cpp.
|
2021-06-22 04:25:15 +03:00 |
|
levlam
|
e8b32d9b05
|
Add td_api::deleteCommands.
|
2021-06-22 04:17:44 +03:00 |
|
levlam
|
7e543cf80b
|
Allow to use uploadStickerFile for animated stickers.
|
2021-06-21 22:25:26 +03:00 |
|
levlam
|
337dbc86d9
|
Remove class BotInfo.
|
2021-06-21 04:30:02 +03:00 |
|
levlam
|
9940dd74db
|
Remove botInfo class from API.
|
2021-06-21 04:14:29 +03:00 |
|
levlam
|
1904aa77b1
|
Add bot_commands to *Full.
|
2021-06-21 04:01:13 +03:00 |
|
levlam
|
5f9fd502b7
|
Replace botInfo with commands in userFullInfo.
|
2021-06-21 02:36:04 +03:00 |
|
levlam
|
f165429143
|
Add classes BotCommand and BotCommands.
|
2021-06-21 02:08:11 +03:00 |
|
levlam
|
37d10c0be4
|
Add bot_user_id to botCommands.
|
2021-06-21 01:32:29 +03:00 |
|
levlam
|
d9dc6f875d
|
Move bot description from BotInfo to UserFull.
|
2021-06-21 01:12:34 +03:00 |
|
levlam
|
f9a5eae94c
|
Improve log message.
|
2021-06-20 03:13:40 +03:00 |
|
levlam
|
ca7c1e5ada
|
Dump network queries from oldest to newest.
|
2021-06-20 03:05:58 +03:00 |
|
levlam
|
1202d55e27
|
Add getCommands method.
|
2021-06-19 04:18:02 +03:00 |
|
levlam
|
62a543cb35
|
Add BotCommandScope to setCommands.
|
2021-06-19 04:00:23 +03:00 |
|
levlam
|
16f52b59ab
|
Add createNewStickerSet.source.
|
2021-06-18 18:45:57 +03:00 |
|
levlam
|
cec785022a
|
Update layer 129.
|
2021-06-18 18:26:11 +03:00 |
|
levlam
|
9440925711
|
Move some classes inside corresponding managers.
|
2021-06-18 03:06:20 +03:00 |
|
levlam
|
ed7a7e5eaf
|
Check UTF-8 correctness of strings before adding them to Hints.
|
2021-06-17 23:29:13 +03:00 |
|
levlam
|
843df9e1f7
|
Remove unneeded td_api::getGroupCallMediaChannelDescriptions.
|
2021-06-17 21:37:39 +03:00 |
|
levlam
|
84cf82583e
|
Add td_api::checkStickerSetName.
|
2021-06-17 21:29:07 +03:00 |
|
levlam
|
706647bdbc
|
Add the method getSuggestedStickerSetName.
|
2021-06-17 20:38:03 +03:00 |
|
levlam
|
4048e5ae95
|
Enable createNewStickerSet for regular users.
|
2021-06-17 20:14:48 +03:00 |
|
levlam
|
8730e92d7c
|
Use limit 1 in the first channel difference request.
|
2021-06-16 05:25:44 +03:00 |
|
levlam
|
a36266a764
|
Add BinlogKeyValue logging.
|
2021-06-16 05:23:22 +03:00 |
|
levlam
|
d069de6a8b
|
Drop channel pts in inaccessible channels.
|
2021-06-16 02:54:17 +03:00 |
|
levlam
|
090056f21d
|
Allow to set empty group call title.
|
2021-06-15 20:56:59 +03:00 |
|
levlam
|
1e8724127a
|
Add cache of channel participants for bots-administrators.
|
2021-06-12 23:53:14 +03:00 |
|
levlam
|
6f51690275
|
Add ContactsManager::on_get_channel_participant.
|
2021-06-11 20:02:49 +03:00 |
|
levlam
|
3941144700
|
tg_cli: fix FileLog opening.
|
2021-06-11 17:04:00 +03:00 |
|
levlam
|
c1db660d4a
|
Add suggestedActionCheckPassword.
|
2021-06-11 02:48:10 +03:00 |
|
levlam
|
c4dab736c9
|
Add suggestedActionCheckPhoneNumber support.
|
2021-06-11 02:13:46 +03:00 |
|
levlam
|
411d30e1c7
|
Remove Td::on_channel_unban_timeout proxy.
|
2021-06-10 21:56:05 +03:00 |
|
levlam
|
138535ccf8
|
Store multiple local backgrounds.
|
2021-06-10 18:58:19 +03:00 |
|
levlam
|
64df3b4b3c
|
Remove unneeded add_local_background method and allow non-default installed backgrounds without file.
|
2021-06-10 04:55:58 +03:00 |
|
levlam
|
75fc042e09
|
Replace add_fill_background with add_local_background.
|
2021-06-10 04:44:39 +03:00 |
|
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 |
|